Gentoo Archives: gentoo-amd64

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

Replies

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