On Aug 23 2007 21:58, Zhang Weiwu wrote:
Hello.
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)
I usually prefer the fast disk for my data.. :)
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
-a implies -r and -D. I really suggest adding -AHX (giving a full picture of `rsync -AHPSXavx /old/ /new/`) to preserve ACLs, xattrs and hardlinks and do an efficient transfer with stats.
running: # grub
root (hd1,1) setup (hd1) quit
Then I set hd1 to be the booting harddisk in my BOIS settings.
Boom. Some BIOSes tend to swap the 0x80 and 0x81 drives. The popular VIA series for AMD K6 did that IIRC. If available, try using the BIOS boot menu rather than in-setup definable boot order.
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?
Thanks in advance! I am not good at these booting stuff and is learning.
If you cannot solve it in time, set the harddisks the way you want them (primary/secondary channel), change BIOS back to normal order, and use the rescue CD to rewrite grub. Jan -- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org