FedoraThis forum is for the discussion of the Fedora Project.
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 a SATA drive(MAXTOR120GB) and PATA(WD40GB)@Primary Master.
BIOS boot sequence is set PATA first.
Currently I installed FC2 on PATA 40GB and grub loads FC2 fine(everything runs great), however if I choose XP boot option it just freezes...
but if I change boot sequence to SATA first then XP loads fine but of course it completely ignore the existence of FC2/grub...
I am just wondering how should I config it properly so grub work the way it suppose to? here is a listing.
Thank You
# 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,5)
# kernel /vmlinuz-version ro root=/dev/hda7
# initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=10
splashimage=(hd0,5)/grub/splash.xpm.gz
title Fedora Core (2.6.5-1.358smp)
root (hd0,5)
kernel /vmlinuz-2.6.5-1.358smp ro root=LABEL=/ rhgb quiet
initrd /initrd-2.6.5-1.358smp.img
title Fedora Core-up (2.6.5-1.358)
root (hd0,5)
kernel /vmlinuz-2.6.5-1.358 ro root=LABEL=/ rhgb quiet
initrd /initrd-2.6.5-1.358.img
title Windows XP
rootnoverify (hd0,4)
chainloader +1
I don't think it's the partition table problem. Windows XP still boots fine if I adjust my boot sequence to look for the SATA drive first. No data loss. Maybe grub is not pointing to the right drive for XP..I dunno.
Here is my grub.conf. I have Windows XP installed on the primary harddrive on the first partition(hd0,0). Then I have FC2 installed on the second harddrive on the first partition(hd1,0).
#boot=/dev/hda
default=1
timeout=10
splashimage=(hd1,0)/grub/splash.xpm.gz
title Fedora Core (2.6.6)
root (hd1,0)
kernel /vmlinuz-2.6.6 ro root=LABEL=/ rhgb
initrd /initrd-2.6.6.img
title Fedora Core (2.6.5-1.358)
root (hd1,0)
kernel /vmlinuz-2.6.5-1.358 ro root=LABEL=/ rhgb
initrd /initrd-2.6.5-1.358.img
title Windows XP Professional
rootnoverify (hd0,0)
chainloader +1
Did you install FC2 & Windows XP in the same hard drive? That's what it looks like from looking at your grub.conf.
You may have to figure out what OS is in what drive then change your root (hdx,x)
This is where the application sfdisk comes to the rescue. Sfdisk can be very powerful in
non-interactive mode, it can output information that can be used as input
elsewhere, and it can accept data as input at run-time. This makes sfdisk
ideal for this solution because you can ask it to read the partition table
and deliver the result in a way that itself can write back when you tell it
to change your drive geometry. This makes the process fast and less prone
to human error as very few values need to be supplied. The solution can be
summed up in a single line with two commands:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.