Gentoo Archives: gentoo-user

From: Dale <rdalek1967@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Cannot open root device "sda3" or unknown-block (0,0)
Date: Wed, 17 Nov 2010 03:45:54
Message-Id: 4CE34FCA.8030208@gmail.com
In Reply to: Re: [gentoo-user] Cannot open root device "sda3" or unknown-block (0,0) by Joseph
1 Joseph wrote:
2 > On 11/16/10 21:04, Dale wrote:
3 >> Joseph wrote:
4 >>> My ASUS A8V motherboard went down so I change it with another ASUS MB
5 >>> M2NPV along with CPU. Both CPU's were AMD so no need to change flags.
6 >>> Have two hard drives both SATA 200G and 500G
7 >>> However, after trying to boot I get:
8 >>>
9 >>> VFS: Cannot open root device "sda3" or unknown-block (0,0)
10 >>>
11 >>> In grub.conf I have:
12 >>> root (hd0,0)
13 >>> kernel /boot/kernel-current root=/dev/sda3 pci=noapi noapci
14 >>> When I boot strap and run, df -h it shows all the partition correctly
15 >>> but all showing as:
16 >>> Size: 46G used: 30G avail: 15G
17 >>>
18 >>> So it would seem to me the kernel does not recognized correctly large
19 >>> disk drives; but it this kernel worked correctly with previous
20 >>> motherboard (the one that failed). BIOS is showing both hard drives
21 >>> size: 200G and 500G
22 >>> What to look for?
23 >>>
24 >>
25 >> I would start by checking the kernel config. Make sure you have your
26 >> drive chipset BUILT INTO the kernel and whatever drivers you use for the
27 >> file system root is on also BUILT IN. Keep in mind, you can't build
28 >> those as modules. They have to be in the kernel itself.
29 >>
30 >> As to the different sizes, not sure. Maybe someone who has seen that
31 >> will have additional ideas. May be driver related, may be something
32 >> else.
33 >>
34 >> Dale
35 >>
36 >> :-) :-)
37 >
38 > The BIOS sees both HD but, boot sector is working OK as grub comes up
39 > but then I get a message:
40 >
41 > VFS: Cannot open root device "sda3" or unknown-block (0,0)
42 > please append a correct "root=" boot option; here are the available
43 > partitions:
44 > 0300 4191302 hda driver: ide-cdrom
45 >
46 > So it seems kernel does not see the sata drives, but how it is
47 > possible? Boot partition is on sda
48 >
49 > Someone suggested that BIOS is seeing different logical layout of
50 > cylinders/ heads.
51 > In BIOS setup there a choice of IDE mode, AHCI mode, etc
52
53 It sounds to me like you don't have the drivers for the chipset. If you
54 leave those out or they are modules, it can't see the drives.
55
56 Keep in mind, just because grub sees the drives does not mean the kernel
57 does. They are two separate things. Grub only passes info on to the
58 kernel. Once you select what you want to boot, grub is out of the picture.
59
60 Dale
61
62 :-) :-)

Replies

Subject Author
Re: [gentoo-user] Cannot open root device "sda3" or unknown-block (0,0) Joseph <syscon780@×××××.com>