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.
Just installed Fedora Core 2 on my machine and it still boots straight to Windows XP (GRUB does not load). My system setup is as follows: Windows XP is on a SATA hd w/ 4 partitions (swap, system, proggies, data), Fedora is installed on a seperate ata133 hd. I know that the Fedora installation did not recognize my sata drive during the install process so I assume this is where my problem lies. If I am not mistaken, the MBR would be on the SATA drive since it is where I installed Win XP when the machine was brand new. Fedora Core 2 installation does not give you the option to boot from floppy. What can I do to get this thing to be in th position to dual-boot w/ GRUB or get Fedora booted up at all?
I have a setup that is similar to the one you've discussed here. I have Windows XP installed on a serial ATA drive attached to the Promise SATA/RAID controller (PDC 20376). Fortunately upon installation of Fedora Core 2, it loaded the driver sata_promise so Grub was able to see the Windows installation. The reason you are probably not seeing grub at all is because it is installed to the MBR of the ata133 drive with the rest of your Linux install. In your BIOS, whether you realize it or not there is a boot order at which your computer looks to boot your machine. If the SATA controller is listed above the normal PATA controller you will only be able to boot Windows because it is whats installed to the MBR of the SATA drive. If you change the order so the machine looks at the PATA controller first, you should see GRUB at startup instead, but you will only be able to get into Linux, because without the SATA driver installed in Linux it won't see the Windows XP installation. Recommended steps to solve the problem:
(1) Make sure you can still boot into Fedora Core 2 by changing the boot order in the BIOS, IE make PATA controller first.
(2) Find and install the Linux Driver for your SATA/RAID controller so that Linux can at least see the windows partitions
(3) Modify the GRUB.conf file to add Windows as one of the options so the Windows option looks like the following (just an example from my machine)
title Windows XP Professional
rootnoverify (hd2,0)
makeactive
chainloader +1
map (hd0) (hd2)
map (hd2) (hd0)
Here hd2 should be in the /boot/grub/device.map file and it should refer to the first drive SATA drive (/dev/sda) the number 0 in root (hd2,0) should refer to the partition on the SATA on which the windows system files are installed.
Hopefully this is of some help.
Yeah.....I already tried to do that to no avail. When it tries to boot from that drive it looks like this:
L 9A 9A 9A 9A 9A 9A 9A 9A 9A 9A 9A 9A 9A 9A 9A 9A 9A 9A 9A 9A 9A 9A 9A 9A 9A 9A 9A 9A 9A................this continues on for five or six lines.
Could this be due to the fact that when I installed Fedora I chose to install the boot loader to the root partition instead of the MBR for that drive? Any suggestions of what I could try next short of re-installing (I chose "custom" "everything" and it took forever)?
If you have the install disks, go into the rescue mode on the disks... then chroot /mnt/sysimage so you can edit your actual system. Then type grub-install /dev/hda. This should install grub to the actual MBR of the PATA disk that you have linux installed on. Thats the only suggestion I have.
this is an old post but I came here from keyword sata for my research.
firstly if you are still tracking this post it appears GRUB does not handle hardware raid.
2) however if your boot order was ide sata1 sata2
then your menu file mentioning hd2 refers to sata2 and you need hd1 to get to sata1 different from above
try
title Windows
rootnoverify (hd1,0)
hide (hd0,0) ########or whatever your linux / boot partition is on. if you have no separate /boot partition its your / partiton
unhide (hd1,0) (sata 1 first partition)
map (hd0) (hd1)
map (hd1) (hd0)
makeactive
chainloader +1
and your device.map file (if exists) needs to be
(hd0) /dev/hda
(hd1) /dev/sd0
(hd2) /dev/sd1
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.