Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
# 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/hda2
# initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
password --md5 $1$3J3OHsY.$q4MxwxRpcF1kOKV9UwnwO1
title Red Hat Linux (2.4.20-20.9)
root (hd0,0)
kernel /vmlinuz-2.4.20-20.9 ro root=LABEL=/ hdc=ide-scsi
initrd /initrd-2.4.20-20.9.img
title Windows XP
rootnoverify (hd1,1)
makeactive
map (hd0)(hd1)
map (hd1)(hd0)
chainloader +1
DEVICE.MAP
# this device map was generated by anaconda
(fd0) /dev/fd0
(hd0) /dev/hda
(hd1) /dev/hdb
The (hd1) at the end of the device map was added by me.
My grub.conf, and my device.map are listed above, and my hard drive setup looks correct, but it says the drive doesn't exist when I try to boot to windows.
Ok, thanks to all who helped, I succeeded. I tried many different options, and most of the editing was from the grub screen, not a text editor.. Then when I gave up, it said I had an error, so I re-booted, then when I selected XP it worked.
It has successfully booted back to RH9 (thank god!) but I have yet to check to see if it will again boot to XP.
here is my successful 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/hda2
# initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
password --md5 $1$3J3OHsY.$q4MxwxRpcF1kOKV9UwnwO1
title Red Hat Linux (2.4.20-20.9)
root (hd0,0)
kernel /vmlinuz-2.4.20-20.9 ro root=LABEL=/ hdc=ide-scsi
initrd /initrd-2.4.20-20.9.img
title Windows XP
rootnoverify (hd1,1)
makeactive
map (hd0) (hd1)
map (hd1) (hd0)
chainloader +1
well I spoke too soon, apparently it worked that once, and no more.
I guess the edits I did from the grub program didn't save themselves, and they self-destructed when it loaded Windows. I have tried all configurations again, and cannot duplicate what worked.
The files above are still current, and don't work.
If anyone can help, let me know, please.
Is there a way to run the config again, so it will detect my set up by itself, like it would have done in the beginning if my windows hard drive was connected when I installed?
If not, is there anyone who has 2 drives, win xp on the slave, and what is your grub.conf???
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.