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

Re: cloning a system to another partition - what to change?



On 01:47 Wed 19 Oct     , SpamHog wrote:
> I am cloning a 1-partition system (3.1/i386)
> from /dev/hda5 to /dev/hda6,
> and intend to install grub in that partition.
> No need to change drivers, etc. - *only* the root device.
> 
> 
> 
> I already did the following:
> 
> - copied all files in the / tree to a filesystem on /dev/hda6
> 
> - amended /etc/fstab to mount /dev/hda6 on /
> 
> - amended /boot/grub/menu.lst to have (hd0,5) as root
>   	root=(hd0,5)
> 	kernel=/boot/vmlinuz-2.6.8-2-686 root=(hd0,5)
> 
root=(hd0,5) points grub to load the kernel from /dev/hda6
but the next line should have root=/dev/hda6 as the new root file system





Reply to: