Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
grub problem (surprise! haven't found this one in the forum)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
themightychris
n00b
n00b


Joined: 26 Apr 2005
Posts: 9
Location: Philadelphia, PA

PostPosted: Sun Jan 29, 2006 10:15 am    Post subject: grub problem (surprise! haven't found this one in the forum) Reply with quote

This is 3rd or 4th gentoo install i've done, but my first problem with grub. This is my second try on this machine, same problem the first time, started fresh in between.


When I boot up I get:
Quote:

GRUB Loading stage1.5.
GRUB Loading stage1.5.
GRUB Loading stage1.5.
GRUB Loading stage1.5.
GRUB Loading stage1.5.
GRUB Loading stage1.5.
...


Well...you get the point, it prints that line until I cold boot it.

My system is a Tyan transport gt20 with an amd athlon 64 x2 4400+ processor. One of the things that makes this install different from all the others I've done is that the hard drive is at /dev/sda. It is 2 250GB sata hard drives setup with hardware raid mirroring.

My drive geometry:
Quote:

# fdisk -l

Disk /dev/sda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 5 40131 83 Linux
/dev/sda2 6 255 2008125 82 Linux swap / Solaris
/dev/sda3 256 30401 242147745 83 Linux


Disk /dev/sdb: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sdb doesn't contain a valid partition table


My grub.conf at the moment:
Quote:

default 0
timeout 10

#splashimage=(hd0,0)/boot/grub/splash.xpm.gz

title=Gentoo Linux
root (hd0,0)
kernel /boot/gentoo_x86_64 root=/dev/sda3


I installed grub with:
Quote:
grub-install /dev/sda


My /boot/grub/device.map:
Quote:
(hd0) /dev/sda



This is my second complete try with the exact same problem and i haven't been able to find anything like this on the net. Any help or hints will be GREATLY appreciated.

Actually something else I just noticed for the first time in the output of fdisk -l is that my two hard disks are being recognized seperatly, despite the fact that they are setup in my bios to be mirrored and that reports the array to be healthy. Sorry to have two sep questions in one thread, but any help on that would be appreciated too.

- Chris
Back to top
View user's profile Send private message
rsa4046
l33t
l33t


Joined: 07 Feb 2005
Posts: 660
Location: The Big H, a bit SSW

PostPosted: Sun Jan 29, 2006 1:08 pm    Post subject: Reply with quote

I'm no RAID expert, but doesn't fdisk provide for an autodetect RAID partition (fd) E.g.,
http://www.parisc-linux.org/faq/raidboot-howto.html. Could this be an issue?
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Sun Jan 29, 2006 1:15 pm    Post subject: Reply with quote

I'm not a RAID expert either. The error message you get means the GRUB code located on MBR cannot read next stage. Which - if I recall correctly - should be copied by grub-install somewhere on HDD after first sector outside of filesystem ...
I would temporarily disable the RAID and see if it works with plain single sda.
Back to top
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Mon Jan 30, 2006 6:29 pm    Post subject: Re: grub problem (surprise! haven't found this one in the fo Reply with quote

themightychris wrote:
One of the things that makes this install different from all the others I've done is that the hard drive is at /dev/sda. It is 2 250GB sata hard drives setup with hardware raid mirroring.

The problem is that you don't have hardware RAID. You have BIOS RAID (this is why "fdisk -l" shows your harddrives individually).

BIOS RAID is just setup a bit differently than hardware RAID, that is why GRUB did not get installed properly.


EDIT : search for "dmraid" on the forums.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum