Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Ok here is the thing, I have 2 hdd one with windows 2000 (slave) and the other with redhat 9 (master). I use grub as my bootloader, but I can't get grub to boot to windows 2000. I have been reading on this a lot and I can't find a clear answer that I can actually understand. When I try to boot to win2000 from grub it says something like chainloader +1 ... Anyway any help or references will be greatly appreciated!!!
Ok not sure whats wrong now. I changed the grub.conf exactly as mentioned above. Now I don't get the chainloader error thing anymore. If I choose win2000 at the grub menu it just flashes the screen and goes black for a few seconds like its going to boot then goes right back to the grub menu. HELP!
Ok everyone here is my grub.conf file and all its failing glory!
I should note that rh9 is set to master and win2000 is set to slave on the same ide cable.
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/hda3
# initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
title Red Hat Linux (2.4.20-8)
root (hd0,0)
kernel /vmlinuz-2.4.20-8 ro root=LABEL=/ hdc=ide-scsi
initrd /initrd-2.4.20-8.img
#boot=/dev/hdb1
title Windows2000
rootnoverify (hd1,0)
chainloader +1
makeactive
Ok I am not sure what you mean by expecting to be on the c drive. However, yes when I am in win2000 it is on the C drive so I am not sure if that is what you mean. Also in your grub.conf can someone explain to me the map stuff and the extras in the file I am clueless. Also thanks again!
The way Windows works A: is the first floppy B: is the second
C: is the first Hardisk Partition. So if Windows Expects to be on C: Then when you kickstart its bootloader (ntldr) It expects to find the rest of windows on C. Which obviously there not.
title <- What Appears in the Menu
rootnoverify <- This is where where going to boot No verify so Grub knows its not a format it'll understand (like Linux or BSD)
makeactive <- This says activeate the Disk
map <- Make the bios point here instead of here (its a trick so the bios reports what we want)
chainloader +1 <- Boot the partitions loader file (Hence where using one bootloader to activate another chain loading)
Ok thanks a lot for the explanation of the stuff used in your grub.conf. I tried the map stuff like you had and I got a new problem. It seems I am getting closer now though. When I chose windows this time it said "unrecognized string" or something to that effect. Here is the current grub.conf:
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/hda3
# initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
title Red Hat Linux (2.4.20-8)
root (hd0,0)
kernel /vmlinuz-2.4.20-8 ro root=LABEL=/ hdc=ide-scsi
initrd /initrd-2.4.20-8.img
#boot=/dev/hdb1
title Windows2000
rootnoverify (hd1,0)
makeactive
map (hd0)(hd1)
map (hd1)(hd0)
chainloader +1
Ok sorry about the last post you guys are genious! After a more careful look into my grub.conf file I noticed that on the map commands there should be a space between the two pairs of parentheses and I didn't have it there. Well win2000 booted up like a charm!! Thank you soo much everyone and again thanks for the explanation of the commands and the grub link.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.