LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 04-30-2006, 03:46 PM   #1
billvolz
LQ Newbie
 
Registered: Apr 2006
Posts: 2

Rep: Reputation: 0
grub with PATA/SATA Windows FC5


I am having trouble getting grub to work properly. It works fine when I boot from the floppy. Here's what I have:
Primary IDE : old windows install - want to ignore this
Secondary IDE : Fedora Core 5
SATA 1 and 2 : mirrored drives using nvidia raid. This should show up as (hd2) for grub. When in Linux, both /dev/sd[ab] appear and also dm-1 through dm-10 which are the paritions on the mirror drives. Right now I don't want to mount the windows parititon on Linux - need to get it to boot first.
Boot order is normal, Primate ide, sec ide, Sata raid.
When it boots from the hard drive, it fails in stage1.5 with a error 17.
Here's the grub.conf file from /boot/grub on hd1

default=0
timeout=10
splashimage=(hd1,0)/grub/splash.xpm.gz
hiddenmenu
title WinXp
rootnoverify (hd2,0)
chainloader +1
title Fedora Core (2.6.16-1.2096_FC5)
root (hd1,0)
kernel /vmlinuz-2.6.16-1.2096_FC5 ro root=LABEL=/ rhgb quiet selinux=0
initrd /initrd-2.6.16-1.2096_FC5.img

It doesn't get far enough to load this file. In grub, I did this:
root (hd1,0)
setup (hd2)

No errors were reported.

What am I doing wrong.

It tries to boot and then fails in stage1.5. I've wasted a perfectly good Sunday on this - it has to be an easy fix.

This was from an upgrade from FC4 to FC5. I also updated the device.map and it is this:
(fd0) /dev/fd0
(hd0) /dev/hda
(hd1) /dev/hdb
(hd2) /dev/sda
(hd3) /dev/sdb

Also once it sees the grub.conf file, will I need to map hd2 to hd0 to get windows to boot?

Thanks,
 
Old 05-01-2006, 02:42 PM   #2
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Hopefully this will go some of the way to helping. The key is in the mappings, because Windows needs to think it's on the first hdd.


http://www.linuxquestions.org/questi...d.php?t=439864
 
Old 05-09-2006, 07:01 PM   #3
DaveG
Member
 
Registered: Nov 2001
Location: London, UK
Distribution: Fedora
Posts: 161

Rep: Reputation: 43
Should it be "setup (hd0)" from GRUB boot floppy?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SATA detected, but PATA not bioboi69 Linux - Hardware 0 10-23-2005 07:19 AM
Windows on (Sata) Raid 0, linux on PATA ganja_guru Linux - Hardware 6 06-21-2005 02:19 AM
PATA with SATA cherif Linux - Hardware 3 12-08-2004 01:38 PM
FC2 Boot with PATA and SATA chinkai80 Fedora - Installation 0 08-02-2004 10:17 PM
Boot WinXP (on SATA) from GRUB (on PATA?) sbixby Linux - Newbie 3 04-30-2004 10:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 04:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration