Gentoo Archives: gentoo-amd64

From: ert256 <ert256@×××××.com>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] can't boot, "block device is not a valid root device"
Date: Sat, 06 Sep 2008 16:14:46
Message-Id: 48C2AC9C.8080901@gmail.com
In Reply to: [gentoo-amd64] can't boot, "block device is not a valid root device" by Tamer Higazi
1 [ 06.09.2008 18:04 ], Tamer Higazi :
2 > Hi people,
3 > I have installed the latest gentoo linux distribution and I don't know
4 > what I am missing in my installation, specially the last gentoo
5 > installation worked for me fine.
6 >
7 > At booting I recive the error message:
8 >
9 > "Block device /dev/sda5 is not a valid root device."
10 >
11 > Hard disk is a SATA one, with a Core2Duo machine.
12 I had similar problem when i haven't compiled in the kernel drivers for
13 my HD controller (Sata controller).
14 Are You sure, Your kernel is configure correctly ?
15 >
16 >
17 > What am I doing wrong?
18 >
19 > for any help solving my problem, I would thank you kindly.
20 >
21 >
22 > Tamer
23 >
24 >
25 > content of my fstab:
26 > # /etc/fstab: static file system information.
27 > #
28 > # noatime turns off atimes for increased performance (atimes normally
29 > aren't
30 > # needed; notail increases performance of ReiserFS (at the expense of
31 > storage
32 > # efficiency). It's safe to drop the noatime options if you want and to
33 > # switch between notail / tail freely.
34 > #
35 > # The root filesystem should have a pass number of either 0 or 1.
36 > # All other filesystems should have a pass number of 0 or greater than 1.
37 > #
38 > # See the manpage fstab(5) for more information.
39 > #
40 >
41 > # <fs> <mountpoint> <type> <opts>
42 > <dump/pass>
43 >
44 > # NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
45 > /dev/sda1 /boot ext2 noauto,noatime 1 2
46 > /dev/sda5 / ext3 noatime 0 1
47 > /dev/sda6 /opt ext3 noatime 0 1
48 > /dev/sda7 /usr/local ext3 noatime 0 1
49 > /dev/sda8 /home ext3 noatime 0 1
50 > /dev/sda9 none swap sw 0 0
51 > /dev/cdrom /mnt/cdrom audo noauto,ro 0 0
52 > #/dev/fd0 /mnt/floppy auto noauto 0 0
53 >
54 > # glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
55 > # POSIX shared memory (shm_open, shm_unlink).
56 > # (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
57 > # use almost no memory if not populated with files)
58 > shm /dev/shm tmpfs
59 > nodev,nosuid,noexec 0 0
60 >
61 > and grub.conf:
62 >
63 > grub.conf:
64 >
65 > # This is a sample grub.conf for use with Genkernel, per the Gentoo
66 > handbook
67 > #
68 > http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=10#doc_chap2
69 >
70 > # If you are not using Genkernel and you need help creating this file, you
71 > # should consult the handbook. Alternatively, consult the
72 > grub.conf.sample that
73 > # is included with the Grub documentation.
74 >
75 > default 0
76 > timeout 30
77 >
78 > title Gentoo Linux 2.6.25-r7
79 > root (hd0,0)
80 > kernel /boot/kernel-genkernel-x86_64-2.6.25-gentoo-r7 root=/dev/ram0
81 > init=/linuxrc ramdisk=8192 real_root=/dev/sda5
82 > initrd /boot/initramfs-genkernel-x86_64-2.6.25-gentoo-r7
83 >
84 >
85
86 --
87 Rafał (ert16) Trójniak
88 m@il : ert256@×××××.com
89 Jid : ert256@×××××.com ert16@××××××.pl
90 GPG key-ID : DD681D47
91 749F E1DC A58F 9084 BBC0
92 797A 0691 53D6 DD68 1D47

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-amd64] can't boot, "block device is not a valid root device" Beso <givemesugarr@×××××.com>