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 recently installed FC3 on a 40G Drive on the primary IDE channel. On a separate Sata 74G i have XP. Upon installation of FC3 i accepted the GRUB default config. When i try to boot the XP partition it just spits out what is in the config file, like so:
rootnoverify (hd0,4)
chainloader +1
I was just messing with GRUB so the config file is now messed up but none of the options i've tried have worked, i followed the GRUB guide written here on the forums and tried some different configs with no luck.
I did the "cat (hd4,0)/[tab][tab]" and it read:
Error 17, Cannot mount selected partition
Further reading and i found this means the partition exists but the filesystem cannot be recognized by GRUB.
Is there a command i can type in the console to show my HDD setup so i can copy paste it here?
Thanks.
Current GRUB Config.
# 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,4)
# kernel /boot/vmlinuz-version ro root=/dev/hda5
# initrd /boot/initrd-version.img
#boot=/dev/hda
default=1
timeout=5
splashimage=(hd0,4)/boot/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.9-1.667)
root (hd0,4)
kernel /boot/vmlinuz-2.6.9-1.667 ro root=LABEL=/ rhgb quiet
initrd /boot/initrd-2.6.9-1.667.img
title Windows XP Home
rootnoverify (hd0,4)
chainloader +1
hiddenmenu
title Fedora Core (2.6.9-1.667)
root (hd0,4)
kernel /boot/vmlinuz-2.6.9-1.667 ro root=LABEL=/ rhgb quiet
initrd /boot/initrd-2.6.9-1.667.img
title Windows XP Home
rootnoverify (hd0,4)
chainloader +1
That won't work as you have it configured as Fedora and Windows both pointing to (hd0,4)
First off, I would comment out the hiddemenu part so you can see the boot menu like this....
#hiddenmenu
Now, as root user run the command: fdisk -l and post the results back here please.
Device Boot Start End Blocks Id System
/dev/sda1 * 1 9038 72597703+ 7 HPFS/NTFS
sda1 is the HDD with XP on it. Thanks.
Try this for the grub.conf
Code:
# 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,4)
# kernel /boot/vmlinuz-version ro root=/dev/hda5
# initrd /boot/initrd-version.img
#boot=/dev/hda
default=1
timeout=5
splashimage=(hd0,4)/boot/grub/splash.xpm.gz
#hiddenmenu
title Fedora Core (2.6.9-1.667)
root (hd0,4)
kernel /boot/vmlinuz-2.6.9-1.667 ro root=LABEL=/ rhgb quiet
initrd /boot/initrd-2.6.9-1.667.img
title Windows XP Home
rootnoverify (hd2,0)
map (hd2) (hd0)
map (hd0) (hd2)
makeactive
chainloader +1
I tried to boot XP from the install Disc but it couldn't recognize any boot instructions. I went into the repair console of the XP install and no boot partition was found.
Somehow GRUB has messed it all up. I have uninstalled FC3 and will re-install it later when i've done some more research.
Originally posted by Skandia I don't care how it looks i need it for Uni. I didnt expect accepting GRUB defaults would not let me boot back into XP.
Neither would I.
The fault is not you - nor grub.
Blame Fedora.
My previous comment was directed at your blaming of grub, not your being the victim of Fedora.
Grub is very robust - the Fedora installer seems significantly less so.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.