After recent discussion here on how to migrate to a new disk I got around to doing it myself tonight and though a brief report my be of interest.
I've got a rh7.3 system and moving from a 20gb to a 40gb disk. I went for the route of fdisking partitions on the new disk to replicate what they were on the old and then used cp -a to move the data across for the boot and main partitions. So far so good. About 16gb of data so it took a while to copy. Got a bit stuck on lilo however. I'd been doing the disk copy from a linuxcare boot cd and then went to update lilo and came up with 'Map sector too big'. Google told me this can occur when you run an older version of lilo on a system that has run a newer version. I rebooted with my rh8.0 install cd in rescue mode and used the lilo in /sbin/ on my main partition. That got me a bit further but again I got an error, cannot create /boot/boot.03. Despite editing the map, install and kernal location lines in lilo.conf to reflect the temporary mounted fs, lilo was stuck trying to write a file to /boot. I remounted hda1 to /boot, re-edited lilo.conf accordingly and finally lilo ran ok and I am now booted to my new disk. -=-=-==-=-=--=-=-=-=-=-=-=-=-=-=-=-= Graeme Robinson - Graenet consulting www.graenet.com - internet solutions -=-=-=-=-=-=-=-=-=-=-==---=-=--=-=-= -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
