Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Smart2 2.6.x grub - no drives shown
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
ak7
n00b
n00b


Joined: 02 Jan 2005
Posts: 52

PostPosted: Sun Jan 02, 2005 4:11 am    Post subject: Smart2 2.6.x grub - no drives shown Reply with quote

I'm having a spot of trouble getting grub configured on a new install.

System
Compaq Proliant 1850R
512meg Ram
Dual 550MHZ Pentium 3 processors
Smart 221 Array controller

Booting from 2004.3.r1 minimal

I believe there is an issue with device naming conventions and the Smart 2 series controlers. I have succesfully installed the 2.4 kernel using the guide located in these forums. The 2.6 kernel is a different beast.

Manually configuring grub:
grub >root ( {press tab, no drives show up}

grub>root (hd0,0)
Error 21: Selected Disk does not exist

It appears that grub can not find any of the drives

The array configures in fdisk as follows
p1 = boot
p2 = swap
p3 = Compaq System Utilitues
p4 = /

The contents of /dev/ida are
c0d0
c0d0p1
c0d0p2
c0d0p3
c0d0p4

I've tried /etc/fstab as follows:
/dev/ida/c0d0p1 /boot xfs
/dev/ida/c0d0p4 / reiserfs
/dev/ida/c0d0p2 swap

Also tried this version
/dev/ida/c0d0/part1 /boot xfs
/dev/ida/c0d0/part4 / reiserfs
/dev/ida/c0d0/part2 swap

Am I getting caught in a squeeze between the devfs and udev naming conventions?

Can anyone point me in the right direction?
Back to top
View user's profile Send private message
ak7
n00b
n00b


Joined: 02 Jan 2005
Posts: 52

PostPosted: Mon Jan 03, 2005 5:09 pm    Post subject: Lilo works, grub still can't find drives Reply with quote

I was able to boot the system using lilo.

grub still can't find any drives. Is this an issue with grub or my system?
Back to top
View user's profile Send private message
ak7
n00b
n00b


Joined: 02 Jan 2005
Posts: 52

PostPosted: Mon Jan 03, 2005 9:10 pm    Post subject: Smart2 2.6.x grub - no drives shown [Solved!] Reply with quote

After lots of digging and a little trial and error....

I believe the issue is that grub and udev combined with the cpqarray driver do not communicate effectively with each other.

To correct the problem I created /boot/grub/device.map as follows
(hd0) /dev/ida/c0d0

I then loaded grub as follows
grub --device-map=/boot/grub/device.map

The grub shell was able to find the drives and I was able to follow the install directions in step 6 located here

System boots fine now
Back to top
View user's profile Send private message
jackieTHEjokeman
n00b
n00b


Joined: 22 Dec 2005
Posts: 4
Location: San Diego

PostPosted: Fri Jul 07, 2006 3:44 pm    Post subject: Reply with quote

Beautiful, this was EXACTLY what I needed. None of the other "Proliant/Grub" threads helped. Thanks.
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