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.
About a month ago, i installed redhat 8.0 on my first drive, this cause the mbr to boot windows to be overwritten.I have winxp installed on my second drive. I have been booting into winxp from a bootdisk(takes some time compared to when it was in the mbr). I am using grub to boot into linux, i added winxp into the boot menu, for the second drive and the right parition, but this doesnt work. Can some one help boot into winxp from the grub menu, or if there is an easier way to do it please tell me. Thanks to who ever can help me.
What does your grub.conf look like. Grub passes off the loading process to XP by using a chainloader. This is what my grub.conf looks like:
# 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,1)
# kernel /vmlinuz-version ro root=/dev/hda3
# initrd /initrd-version.img
#boot=/dev/hda
#default=3
timeout=15
splashimage=(hd0,1)/grub/splash.xpm.gz
title Windows XP
rootnoverify (hd0,0)
chainloader +1
title Red Hat Linux (2.4.18-24.8.0)
root (hd0,1)
kernel /vmlinuz-2.4.18-24.8.0 ro root=LABEL=/ hdc=ide-scsi
initrd /initrd-2.4.18-24.8.0.img
I also have a dual boot WinXP and RedHat. Hope this helps.
well if i was to use the chainloader to boot into winxp wouldnt the mbr be overwritten so it would boot anyway. or does the chainloader link to winxp. im going into rehdat now to see what grub.conf looks like. ill be brb
here is the test from grub.conf
if there is something i need to change please tell me for example +1 chainloader if it lets the loader go over windows boot loader, how does it kno where to look for it, was it overwritten when i installed grub.
# Grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd0,0)
# kernel /boot/vmlinuz-version ro root=/dev/hda1
# initrd /boot/initrd-version.img
#boot=/dev/hda
default=0
timeout=10
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
title Red Hat Linux (2.4.18-24.8.0)
root (hd0,0)
kernel /boot/vmlinuz-2.4.18-24.8.0 ro root=LABEL=/ hdc=ide-scsi
initrd /boot/initrd-2.4.18-24.8.0.img
title Red Hat Linux (2.4.18-14)
root (hd0,0)
kernel /boot/vmlinuz-2.4.18-14 ro root=LABEL=/ hdc=ide-scsi
initrd /boot/initrd-2.4.18-14.img
title DOS
rootnoverify (hd0,4)
chainloader +1
title Windows XP
rootnoverify (hd1,0)
chainloader +1
Thanks for help born4linux, i changed the grub.conf and it worked most of the way, it said it was missing the ntldr, which i know to be the file taht tells the computer where to look to boot for winxp. i have a copy of ntldr in my bootdisk where do i put ntldr so that i can boot into xp.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.