Gentoo Archives: gentoo-user-de

From: Wolfgang Jankowski <Wolfgang.Jankowski@×××.de>
To: gentoo-user-de@l.g.o
Subject: Re: [gentoo-user-de] Block Device boot problem, brauche hilfe.
Date: Sat, 06 Sep 2008 17:14:24
Message-Id: 200809061914.20595.Wolfgang.Jankowski@gmx.de
In Reply to: [gentoo-user-de] Block Device boot problem, brauche hilfe. by Tamer Higazi
1 Ich würde als ersten Ansatz die Zeilen mit /boot und / in der fstab tauschen,
2 so dass das Root-Device zuerst montiert wird.
3 Wolfgang
4
5 Am Samstag 06 September 2008 schrieb Tamer Higazi:
6 > Hi,
7 > Ich kriege den Dreh nicht raus, herauszufinden was ich in der
8 > Kernelkonfiguration (vermutlich) vergessen habe. Hoffe, ihr könnt mir
9 > weiterhelfen.
10 >
11 > Beim booten kriege ich die Fehlermeldung:
12 >
13 > "Block device /dev/sda5 is not a valid root device".
14 >
15 > Kann mir jemand da weiter helfen?
16 >
17 > Hier ein Auszug meiner fstab und grub.conf: http://rafb.net/p/Z9WNgO61.html
18 >
19 > Für jede hilfe bin ich dankbar.
20 >
21 >
22 > Tamer
23 >
24 >
25 > grub.conf:
26 >
27 > # This is a sample grub.conf for use with Genkernel, per the Gentoo
28 > handbook #
29 > http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=10#doc_c
30 >hap2 # If you are not using Genkernel and you need help creating this file,
31 > you # should consult the handbook. Alternatively, consult the
32 > grub.conf.sample that
33 > # is included with the Grub documentation.
34 >
35 > default 0
36 > timeout 30
37 >
38 > title Gentoo Linux 2.6.25-r7
39 > root (hd0,0)
40 > kernel /boot/kernel-genkernel-x86_64-2.6.25-gentoo-r7 root=/dev/ram0
41 > init=/linuxrc ramdisk=8192 real_root=/dev/sda5
42 > initrd /boot/initramfs-genkernel-x86_64-2.6.25-gentoo-r7
43 >
44 > fstab:
45 > # /etc/fstab: static file system information.
46 > #
47 > # noatime turns off atimes for increased performance (atimes normally
48 > aren't # needed; notail increases performance of ReiserFS (at the expense
49 > of storage
50 > # efficiency). It's safe to drop the noatime options if you want and to
51 > # switch between notail / tail freely.
52 > #
53 > # The root filesystem should have a pass number of either 0 or 1.
54 > # All other filesystems should have a pass number of 0 or greater than 1.
55 > #
56 > # See the manpage fstab(5) for more information.
57 > #
58 >
59 > # <fs> <mountpoint> <type> <opts>
60 > <dump/pass>
61 >
62 > # NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
63 > /dev/sda1 /boot ext2 noauto,noatime 1 2
64 > /dev/sda5 / ext3 noatime 0 1
65 > /dev/sda6 /opt ext3 noatime 0 1
66 > /dev/sda7 /usr/local ext3 noatime 0 1
67 > /dev/sda8 /home ext3 noatime 0 1
68 > /dev/sda9 none swap sw 0 0
69 > /dev/cdrom /mnt/cdrom audo noauto,ro 0 0
70 > #/dev/fd0 /mnt/floppy auto noauto 0 0
71 >
72 > # glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
73 > # POSIX shared memory (shm_open, shm_unlink).
74 > # (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
75 > # use almost no memory if not populated with files)
76 > shm /dev/shm tmpfs
77 > nodev,nosuid,noexec 0 0

Replies

Subject Author
Re: [gentoo-user-de] Block Device boot problem, brauche hilfe. Dirk Heinrichs <dirk.heinrichs@××××××.de>