OK Grub problems with scsi drive and Gentoo, please help!

mcveigh

Diamond Member
Dec 20, 2000
6,457
6
81
I finally got through all the parts of installing gentoo from stage 1. I installed grub acording to the instructions
but upon reboot: first my computer tried to boot from my old grub partition on my ide hard drive, so I disabled it. then with only a scsi drive available,
it came to a coomand prompt like that only said "grub" and I couldn't type anything, so I shut it down.

any ideas?:(
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
Grub is a bastard when you have SCSI and IDE because it always thinks the IDE drives are first in the BIOS order, even if they're not.

What I did was boot up once without the IDE modules loaded, rename the /lib/modules/verision folder so it can't load them on it's own, install grub because now it can't see the IDE drives, put the /lib/modules/version folder back. You only have to do this once because after grub is installed it loads it's config file dynamically at bootup.
 

mcveigh

Diamond Member
Dec 20, 2000
6,457
6
81


<< Grub is a bastard when you have SCSI and IDE because it always thinks the IDE drives are first in the BIOS order, even if they're not.

What I did was boot up once without the IDE modules loaded, rename the /lib/modules/verision folder so it can't load them on it's own, install grub because now it can't see the IDE drives, put the /lib/modules/version folder back. You only have to do this once because after grub is installed it loads it's config file dynamically at bootup.
>>



ok how do I boot into gentoo? the install disk? what should I have called it? (hd0,3)
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
I've never installed Gentoo, so I don't know how their install disk is setup, but it would probably be the easiest, just boot with 'root=/dev/sdaX single'.
 

mcveigh

Diamond Member
Dec 20, 2000
6,457
6
81
with "linux root=/dev/sda5 single" it starts to boot then I get a kernel panic:disgust:

kmod: failed to exec /sbin/modprobe -s -k block-major-8, errno = 2
VFS: cannot open root device "sda5" or 08:05
please append a correct "root=" boot option

/dev/sda5 is my / partition so I don't know:|

edit: I'm using XFS btw, now
where is my linux bootablebusiness card?
 

mcveigh

Diamond Member
Dec 20, 2000
6,457
6
81
OK i reinstalled everything from stage 3

no on rebooting I get "grub" output filling up the screen
 

mcveigh

Diamond Member
Dec 20, 2000
6,457
6
81
fixed it!

i disconnected all ide drives and installed grub

now if I reconnect my ide drives will it fsck things up?.....oh well 1 way to find out
rolleye.gif