View previous topic :: View next topic |
Author |
Message |
vbmaster n00b
Joined: 31 May 2006 Posts: 52 Location: Portugal
|
Posted: Wed Oct 18, 2006 6:40 pm Post subject: [SOLVED] Unable to mount root fs on unknown-block (0,0) |
|
|
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 |
|
|
artic Veteran
Joined: 22 Nov 2003 Posts: 1208
|
Posted: Wed Oct 18, 2006 7:12 pm Post subject: |
|
|
Notail option , did you use before????? _________________ Pwd by Gentoo | 2.6.28-gentoo-x64 | kde4.2| ext4 | xorg 7.4 | |
|
Back to top |
|
|
wynn Advocate
Joined: 01 Apr 2005 Posts: 2421 Location: UK
|
Posted: Wed Oct 18, 2006 7:14 pm Post subject: |
|
|
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 |
|
|
Thnikkaman n00b
Joined: 30 Jun 2004 Posts: 63
|
Posted: Wed Oct 18, 2006 7:16 pm Post subject: |
|
|
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 |
|
|
vbmaster n00b
Joined: 31 May 2006 Posts: 52 Location: Portugal
|
Posted: Wed Oct 18, 2006 7:59 pm Post subject: |
|
|
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 |
|
|
wynn Advocate
Joined: 01 Apr 2005 Posts: 2421 Location: UK
|
Posted: Wed Oct 18, 2006 8:16 pm Post subject: |
|
|
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 |
|
|
Thnikkaman n00b
Joined: 30 Jun 2004 Posts: 63
|
Posted: Wed Oct 18, 2006 8:27 pm Post subject: |
|
|
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 |
|
|
Emopig Apprentice
Joined: 15 Mar 2006 Posts: 188
|
Posted: Wed Oct 18, 2006 8:37 pm Post subject: |
|
|
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
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 |
|
|
vbmaster n00b
Joined: 31 May 2006 Posts: 52 Location: Portugal
|
Posted: Wed Oct 18, 2006 8:44 pm Post subject: |
|
|
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 |
|
|
Thnikkaman n00b
Joined: 30 Jun 2004 Posts: 63
|
Posted: Thu Oct 19, 2006 1:29 pm Post subject: |
|
|
Any luck with this? _________________ while(realavant){
speak();
} |
|
Back to top |
|
|
vbmaster n00b
Joined: 31 May 2006 Posts: 52 Location: Portugal
|
Posted: Thu Oct 19, 2006 3:26 pm Post subject: |
|
|
The given gentoo foruns thread solved the problem.
Thanks! |
|
Back to top |
|
|
alzz n00b
Joined: 11 Feb 2004 Posts: 5 Location: Korea
|
Posted: Fri Oct 20, 2006 8:30 am Post subject: |
|
|
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. _________________ For every higher wall, there is a taller ladder. |
|
Back to top |
|
|
vbmaster n00b
Joined: 31 May 2006 Posts: 52 Location: Portugal
|
Posted: Fri Oct 20, 2006 1:19 pm Post subject: |
|
|
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 |
|
|
Thnikkaman n00b
Joined: 30 Jun 2004 Posts: 63
|
Posted: Fri Oct 20, 2006 3:47 pm Post subject: |
|
|
Awesome, glad to see it worked. _________________ while(realavant){
speak();
} |
|
Back to top |
|
|
|