Re: Transferring system to new drive

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



R P Herrold wrote:
> On Tue, 14 Sep 2010, Timothy Murphy wrote:
>
>> Could you offer a precise command for copying the system
>> from / to /mnt/hd , say?
>> Would one exclude /dev or /proc , for example?
>
> I've not updated this in years nor for a 2.6 kernel and
> grub, but the process is basically unchanged:
>  	http://www.owlriver.com/tips/rsync-cookbook/
>
> The only changes would be to manually make ./proc, ./sys, and
> ./dev  on the target device, to either run a recovery CD or
> grub at the command line to get the boot loader right
> [remember to edit /boot/grub/grub.conf ], and make sure the
> new /etc/fsttab matches your partitioning scheme

Ah, yes. Boot off a DVD or CD or USB key, run linux rescue, then chmod
/mnt/sysimage, and then run
$ grub-install /dev/<newdrivewithNOpartition>
For example,
$ grub-install /dev/sda

         mark

_______________________________________________
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