un-dual boot XP & FC2 How do I correct the boot procedure?
Neither will boot separately. How do I fix this?
BACKGROUND I have 2 hardrives. hda is XP, and hdb is FC2, managed by Grub. I want to separate them. I bought drive trays, so when I want FC2, I put in FC2 tray. When I want XP, I put in XP tray. RESULT: not dual boot system.
QUESTION how do I correct the boot procedure?
WHAT I'VE TRIED I take out hdb (FC2) and boot hda XP only. I get:
"GRUB hard disk error"
I place FC2 as primary master and adjust jumper as master: " Booting from CD ROM <goes to next line and waits...forever> " So, I think that I need to re-write a mbr, but I'm out of my depth here. Any help appreciated.
Kate
__________________________________ Do you Yahoo!? Y! Messenger - Communicate in real time. Download now. http://messenger.yahoo.com
On Tue, 2004-08-31 at 16:02, kate wrote:
un-dual boot XP & FC2 How do I correct the boot procedure?
Neither will boot separately. How do I fix this?
BACKGROUND I have 2 hardrives. hda is XP, and hdb is FC2, managed by Grub. I want to separate them. I bought drive trays, so when I want FC2, I put in FC2 tray. When I want XP, I put in XP tray. RESULT: not dual boot system.
Put in the XP tray, and run the Windows rescue console from the CD. Choose the option to restore the MBR, and you should be able to boot from it.
Put in the FC2 tray. Boot from CD1 (or the DVD) and run `linux rescue`. When it asks, mount your system and `chroot /mnt/sysimage`. Change all of the entries in /etc/fstab that reference /dev/hdb to /dev/hda. Run `grub-install /dev/hda`. If you get no errors, reboot and voila ;o)
Forrest
Am Mi, den 01.09.2004 schrieb kate um 1:02:
un-dual boot XP & FC2 How do I correct the boot procedure?
Neither will boot separately. How do I fix this?
BACKGROUND I have 2 hardrives. hda is XP, and hdb is FC2, managed by Grub. I want to separate them. I bought drive trays, so when I want FC2, I put in FC2 tray. When I want XP, I put in XP tray. RESULT: not dual boot system.
QUESTION how do I correct the boot procedure?
WHAT I'VE TRIED I take out hdb (FC2) and boot hda XP only. I get:
"GRUB hard disk error"
I think the command is called "fixmbr" for WinXP. You should start from the Windows[tm] CD to run it.
I place FC2 as primary master and adjust jumper as master: " Booting from CD ROM
<goes to next line and waits...forever> " So, I think that I need to re-write a mbr, but I'm out of my depth here. Any help appreciated.
Boot with FC2 CD1 into rescue mode and install grub onto the drive. Run "chroot /mnt/sysimage" and "grub-install /dev/hda".
Kate
Alexander
On Tue, 2004-08-31 at 18:25, Taylor, ForrestX wrote:
On Tue, 2004-08-31 at 16:02, kate wrote:
un-dual boot XP & FC2 How do I correct the boot procedure?
Neither will boot separately. How do I fix this?
BACKGROUND I have 2 hardrives. hda is XP, and hdb is FC2, managed by Grub. I want to separate them. I bought drive trays, so when I want FC2, I put in FC2 tray. When I want XP, I put in XP tray. RESULT: not dual boot system.
Put in the XP tray, and run the Windows rescue console from the CD. Choose the option to restore the MBR, and you should be able to boot from it.
Put in the FC2 tray. Boot from CD1 (or the DVD) and run `linux rescue`. When it asks, mount your system and `chroot /mnt/sysimage`. Change all of the entries in /etc/fstab that reference /dev/hdb to /dev/hda. Run `grub-install /dev/hda`. If you get no errors, reboot and voila ;o)
Forrest
He also will need to modify /boot/grub/device.map and /boot/grub/grub.conf to point to the correct devices before he runs the grub-install.
From the description given device.map probably has mapping for hd0 and
hd1. The mapping for hd0 will need to point to the fc2 drive (/dev/hda) and remove the mapping for hd1.
Then in grub.conf change everything that points to hd1 to point to hd0 instead.
Am Mi, den 01.09.2004 schrieb Jeff Vian um 2:37:
He also will need to modify /boot/grub/device.map and /boot/grub/grub.conf to point to the correct devices before he runs the grub-install.
From the description given device.map probably has mapping for hd0 and
hd1. The mapping for hd0 will need to point to the fc2 drive (/dev/hda) and remove the mapping for hd1.
Then in grub.conf change everything that points to hd1 to point to hd0 instead.
Yes! Important, and I did miss that point in my answer too.
Maybe partitions named in the /etc/fstab have to be changed too. Where partitions labels are used all is fine. Entries pointing to /dev/hdb have to be changed. All to be done in rescue mode from Fedora CD1.
Alexander