Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Unable to mount root! Please check a correct "root=&quo
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
iancognito85
Apprentice
Apprentice


Joined: 31 Dec 2002
Posts: 283
Location: United Kingdom

PostPosted: Tue Dec 31, 2002 10:21 am    Post subject: Unable to mount root! Please check a correct "root=&quo Reply with quote

hi all, having a bit of trouble with my gentoo. Just installed the new 1.4 rc2 and all went well in the installation. just a little problem though. :oops:

I am using grub, i booted gentoo on the menu. Then...

Please check a correct "root=" option
Kernel Panic! Unable to mount root fs!

any ideas would be greatly appreciated

--offie :twisted:
Back to top
View user's profile Send private message
jukka
Apprentice
Apprentice


Joined: 06 Jun 2002
Posts: 249
Location: Zurich, Switzerland

PostPosted: Tue Dec 31, 2002 10:41 am    Post subject: Re: Unable to mount root! Please check a correct "root= Reply with quote

offie wrote:
I am using grub, i booted gentoo on the menu. Then...

Please check a correct "root=" option
Kernel Panic! Unable to mount root fs!

add a root parameter to the grub kernel command, e.g.:
Code:
kernel /bzImage root=/dev/hda5
Back to top
View user's profile Send private message
zhenlin
Veteran
Veteran


Joined: 09 Nov 2002
Posts: 1361

PostPosted: Tue Dec 31, 2002 10:52 am    Post subject: Reply with quote

We can help you... Please give us your root disk major and minor number please. Or, failing that, your /dev/hd* specification for the root disk.

Last edited by zhenlin on Tue Dec 31, 2002 2:48 pm; edited 1 time in total
Back to top
View user's profile Send private message
iancognito85
Apprentice
Apprentice


Joined: 31 Dec 2002
Posts: 283
Location: United Kingdom

PostPosted: Tue Dec 31, 2002 11:18 am    Post subject: problems... Reply with quote

erm, well, it goes as follows:

title=Gentoo
root (hd0,0)
kernel /boot/bzImage root=/dev/hdb3

any ideas?
Back to top
View user's profile Send private message
jukka
Apprentice
Apprentice


Joined: 06 Jun 2002
Posts: 249
Location: Zurich, Switzerland

PostPosted: Tue Dec 31, 2002 11:41 am    Post subject: Reply with quote

maybe you should post your /etc/fstab...
Back to top
View user's profile Send private message
iancognito85
Apprentice
Apprentice


Joined: 31 Dec 2002
Posts: 283
Location: United Kingdom

PostPosted: Tue Dec 31, 2002 11:52 am    Post subject: Reply with quote

i think my fstab is fine, it is laid out to my system set up just like on the manual of Gentoo. it is just the grub that is the problem.

there is and error with this line:

kernel /boot/bzImage root=/dev/hdb3

what do you think? remember this is an error with the grub layout
Back to top
View user's profile Send private message
jukka
Apprentice
Apprentice


Joined: 06 Jun 2002
Posts: 249
Location: Zurich, Switzerland

PostPosted: Tue Dec 31, 2002 12:59 pm    Post subject: Reply with quote

offie wrote:
there is and error with this line:

kernel /boot/bzImage root=/dev/hdb3


just to make sure it's not a typo: you really installed grub into the mbr of your first disk (hda for linux and hd0 for grub), your boot partition (/boot) is located on your first disk (hda1 for linux and hd0,0 for grub), and your root partition (/) is on your second disk drive and known as hdb3 for linux and hd1,2 for grub?
Back to top
View user's profile Send private message
taskara
Advocate
Advocate


Joined: 10 Apr 2002
Posts: 3763
Location: Australia

PostPosted: Wed Jan 01, 2003 4:34 pm    Post subject: Reply with quote

I have the same problem installing on a friend's pc.. don't think it's fstab..
_________________
Kororaa install method - have Gentoo up and running quickly and easily, fully automated with an installer!
Back to top
View user's profile Send private message
jukka
Apprentice
Apprentice


Joined: 06 Jun 2002
Posts: 249
Location: Zurich, Switzerland

PostPosted: Wed Jan 01, 2003 5:05 pm    Post subject: Reply with quote

taskara wrote:
don't think it's fstab..

i don't think it's fstab either, i just wanted to get more information about offie's disk layout, filesystems, etc...
Back to top
View user's profile Send private message
iancognito85
Apprentice
Apprentice


Joined: 31 Dec 2002
Posts: 283
Location: United Kingdom

PostPosted: Wed Jan 01, 2003 9:31 pm    Post subject: FSTAB Reply with quote

email me if you want some more info. i have managed to resolve the problem by re-installing gentoo:

offie_@hotmail.com
Back to top
View user's profile Send private message
zhenlin
Veteran
Veteran


Joined: 09 Nov 2002
Posts: 1361

PostPosted: Thu Jan 02, 2003 1:42 am    Post subject: Reply with quote

When in grub use grub references:

hda -> hd(0)
hda1 -> hd(0,0)
hda2 -> hd(0,1)
etc.
Back to top
View user's profile Send private message
taskara
Advocate
Advocate


Joined: 10 Apr 2002
Posts: 3763
Location: Australia

PostPosted: Thu Jan 02, 2003 1:50 am    Post subject: Reply with quote

but
/dev/hde = (hd0)

if it's the first hard drive - ie. you've got dvd and burner on normal ide, and hard drive running off an onboard ata133 controller or something.

so really
(hd0) points to your first hard drive ??
_________________
Kororaa install method - have Gentoo up and running quickly and easily, fully automated with an installer!
Back to top
View user's profile Send private message
iancognito85
Apprentice
Apprentice


Joined: 31 Dec 2002
Posts: 283
Location: United Kingdom

PostPosted: Wed Jan 08, 2003 7:10 pm    Post subject: Reply with quote

yup
Back to top
View user's profile Send private message
rtn
Guru
Guru


Joined: 15 Nov 2002
Posts: 427

PostPosted: Wed Jan 08, 2003 7:34 pm    Post subject: Reply with quote

I'd venture to guess it's kernel related. I've seen it before, but I don't know
offhand what caused it. Every time I've seen it, I just ran a make mrproper
on my kernel and redid the configuration from scratch again, and it's always
worked for me.

I know it's not that specific an answer, but I think it's a good pointer in what
is probably the right direction.

--rtn, aka Captain Vague.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things 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