Gentoo Archives: gentoo-user

From: fei huang <daniel.huangfei@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] VFS: Cannot open root device "hda6" or unknown-block(3,6)
Date: Tue, 26 Dec 2006 09:40:09
Message-Id: 5cd9791d0612260135l6922e856heb427fe8c804d350@mail.gmail.com
In Reply to: [gentoo-user] VFS: Cannot open root device "hda6" or unknown-block(3,6) by Bruce Burden
1 didn't you separate your boot partition from / ?
2
3 --> root (hd1,5)
4 this indicates your BOOT partition (/boot) is located at /dev/hdb6
5
6 --> kernel /boot/linux-2.6.15-gentoo-r1 root=/dev/hda6
7 this indicates your ROOT partition ( your / ) locates at /dev/hda6, is is
8 possible?
9
10
11 On 12/26/06, Bruce Burden <brucegb@××××××××.net> wrote:
12 >
13 >
14 >
15 > Hi gang,
16 >
17 > I have a laptop, originally with Windows. I partitioned the
18 > windows space, and installed Gentoo. Fine and well.
19 >
20 > Then I replaced the original hard drive with a new one, and
21 > moved the windoze/Gentoo drive to a USB enclosure. I changed the
22 > drive specs from "hda0,x" to "hda1,x", and attempted to boot
23 > Gentoo in single user mode, by appending a 1 to the GRUB string.
24 >
25 > That seemed to work, but eventually the process fails with
26 > the:
27 >
28 > VFS: Cannot open root device "hda6" or unknown-block(3,6)
29 >
30 > message above. Googling about tells me that perhaps the SCSI or
31 > the USB subsystems may not be loaded, and that is why the boot
32 > process fails. One recommendation was the change the /dev/hdaX
33 > notation for the device numerical notation, ie root=0x802.
34 >
35 > Now, I have not (quickly) found the numerical notation,
36 > although I did encounter it once upon a time previously. Does
37 > this seem like the correct approach? If so, what would be the
38 > correct notation for the second drive? As I recall, 0x800 was
39 > a SCSI notation?
40 >
41 > My GRUB is:
42 >
43 > default 0
44 > timeout 8
45 > splashimage=(hd1,5)/boot/grub/splash.xpm.gz
46 >
47 >
48 > title Gentoo Linux 2.6.15
49 > root (hd1,5)
50 > kernel /boot/linux-2.6.15-gentoo-r1 root=/dev/hda6
51 >
52 > title Windows
53 > root (hd1,0)
54 > makeactive
55 > chainloader +1
56 >
57 > title Failsafe -- Gentoo Linux 2.6.12
58 > kernel (hd1,5)/boot/vmlinuz root=/dev/hda6 showopts ide=nodma apm=off
59 > acpi=off vga=nor
60 > mal noresume selinux=0 barrier=off nosmp noapic maxcpus=0 3
61 > initrd (hd1,5)/boot/initrd
62 >
63 >
64 > and all I have really done is change hd1,X, where originally I
65 > had hda0,X...
66 >
67 > I would also like to be able to boot into windoze, and currently
68 > all it does is return to the GRUB menu, so clearly something isn't
69 > right...
70 >
71 > Thank you,
72 > Bruce
73 > --
74 > ------------------------------------------------------------------------
75 > "I like bad!" Bruce Burden Austin, TX.
76 > - Thuganlitha
77 > The Power and the Prophet
78 > Robert Don Hughes
79 >
80 > --
81 > gentoo-user@g.o mailing list
82 >
83 >

Replies

Subject Author
Re: [gentoo-user] VFS: Cannot open root device "hda6" or unknown-block(3,6) Bruce Burden <brucegb@××××××××.net>