Re: Transferring system to new drive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Tue, 2010-09-14 at 13:12 +0100, Timothy Murphy wrote:
> Is there a document with instructions for this?
> I've had smartd warnings that a hard disk in my server is sick,
> so I am installing a new drive (in addition to the old).
> 
> I was thinking of copying the old root partition with
> 	sudo cp -a -P /* /mnt/hd
> (after mounting the prospective new root partition).
> Then I'd have to modify the new /etc/fstab .
> 
> Is that a sensible approach?
> 
If your partitions are LVM then you could just migrate them from drive
to the other, exceptions of course would be /boot, non LVM swap.

You would then also have to install grub on the new disk.

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux