Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
VFS Cannot open root device
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
donkey1984
n00b
n00b


Joined: 28 Mar 2004
Posts: 25

PostPosted: Sun Mar 28, 2004 9:37 pm    Post subject: VFS Cannot open root device Reply with quote

Code:
VFS : Cannot open root device "hde3" or unknown = block(0,0)
Please append a correct "Root=" boot option
Kernal Panic : UFS : Unable to mount root fs on unknown block(0,0)


Using Abit NF7-S and using serial ata for my hard drive
Fstab is configured correctly and I checked the forums and found simular things but it was unable to help me...
Back to top
View user's profile Send private message
Diezel
l33t
l33t


Joined: 04 Feb 2003
Posts: 600
Location: Karjaa, Finland

PostPosted: Sun Mar 28, 2004 9:48 pm    Post subject: Reply with quote

The problem is not in your /etc/fstab it's in /boot/grub/grub.conf
root=/dev/something is not right.
I don't know anything about SATA but post your grub.conf and someone else might be able to help you.

// Diezel
_________________
A bus station is where a bus stops, a train station is where a train stops. On
my desk I have a work station..
Nixadmins.net
FLUG member 473
Back to top
View user's profile Send private message
donkey1984
n00b
n00b


Joined: 28 Mar 2004
Posts: 25

PostPosted: Sun Mar 28, 2004 9:58 pm    Post subject: Reply with quote

how do i find out the whole path name to my hd??
Back to top
View user's profile Send private message
donkey1984
n00b
n00b


Joined: 28 Mar 2004
Posts: 25

PostPosted: Sun Mar 28, 2004 10:07 pm    Post subject: Reply with quote

Code:
my grub config

title=Gentoo
root (hd0,0)
kernel (hd0,0)/vmlinuz-2.6.3-gentoo-r1 root=/dev/discs/disc0/part3

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


Joined: 28 Mar 2004
Posts: 3

PostPosted: Sun Mar 28, 2004 11:05 pm    Post subject: Reply with quote

I'm assuming you're running kernel 2.6.x? I've seen this problem ALL OVER the place -- not just with Gentoo. I've had the same problem with my config using both GRUB and LILO, so who knows.

At this point, I've recompiled the kernel 4-5 times with no joy yet. Frustrating!

-s
Back to top
View user's profile Send private message
sashae
n00b
n00b


Joined: 28 Mar 2004
Posts: 3

PostPosted: Sun Mar 28, 2004 11:19 pm    Post subject: Reply with quote

Since I think everyone can benefit from this exercise, here's my current (non-working) config.

/etc/fstab:

Code:

/dev/sda2       /               ext3            noatime                 0 1
/dev/sda1       /boot           ext3            noauto,noatime          1 2
/dev/sda6       /usr            ext3            noatime                 0 2
/dev/sda3       /var            ext3            noatime                 0 2
/dev/sdb1       none            swap            sw                      0 0
/dev/sda5       /opt            ext3            noatime                 0 2
/dev/sda7       /staff          ext3            noatime                 0 2
/dev/sdb2       /home           ext3            noatime                 0 2
#/dev/cdroms/cdrom0     /mnt/cdrom      iso9660         noauto,ro              0 0
#/dev/fd0               /mnt/floppy     auto            noauto                 0 0

# NOTE: The next line is critical for boot!
none            /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)
# Adding the following line to /etc/fstab should take care of this:
none                    /dev/shm        tmpfs       defaults               0 0


/boot/grub/grub.conf:
Code:

# Which listing to boot as default. 0 is the first, 1 the second etc.
default 0
# How many seconds to wait before the default listing is booted.
timeout 30
# Nice, fat splash-image to spice things up :)
splashimage=(hd0,0)/grub/splash.xpm.gz

title=Gentoo Linux 2.6.3-r1
# Partition where the kernel image (or operating system) is located
root (hd0,0)
kernel (hd0,0)/vmlinuz root=/dev/sda2


/boot/grub/device.map:
Code:

(hd0) /dev/sda
(hd1) /dev/sdb


Mounts after chrooting off of a Knoppix boot:
Code:

/dev/sda2 on / type ext3 (rw)
/dev/sda1 on /boot type ext3 (rw)
/dev/sda3 on /var type ext3 (rw)
/dev/sda5 on /opt type ext3 (rw)
/dev/sda6 on /usr type ext3 (rw)
/dev/sda7 on /staff type ext3 (rw)
/dev/sdb2 on /home type ext3 (rw)
none on /proc type proc (rw)


<-- stumped.

I'm going to compile in every SCSI driver, just for the hell of it.

lsmod on the Knoppix boot only shows the aic7xxx.o driver loaded for scsi (which is correct):

Code:

Module                  Size  Used by    Not tainted
ext3                   64164   7  (autoclean)
jbd                    46356   7  (autoclean) [ext3]
autofs4                 8756   1  (autoclean)
af_packet              13512   0  (autoclean)
nls_iso8859-1           2876   0  (autoclean)
ntfs                   50944   0  (autoclean)
msdos                   4652   0  (autoclean)
eepro100               19380   1
mii                     2256   0  [eepro100]
serial                 51972   0  (autoclean)
usb-ohci               18184   0  (unused)
usbcore                57824   1  [usb-ohci]
apm                     9768   0
rtc                     6972   0  (autoclean)
cloop                   8740   2
aic7xxx               132172   8


All of those modules are compiled into the kernel I'm using.

BOGUS!

-s
Back to top
View user's profile Send private message
sashae
n00b
n00b


Joined: 28 Mar 2004
Posts: 3

PostPosted: Mon Mar 29, 2004 1:35 am    Post subject: Reply with quote

After WAY TOO MANY recompiles, I have finally found the answer.

I missed a damn driver required to support my onboard scsi. :roll:

The board I'm using, a ServerWorks GC-LE based board, has an Adaptec AIC7xxx onboard. Unfortunately, it also uses the Adaptec I2C driver, which I had *not* been compiling in (for hot-swap of drives.)

Compiled in, now using 2.4.25_pre7-gentoo-r2 -- going to re-try 2.6.3-gentoo-r1 and see if that works as well. At least I'm not retarded.

-s
Back to top
View user's profile Send private message
geek
n00b
n00b


Joined: 23 Nov 2002
Posts: 51
Location: Ellendale, ND

PostPosted: Fri Jun 11, 2004 4:58 pm    Post subject: Reply with quote

I missed compiling this into my kernel as well. Thanks for the post.
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