Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's 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.
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.
I have just recently installed Fedora Core 2.
I have two Hard Drives in my machine,
1st Hard Drive hosts Windows XP (on first Partition, second partition for data only)
2nd Hard Drive hosts Linux Fedora Core 2 (on first Partition)
I have Linux booting fine, thanks to Grub. However, I am now unable to boot to my Windows OS.
Can someone please write out the exact info that should be placed into Grub.conf for me to be able to boot to both Linux and Windows XP.
I have looked on some forums and attempted re coding but when I try and boot - I cannot boot to Windows XP.
It would be great if someone could write out the exact code for me that will make it work, and be able to boot to both partitions/OSs.
I tried the code sugested - got an error when trying to boot : error 11 invalid drive string
Here is the a copy of 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 (hd1,0)
# kernel /vmlinuz-version ro root=/dev/hdb2
# initrd /initrd-version.img
#boot=/dev/hda
Distribution: Fedora Core 2, DeLi Linux 0.6.1, Slackware 10.0
Posts: 105
Rep:
steve-lin
sorry, my mistake.
check the parenthesis on line 3 of the Win XP block and correct it as follow
Quote:
title Win XP
rootnoverify (hd0,0)
map (hd0) (hd1)
map (hd1) (hd0)
chainloader +1
the error #11 is
11 : Unrecognized device string
This error is returned if a device string was expected, and the
string encountered didn't fit the syntax/rules listed in the *Note
On your second post, I cannot see any difference in the code you suggested from your first post:
title Win XP
rootnoverify (hd0,0)
map (hd0) (hd1)
map (hd1) (hd0)
chainloader +1
??
Methuselah:
XP is on my primary Hard Drive (on first partition) you are correct.
I have tried your suggested code - I just got all the code on screen as text and nothing happened at all.
This is just turning into a nightmare, I fear I have ruined my Master Boot Record and will never be able to boot XP again without wiping the MBR and reinstalling Windows!! If anyone is able to provide me with some code to avoid this I will be eternally greatful!
It's probably the Fedora dualboot bug, go into bios and change the harddisk access mode from "Auto" to "LBA"
If for some reason you cant change it in bios, boot with the Fedora cd into rescue mode and enter the following command:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.