Forums Neueste Beiträge
 

[gentoo-user-de] Block Device boot problem, brauche hilfe.

06/09/2008 - 18:10 von Tamer Higazi | Report spam
Hi,
Ich kriege den Dreh nicht raus, herauszufinden was ich in der
Kernelkonfiguration (vermutlich) vergessen habe. Hoffe, ihr könnt mir
weiterhelfen.

Beim booten kriege ich die Fehlermeldung:

"Block device /dev/sda5 is not a valid root device".

Kann mir jemand da weiter helfen?

Hier ein Auszug meiner fstab und grub.conf: http://rafb.net/p/Z9WNgO61.html

Für jede hilfe bin ich dankbar.


Tamer


grub.conf:

# This is a sample grub.conf for use with Genkernel, per the Gentoo handbook
#
http://www.gentoo.org/doc/en/handbo...1&chap#doc_chap2
# If you are not using Genkernel and you need help creating this file, you
# should consult the handbook. Alternatively, consult the
grub.conf.sample that
# is included with the Grub documentation.

default 0
timeout 30

title Gentoo Linux 2.6.25-r7
root (hd0,0)
kernel /boot/kernel-genkernel-x86_64-2.6.25-gentoo-r7 root=/dev/ram0
init=/linuxrc ramdisk92 real_root=/dev/sda5
initrd /boot/initramfs-genkernel-x86_64-2.6.25-gentoo-r7

fstab:
# /etc/fstab: static file system information.
#
# noatime turns off atimes for increased performance (atimes normally aren't
# needed; notail increases performance of ReiserFS (at the expense of
storage
# efficiency). It's safe to drop the noatime options if you want and to
# switch between notail / tail freely.
#
# The root filesystem should have a pass number of either 0 or 1.
# All other filesystems should have a pass number of 0 or greater than 1.
#
# See the manpage fstab(5) for more information.
#

# <fs> <mountpoint> <type> <opts>
<dump/pass>

# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/sda1 /boot ext2 noauto,noatime 1 2
/dev/sda5 / ext3 noatime 0 1
/dev/sda6 /opt ext3 noatime 0 1
/dev/sda7 /usr/local ext3 noatime 0 1
/dev/sda8 /home ext3 noatime 0 1
/dev/sda9 none swap sw 0 0
/dev/cdrom /mnt/cdrom audo noauto,ro 0 0
#/dev/fd0 /mnt/floppy auto noauto 0 0

# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
# use almost no memory if not populated with files)
shm /dev/shm tmpfs
nodev,nosuid,noexec 0 0
 

Lesen sie die antworten

#1 Wolfgang Jankowski
06/09/2008 - 19:20 | Warnen spam
Ich würde als ersten Ansatz die Zeilen mit /boot und / in der fstab tauschen,
so dass das Root-Device zuerst montiert wird.
Wolfgang

Am Samstag 06 September 2008 schrieb Tamer Higazi:
Hi,
Ich kriege den Dreh nicht raus, herauszufinden was ich in der
Kernelkonfiguration (vermutlich) vergessen habe. Hoffe, ihr könnt mir
weiterhelfen.

Beim booten kriege ich die Fehlermeldung:

"Block device /dev/sda5 is not a valid root device".

Kann mir jemand da weiter helfen?

Hier ein Auszug meiner fstab und grub.conf: http://rafb.net/p/Z9WNgO61.html

Für jede hilfe bin ich dankbar.


Tamer


grub.conf:

# This is a sample grub.conf for use with Genkernel, per the Gentoo
handbook #
http://www.gentoo.org/doc/en/handbo...1&chap#doc_c
hap2 # If you are not using Genkernel and you need help creating this file,
you # should consult the handbook. Alternatively, consult the
grub.conf.sample that
# is included with the Grub documentation.

default 0
timeout 30

title Gentoo Linux 2.6.25-r7
root (hd0,0)
kernel /boot/kernel-genkernel-x86_64-2.6.25-gentoo-r7 root=/dev/ram0
init=/linuxrc ramdisk92 real_root=/dev/sda5
initrd /boot/initramfs-genkernel-x86_64-2.6.25-gentoo-r7

fstab:
# /etc/fstab: static file system information.
#
# noatime turns off atimes for increased performance (atimes normally
aren't # needed; notail increases performance of ReiserFS (at the expense
of storage
# efficiency). It's safe to drop the noatime options if you want and to
# switch between notail / tail freely.
#
# The root filesystem should have a pass number of either 0 or 1.
# All other filesystems should have a pass number of 0 or greater than 1.
#
# See the manpage fstab(5) for more information.
#

# <fs> <mountpoint> <type> <opts>
<dump/pass>

# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/sda1 /boot ext2 noauto,noatime 1 2
/dev/sda5 / ext3 noatime 0 1
/dev/sda6 /opt ext3 noatime 0 1
/dev/sda7 /usr/local ext3 noatime 0 1
/dev/sda8 /home ext3 noatime 0 1
/dev/sda9 none swap sw 0 0
/dev/cdrom /mnt/cdrom audo noauto,ro 0 0
#/dev/fd0 /mnt/floppy auto noauto 0 0

# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
# use almost no memory if not populated with files)
shm /dev/shm tmpfs
nodev,nosuid,noexec 0 0

Ähnliche fragen