On 2007/08/23 21:58 (GMT+0800) Zhang Weiwu apparently typed: > After installed additional 320GB harddisk to my desktop computer which > used to have OpenSuSE 10.2 installed on single harddisk (80GB), > naturally I prefer using the new and fast harddisk for '/' and use the > old and slow harddisk for data only (e.g. /var)
> So, using fdisk I preserved space for '/' on the new harddisk, and use > 'rsync -ravxD' to move all data from old '/' to the new partition on new > harddisk. Next step is to make the new harddisk bootable, I did by > running: > # grub >> root (hd1,1) >> setup (hd1) >> quit > Then I set hd1 to be the booting harddisk in my BOIS settings. Reboot. I > didn't see the usual grub booting process, I see some random ascii code > displayed on screen, ending with a smiling face, and stops there. > I thought it should be simple: 1) copy everything to the new partition > on new harddisk (I did with rsync) and 2) make it bootable. > Did I miss anything? I think there may be 3 problems here: 1-I don't see any step that caused hd1,1 to become an active partition 2-I don't see any step that caused hd1 to contain boot code in the MBR 3-setting the BIOS to make hd1 the boot device ahead of hd0 effectively transforms hd1 into hd0, and hd0 into hd1. If you can get so far as a grub prompt, you may need to use the map command as described on http://www.gnu.org/software/grub/manual/grub.html#map http://www.togaware.com/linux/survivor/Upgrade_Hard.html , http://en.tldp.org/HOWTO/Hard-Disk-Upgrade/ and http://mrmazda.no-ip.com/partitioningindex.html should be helpful. -- " It is impossible to rightly govern the world without God and the Bible." George Washington Team OS/2 ** Reg. Linux User #211409 Felix Miata *** http://mrmazda.no-ip.com/ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
