• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Dual boot problem

petrek

Senior member
I have a 30G WIndows 2000 master and a 60G RedHat Linux slave. When I installed Linux, for some stupid reason I put the boot loader on hda (beginning of windows 2000 drive) rather than hdb (beginning of Linux 7.3 drive). I'm using the boot loader GRUB, is there a quick fix to this problem? The problem being that I only have one operating system choice - RedHat Linux 7.3 instead of both.

Edit:

Well, I did what you said, and it gave me the option to load Windows 2000 Pro, but refused to load it. So I tried editing the command to (hd1,0) and then (hd0,1) but that just gave me errors. So I looked to see what else I might do, and in another post they link to an Anandtech faq on dual booting with Win2k and in that article it specifically says "Do Not" place the boot loader in the MBR (which is what I did) or you will most likely have to reinstall Win2k.
So figuring that I'd have to reinstall Win2k and all my software(ahhhh crap)...I stuck in the win2k disk and it gave me the option to repair, ah, hope. Well it recognized windows on drive c, so I typed "run" -bad command, tried "load" -bad command. Tells me to type "HELP" for valid commands, and after looking through them for a few minutes trying to find a version of run/load I notice a "fixroot" command. Type it. Reboot, and voila I'm in Win2k again.
Thanks underpaid 🙂
 
Ok, just boot into linux, and edit grub.conf under /etc. You need to make it look something like this. This configuration should work.
default=0
timeout=10
splashimage=(hd1,0)/grub/splash.xpm.gz
title Red Hat Linux (2.4.18-3)
root (hd1,0)
kernel /vmlinuz-2.4.18-3 ro root=/dev/hdb2 hdc=ide-scsi
initrd /initrd-2.4.18-3.img
title Windows 2000 Pro
rootnoverify (hd0,0)
chainloader +1

The important section to include is

title Windows 2000 Pro
rootnoverify (hd0,0)
chainloader +1

of course, the top part will not work unless you're using rh 7.3 most likely. You can change grub to boot win 2k automagically by changing default to 1 instead of 0.
 
Back
Top