Transfering OS from one drive to another.
I would like to copy my system from one drive (D1) to another (D2). D1 is master and D2 is slave on the first IDE channel. I'm using SuSE 8.2 and booting from the master boot record (MBR) using grub. I know how to copy the system files from D1 to D2 but how do I copy the grub information located on the MBR of D1. I plan on using the BIOS to boot from D2 which will need to have grub installed on its MBR. Any ideas? Terry -- SuSE Linux 8.2 (i586) ---- 2.4.20-4GB-athlon --- Wed 04/07/04 17:20 5:20pm up 3 days 6:10, 3 users, load average: 0.03, 0.12, 0.07 There are 10 types of people, those who know binary and those who don't
Terry Eck wrote:
I would like to copy my system from one drive (D1) to another (D2). D1 is master and D2 is slave on the first IDE channel. I'm using SuSE 8.2 and booting from the master boot record (MBR) using grub. I know how to copy the system files from D1 to D2 but how do I copy the grub information located on the MBR of D1. I plan on using the BIOS to boot from D2 which will need to have grub installed on its MBR. Any ideas?
Terry
Grub can write to the other disk without problems. As root enter grub and the following grub> device (hd0) /dev/hdb grub> root (hd0,0) grub> setup (hd0) This will add grub to the MBR of the second disk. I would then copy the default entry in menu.1st and change hda to hdb and name it something else. You should then be able to boot from the second disk and choose the new entry just created. Hope this helps -- Louis D. Richards LDR Interactive Technologies
participants (2)
-
Louis Richards
-
Terry Eck