View previous topic :: View next topic |
Author |
Message |
Flatop Tux's lil' helper
Joined: 27 Nov 2002 Posts: 124 Location: Brooklyn, USA
|
Posted: Mon Mar 15, 2004 1:58 pm Post subject: Grub not recogizing hard drive |
|
|
I'm at the install point where I just installed grub. I have a SIil3112 SATA connections, leading to dual 160 Gb drives. I am not using RAID. So far, everything has gone according to the documentation. I have emerged grub-static, but when I type root (hd <tab>, I get no options. I take this to mean that grub cannot recognize any hard drives, no?
any ideas? |
|
Back to top |
|
|
Getrb n00b
Joined: 20 Jun 2003 Posts: 30 Location: Europe -> Sweden -> Lidköping
|
Posted: Mon Mar 15, 2004 5:04 pm Post subject: |
|
|
Try making a qualified guess of the harddrive.
Output from dmesg might help you.
Trying to fdisk, cfdisk the drive has to work, otherwise it's not likely that anything else will work either.
You have loaded the sata-kontroler modules/ drivers??
And your BIOS-settings are...
EDIT: If you arent aware there's also a new standard of the interface used to communicate on newer disks! This might just effekt you aswell, Maxtor amoung others have this. ;-) (160Gb is new enough) _________________ WANTED: a Linux-based webshop, *secure *good layout *output for the books and more! Ideas? :-)
Last edited by Getrb on Mon Mar 15, 2004 5:15 pm; edited 1 time in total |
|
Back to top |
|
|
Flatop Tux's lil' helper
Joined: 27 Nov 2002 Posts: 124 Location: Brooklyn, USA
|
Posted: Mon Mar 15, 2004 5:12 pm Post subject: |
|
|
cfdisk did work. I was able to create sde1, sde2 and sde3 with no problem. reconfigured the kernel with no problem.
dmesg shows sde and sdf are my two drives.
sata modules are loaded - I am using the 2004.0 live cd. |
|
Back to top |
|
|
Getrb n00b
Joined: 20 Jun 2003 Posts: 30 Location: Europe -> Sweden -> Lidköping
|
Posted: Mon Mar 15, 2004 5:34 pm Post subject: |
|
|
Right, then you should be able to manually give Grub the correct partitions to play on...
Example:
sde1 holds your /boot grub likes this as (sd4,0)
sde2 = / then this is (sd4,1)
sdf1 = (sd5,0)
If your attemts dont work out when following the install-manual.
Then take a look at my erlier post with a grub.conf sample. _________________ WANTED: a Linux-based webshop, *secure *good layout *output for the books and more! Ideas? :-) |
|
Back to top |
|
|
Flatop Tux's lil' helper
Joined: 27 Nov 2002 Posts: 124 Location: Brooklyn, USA
|
Posted: Mon Mar 15, 2004 8:52 pm Post subject: |
|
|
I will try that when I get home tonight.
I thought grub was ide/scsi agnostic and viewed all drives as hdX |
|
Back to top |
|
|
Getrb n00b
Joined: 20 Jun 2003 Posts: 30 Location: Europe -> Sweden -> Lidköping
|
Posted: Mon Mar 15, 2004 9:05 pm Post subject: |
|
|
Yes your correct about that ;-)
hd will be just fine =) *sorry* _________________ WANTED: a Linux-based webshop, *secure *good layout *output for the books and more! Ideas? :-) |
|
Back to top |
|
|
Flatop Tux's lil' helper
Joined: 27 Nov 2002 Posts: 124 Location: Brooklyn, USA
|
Posted: Tue Mar 16, 2004 3:38 am Post subject: |
|
|
Its still not working. I've tried root (hd0,0) all the way to hd(7,0) with the following error message:
Error 21: Selected disk does not exist
If I try root (hd8,0) I get Invalid device requested. |
|
Back to top |
|
|
BlinkEye Veteran
Joined: 21 Oct 2003 Posts: 1046 Location: Gentoo Forums
|
|
Back to top |
|
|
BlinkEye Veteran
Joined: 21 Oct 2003 Posts: 1046 Location: Gentoo Forums
|
Posted: Tue Mar 16, 2004 3:57 pm Post subject: |
|
|
Getrb wrote: | Right, then you should be able to manually give Grub the correct partitions to play on...
Example:
sde1 holds your /boot grub likes this as (sd4,0)
sde2 = / then this is (sd4,1)
sdf1 = (sd5,0)
If your attemts dont work out when following the install-manual.
Then take a look at my erlier post with a grub.conf sample. |
even though your devices are mapped to sdeX and sdfX i think you should try to install grub on (sd0,0), / on (sd0,1) and sdf1 on (sd1,0). you might have some scsi devices from sda to sdb, but grub mapps your hd's to (sd0) and (sd1) anyway. |
|
Back to top |
|
|
Flatop Tux's lil' helper
Joined: 27 Nov 2002 Posts: 124 Location: Brooklyn, USA
|
Posted: Tue Mar 16, 2004 6:39 pm Post subject: |
|
|
Thanks for the reply, BlinkEye. I had read that post before, but all the grub.conf entries refer to (hd0,0) which isn't working for me.
I have also tried to install grub to (sd0,0), but I get nothing. According to the GRUB website, the hard drives is referenced as hd0, not sd0 - but I was getting desperate
I am trying to use the tab completion in grub as a troubleshooter - if nothing completes, then I know something is borked.
This AM, I went throught the BIOS and disabled all RAID references - I will use the SATAs as two distinct devices. I left the kernel compiling when I left to go to work. I'll check back tonight, and hopefully, this time, grub will install (as it should) to (hd0,0) |
|
Back to top |
|
|
BlinkEye Veteran
Joined: 21 Oct 2003 Posts: 1046 Location: Gentoo Forums
|
Posted: Tue Mar 16, 2004 7:00 pm Post subject: |
|
|
ok. thanks for the correction. seems i've allready forgotten how i solved my problem.
but your going into the right direction: it's a good try to disable every hardware raid controller - mine wouldn't work neither.
i hope you manage to install grub, one last hint though: if you manage to boot (i.e. if you could install grub) don't forget to map your devices in /etc/fstab to sdXY and sdZQ respectively. i run into that stupid mistake and set up the system 3 times (well, i thought it was a raid problem).
good luck |
|
Back to top |
|
|
Flatop Tux's lil' helper
Joined: 27 Nov 2002 Posts: 124 Location: Brooklyn, USA
|
Posted: Wed Mar 17, 2004 1:16 pm Post subject: |
|
|
Success! I got grub installed, rebooted and everything works. Now to install all my packages. I'm quite amazed at the speed.
I'll leave learning how to build a RAID in linux for another day |
|
Back to top |
|
|
|