Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Grub, help pls.
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
hookooekoo
Apprentice
Apprentice


Joined: 02 May 2004
Posts: 196

PostPosted: Sun May 02, 2004 12:20 am    Post subject: Grub, help pls. Reply with quote

Ok this is my 2nd time going through the install and same error again. I have 1 40 gig hard drive, so first of all, I am not sure why it insists on labeling it hde but it does.

When I go to configure grub

grub> root (hd0,0)

Error 21: selected Disk does nto exist. I have tried different combo's etc, and if I do root ( then tab nothing comes up.

My fstab is as follwoing:

/dev/hde1 /boot ext2 noauto,noatime 1 2
/dev/hde2 none swap sw 0 0
/dev/hde3 / ext2 noatime 0 1

none /proc proc defaults 0 0
none /dev/shm tmpfs 0 0
Back to top
View user's profile Send private message
Sargonas
Apprentice
Apprentice


Joined: 10 Feb 2003
Posts: 213
Location: user@localhost

PostPosted: Sun May 02, 2004 12:28 am    Post subject: Re: Grub, help pls. Reply with quote

hookooekoo wrote:
hde but it does.

When I go to configure grub

grub> root (hd0,0)

Error 21: selected Disk does nto exist. I have tried different combo's etc, and if I do root ( then tab nothing comes up.

My fstab is as follwoing:

/dev/hde1 /boot ext2 noauto,noatime 1 2
/dev/hde2 none swap sw 0 0
/dev/hde3 / ext2 noatime 0 1

none /proc proc defaults 0 0
none /dev/shm tmpfs 0 0


if it is hde then you have to do:

Code:

grub> root (hd4,0)


Also if it is making it hde is your ide chain on a seperate card that is not on your mobo? This is most likely the cause of this.

I will reply back when I find the kernel option that makes them go backwards ( so that you can use hda instead of hde if you would like )
_________________
I do not consider it an insult, but rather a compliment to be called an agnostic. I do not pretend to know where many ignorant men are sure -- that is all Agnosticism means. - Clarence Darrow
Back to top
View user's profile Send private message
hookooekoo
Apprentice
Apprentice


Joined: 02 May 2004
Posts: 196

PostPosted: Sun May 02, 2004 12:36 am    Post subject: Reply with quote

I get the same error with

grub> root (hd4,0)

I have tried other combo's too just for the hell of it 5,0 etc.

It is an MSI mobo with built in raid controller. I am not using the IDE 3 and 4 though.

The Harddrive is on IDE 1 and 2 DVD roms on IDE 2. Gentoo 1.4 did not do this to me. The reverse order thing be kinda cool, cept for the fact I have to start all over :-p

Even then, there is no guarantee I just don't get the same error again :(
Back to top
View user's profile Send private message
Sargonas
Apprentice
Apprentice


Joined: 10 Feb 2003
Posts: 213
Location: user@localhost

PostPosted: Sun May 02, 2004 12:37 am    Post subject: Reply with quote

Ok the kernel option is:

Code:
CONFIG_BLK_DEV_OFFBOARD


In menuconfig
its found under ata/ide/atapi support | then ata/ide/atapi Block devices | then Boot off-board device chipsets first support

might want to read about this before you try it.

It will then make your ide2/3 devices into 0/1 so you get hda instead of hde, that is if you are using an off mobo chipset
_________________
I do not consider it an insult, but rather a compliment to be called an agnostic. I do not pretend to know where many ignorant men are sure -- that is all Agnosticism means. - Clarence Darrow
Back to top
View user's profile Send private message
t_2199
Tux's lil' helper
Tux's lil' helper


Joined: 20 Mar 2004
Posts: 146

PostPosted: Sun May 02, 2004 12:40 am    Post subject: Reply with quote

hookooekoo wrote:
I get the same error with

grub> root (hd4,0)

I have tried other combo's too just for the hell of it 5,0 etc.

It is an MSI mobo with built in raid controller. I am not using the IDE 3 and 4 though.

The Harddrive is on IDE 1 and 2 DVD roms on IDE 2. Gentoo 1.4 did not do this to me. The reverse order thing be kinda cool, cept for the fact I have to start all over :-p

Even then, there is no guarantee I just don't get the same error again :(


Try root (hd4,2)
Back to top
View user's profile Send private message
Sargonas
Apprentice
Apprentice


Joined: 10 Feb 2003
Posts: 213
Location: user@localhost

PostPosted: Sun May 02, 2004 12:44 am    Post subject: Reply with quote

go into the grub console and if you have already installed a kernel just do a

Code:

grub> find /boot/vmlinuz

it should return something like:
(hd0,0)

that is where you put the root
_________________
I do not consider it an insult, but rather a compliment to be called an agnostic. I do not pretend to know where many ignorant men are sure -- that is all Agnosticism means. - Clarence Darrow
Back to top
View user's profile Send private message
hookooekoo
Apprentice
Apprentice


Joined: 02 May 2004
Posts: 196

PostPosted: Sun May 02, 2004 12:45 am    Post subject: Reply with quote

I have tried every combo 0,0 - 6,2 and nothing, same error.

If my HD is on IDE, why the hell is it not showing up as hda?

sigh I dun wanna go back and reinstall 1.4, or be really sissy and install Fedora.


Last edited by hookooekoo on Sun May 02, 2004 12:51 am; edited 1 time in total
Back to top
View user's profile Send private message
hookooekoo
Apprentice
Apprentice


Joined: 02 May 2004
Posts: 196

PostPosted: Sun May 02, 2004 12:47 am    Post subject: Reply with quote

I installed the default kenrel but

grub> find /boot/vmlinuz

gives me file not found :(

FYI I am sure I did something stupid but /shrug.
Back to top
View user's profile Send private message
fusion
Tux's lil' helper
Tux's lil' helper


Joined: 02 Nov 2002
Posts: 119

PostPosted: Sun May 02, 2004 12:51 am    Post subject: Reply with quote

type in root (
then press the tab key to get a list of avaible devices


Quote:

from grub documention:

When typing commands interactively, if the cursor is within or before the first word in the command-line, pressing the <TAB> key (or <C-i>) will display a listing of the available commands, and if the cursor is after the first word, the <TAB> will provide a completion listing of disks, partitions, and file names depending on the context. Note that to obtain a list of drives, one must open a parenthesis, as root (.

_________________
Friends don't let friends send HTML email
Back to top
View user's profile Send private message
t_2199
Tux's lil' helper
Tux's lil' helper


Joined: 20 Mar 2004
Posts: 146

PostPosted: Sun May 02, 2004 12:51 am    Post subject: Reply with quote

hookooekoo wrote:
I installed the default kenrel but



gives me file not found :(

FYI I am sure I did something stupid but /shrug.


Try
Code:

grub> find /boot/bzImage


No idea if that works but its worth a try :)
Back to top
View user's profile Send private message
Sargonas
Apprentice
Apprentice


Joined: 10 Feb 2003
Posts: 213
Location: user@localhost

PostPosted: Sun May 02, 2004 12:52 am    Post subject: Reply with quote

do an ls /boot then do a find on any file in there, just make sure its not a directory. If it still cant find it, I think you should try lilo as a quick fix, because I have heard grub has some troubles with raid cards.
_________________
I do not consider it an insult, but rather a compliment to be called an agnostic. I do not pretend to know where many ignorant men are sure -- that is all Agnosticism means. - Clarence Darrow
Back to top
View user's profile Send private message
hookooekoo
Apprentice
Apprentice


Joined: 02 May 2004
Posts: 196

PostPosted: Sun May 02, 2004 12:56 am    Post subject: Reply with quote

boot has the following

.keep
boot --> .
grub
initrd-2.4.25-gentoo-r2
kernel-2.4.25-gentoo-r2
lost+found

I tried lilo but it gave me error too, I will try again and post that.
Back to top
View user's profile Send private message
hookooekoo
Apprentice
Apprentice


Joined: 02 May 2004
Posts: 196

PostPosted: Sun May 02, 2004 12:58 am    Post subject: Reply with quote

with lilo

/sbin/lilo

Fatal: raid_setup: stat(*/dev/hde")

Maybe 2004.1 doesn't recognize this mobo correctly? I found it strange that 1.4 recognized my eth card no problem, but 2004.1 didn't unless I told it to load in the beginning

smp -noapic
Back to top
View user's profile Send private message
Sargonas
Apprentice
Apprentice


Joined: 10 Feb 2003
Posts: 213
Location: user@localhost

PostPosted: Sun May 02, 2004 1:13 am    Post subject: Reply with quote

it thinks that /dev/hde doesnt exist for some reason, you could try running a:

sh /usr/src/linux/scripts/MAKEDEV.ide

maybe it misdid one of the devices.
_________________
I do not consider it an insult, but rather a compliment to be called an agnostic. I do not pretend to know where many ignorant men are sure -- that is all Agnosticism means. - Clarence Darrow
Back to top
View user's profile Send private message
hookooekoo
Apprentice
Apprentice


Joined: 02 May 2004
Posts: 196

PostPosted: Sun May 02, 2004 1:13 am    Post subject: Reply with quote

Sigh, I guess I just go back to 1.4 and redo.
Back to top
View user's profile Send private message
Sargonas
Apprentice
Apprentice


Joined: 10 Feb 2003
Posts: 213
Location: user@localhost

PostPosted: Sun May 02, 2004 1:15 am    Post subject: Reply with quote

try booting from 1.4 then doing a grub or lilo and see if it works then.
_________________
I do not consider it an insult, but rather a compliment to be called an agnostic. I do not pretend to know where many ignorant men are sure -- that is all Agnosticism means. - Clarence Darrow
Back to top
View user's profile Send private message
hookooekoo
Apprentice
Apprentice


Joined: 02 May 2004
Posts: 196

PostPosted: Sun May 02, 2004 1:29 am    Post subject: Reply with quote

Wow Good suggestion.

It allowed me to mount /dev/hda rofl, 1.4 see's it correctly, not sure how it is all gonna pan out.

grub> root(hd0,0) was successful now.

Doing and emerge for syslog-ng and vixie-cron etc.

Well see how this pans out. If successful I will take it as a wild one for the win column :)
Back to top
View user's profile Send private message
hookooekoo
Apprentice
Apprentice


Joined: 02 May 2004
Posts: 196

PostPosted: Sun May 02, 2004 2:10 am    Post subject: Reply with quote

Ok, So I have HORRIBLE luck with mobo's. For some reason my bios wasn't seeing IDE, hence the problem when Grub probed it.

After flashing the CMOS, all is well, but I am left with the daunting task of trying to repair the current install or starting over :(

atm, I am guessing LILO gets me up and running pretty fast, and I can hack grub later /em fingers crossed
Back to top
View user's profile Send private message
hookooekoo
Apprentice
Apprentice


Joined: 02 May 2004
Posts: 196

PostPosted: Sun May 02, 2004 2:34 am    Post subject: Reply with quote

Ok this pains me, but I am gonna reinstall from 1.4.

I am still very new to Gentoo, so if I update portage, is that much different than installing 2004?

If i want to upgrade the kernel, is it just as easy as emerging it? or is there alternative/preferred methods?

thanks
Back to top
View user's profile Send private message
digitalb0y
n00b
n00b


Joined: 30 Jan 2003
Posts: 55
Location: Fburg, USA

PostPosted: Thu May 13, 2004 3:13 am    Post subject: Reply with quote

Are you using Sata raid?
Cause if you do then you probley have the same issue that I did
I did'nt have the Option for the Device in The Kernel
I have an VIA SATA RAID DRIVE so I used the following and it fixed my issue

re-configure the kernel

Device Drivers ->
ATA/ATAPI/MFM/RTL Support ->
[*] VIA82CXXX Chipset Support

I don't know if this helped but also checked this cause I heard this would help
<*> SCSI emulation support

then recompile the kernel

hopes this helps
_________________
- Linux. The choice of a GNU generation.
Like Linux DVR's Check out http://Mythtvtalk.com
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