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