Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Unable to mount root fs on unknown-block (0,0)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
vbmaster
n00b
n00b


Joined: 31 May 2006
Posts: 52
Location: Portugal

PostPosted: Wed Oct 18, 2006 6:40 pm    Post subject: [SOLVED] Unable to mount root fs on unknown-block (0,0) Reply with quote

Hi,

Well, there's always one day when we get up and decide to upgrade our system, the problem is that it usually ends bad. :s
I did a fresh Gentoo 2006.1 install, and it occured with no problem at all, I was already used to the gentoo instalation system.

The problem came after the first reboot, I'm almost absolutely sure that I correctly set up my grub.conf and /etc/fstab as well as I selected all the things in the kernel (as <*> ) that happeared to me that I'll need.

On the load of the system the error is:

Quote:
VFS: Cannot open root device "hdb7" or unknown-block (0,0)
Please append a correct "root=" boot option
Kernel Panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)


My grub.conf:

Quote:

default 0
timeout 15
splashimage=(hd1,2)/boot/grub/splash.xpm.gz

title=Gentoo Linux 2006.1
root (hd1,2)
kernel /kernel-2.6.17-r8 root=/dev/hdb7

title=Windows XP (Seleccionador)
rootnoverify (hd1,0)
makeactive
chainloader +1



And my /etc/fstab:

Quote:

# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/hdb3 /boot reiserfs noauto,noatime 1 2
/dev/hdb7 / reiserfs noatime 0 1
/dev/hdb4 none swap sw 0 0
/dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro 0 0
/dev/fd0 /mnt/floppy auto noauto 0 0
/dev/hdb5 /mnt/documentos vfat user,rw 0 0

# NOTE: The next line is critical for boot!
proc /proc proc defaults 0 0

# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
# use almost no memory if not populated with files)
shm /dev/shm tmpfs nodev,nosuid,noexec 0 0



Can anybody help me, please ? ;)


Last edited by vbmaster on Fri Oct 20, 2006 1:19 pm; edited 1 time in total
Back to top
View user's profile Send private message
artic
Veteran
Veteran


Joined: 22 Nov 2003
Posts: 1208

PostPosted: Wed Oct 18, 2006 7:12 pm    Post subject: Reply with quote

Notail option , did you use before?????
_________________
Pwd by Gentoo | 2.6.28-gentoo-x64 | kde4.2| ext4 | xorg 7.4 |
Back to top
View user's profile Send private message
wynn
Advocate
Advocate


Joined: 01 Apr 2005
Posts: 2421
Location: UK

PostPosted: Wed Oct 18, 2006 7:14 pm    Post subject: Reply with quote

AFAIK "notail" is only needed for /boot and boot is OK (the kernel is loaded) but if "notail" doesn't solve your problem, would you like to check your kernel settings against [FAQ] KC13: I just installed a new kernel and it won't boot
_________________
The avatar is jorma, a "duck" from "Elephants Dream": the film and all the production materials have been made available under a Creative Commons Attribution 2.5 License, see orange.blender.org for details.


Last edited by wynn on Wed Oct 18, 2006 7:17 pm; edited 1 time in total
Back to top
View user's profile Send private message
Thnikkaman
n00b
n00b


Joined: 30 Jun 2004
Posts: 63

PostPosted: Wed Oct 18, 2006 7:16 pm    Post subject: Reply with quote

Is this a second hard drive you are booting off of? If not, then your root perameter should be root = (hd0,2) not (hd1,2) I think.
_________________
while(realavant){
speak();
}
Back to top
View user's profile Send private message
vbmaster
n00b
n00b


Joined: 31 May 2006
Posts: 52
Location: Portugal

PostPosted: Wed Oct 18, 2006 7:59 pm    Post subject: Reply with quote

Yes, it is a second hard drive.

Well kernel settings... they're so many... and in the previous version (2006.0) I just put the ones refered in the handbook and there was no problems... :\...
Back to top
View user's profile Send private message
wynn
Advocate
Advocate


Joined: 01 Apr 2005
Posts: 2421
Location: UK

PostPosted: Wed Oct 18, 2006 8:16 pm    Post subject: Reply with quote

vbmaster wrote:
Well kernel settings... they're so many... and in the previous version (2006.0) I just put the ones refered in the handbook and there was no problems... :\...
In KC13 there aren't many to check :)
_________________
The avatar is jorma, a "duck" from "Elephants Dream": the film and all the production materials have been made available under a Creative Commons Attribution 2.5 License, see orange.blender.org for details.
Back to top
View user's profile Send private message
Thnikkaman
n00b
n00b


Joined: 30 Jun 2004
Posts: 63

PostPosted: Wed Oct 18, 2006 8:27 pm    Post subject: Reply with quote

Go through these steps.

I am currently having this problem as well, but for different reasons. I have a kernel that boots, that I am trying to configure a new kernel from. I may have to do my configuration from scratch, but oh well.
_________________
while(realavant){
speak();
}
Back to top
View user's profile Send private message
Emopig
Apprentice
Apprentice


Joined: 15 Mar 2006
Posts: 188

PostPosted: Wed Oct 18, 2006 8:37 pm    Post subject: Reply with quote

This is a hunch, try enabling the following in your kernel config:

CONFIG_BLK_DEV_SD=y
CONFIG_CHR_DEV_SG=y

I recently had this same error trying out a 2.6.19-rc kernel and it was re-enabling one of the top two that fixed it, but I do have a SATA drive :oops:

If I remember correctly the option in the kernel config that provides the "root=" parameter support (I read it somewhere but I can't find the damn thing now) mentions some other bits you need to enable for it to work and I think it may have been in the SCSI layer.
_________________
2.6.35 / Gnome 2.30
Athlon64 3500+ / 1.5 GB / Asus A8N VM CSM
Back to top
View user's profile Send private message
vbmaster
n00b
n00b


Joined: 31 May 2006
Posts: 52
Location: Portugal

PostPosted: Wed Oct 18, 2006 8:44 pm    Post subject: Reply with quote

Thnikkaman wrote:
Go through these steps.

I am currently having this problem as well, but for different reasons. I have a kernel that boots, that I am trying to configure a new kernel from. I may have to do my configuration from scratch, but oh well.


Well, I'll try that for now, thanks. ;)
Back to top
View user's profile Send private message
Thnikkaman
n00b
n00b


Joined: 30 Jun 2004
Posts: 63

PostPosted: Thu Oct 19, 2006 1:29 pm    Post subject: Reply with quote

Any luck with this?
_________________
while(realavant){
speak();
}
Back to top
View user's profile Send private message
vbmaster
n00b
n00b


Joined: 31 May 2006
Posts: 52
Location: Portugal

PostPosted: Thu Oct 19, 2006 3:26 pm    Post subject: Reply with quote

The given gentoo foruns thread solved the problem.

Thanks!
Back to top
View user's profile Send private message
alzz
n00b
n00b


Joined: 11 Feb 2004
Posts: 5
Location: Korea

PostPosted: Fri Oct 20, 2006 8:30 am    Post subject: Reply with quote

I got the same error that you posted and solved it.
[FAQ]KC13 by wynn really worked for me. It showed me that I've missed unchecking an kernel option in ATA/ATAPI/MFM/RLL support.
Thanks you all guys.

vbmaster, you better add [SOLVED] to your post title.
And thank for your posting. :D
_________________
For every higher wall, there is a taller ladder.
Back to top
View user's profile Send private message
vbmaster
n00b
n00b


Joined: 31 May 2006
Posts: 52
Location: Portugal

PostPosted: Fri Oct 20, 2006 1:19 pm    Post subject: Reply with quote

Ops, I forgot this time.. thanks.

Just to give more info, what was wrong in my kernel was missing built-in modules that were needed.

;)
Back to top
View user's profile Send private message
Thnikkaman
n00b
n00b


Joined: 30 Jun 2004
Posts: 63

PostPosted: Fri Oct 20, 2006 3:47 pm    Post subject: Reply with quote

Awesome, glad to see it worked.
_________________
while(realavant){
speak();
}
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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