Hi
i also just installed gentoo (2.6.36-gentoo-r5)
but when i rebooted it, i got an error message
Code: Select all
CHECKING ROOT FILESYSTEM...
fsck.ext3: No such file or directory while trying to open /dev/sda3
/dev/sda3:
The superblock could not be read or does not describe a correct ext2 filesystem. If the device is valid and it really contains an ext2 filesystem (and not swap or ufs or something else), then the superblock is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>
* filesystem could not be fixed :(
But when i booted again with the livecd, i saw that fsck.ext3 does exist (in /sbin on /dev/sda3)
Here's my fstab:
Code: Select all
# <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/sda3 / ext3 noatime 0 1
/dev/sda2 none swap sw 0 0
#/dev/cdrom /mnt/cdrom auto 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
I checked with df -T and /dev/sda3 really is ext3:
Code: Select all
livecd ~ # mount /dev/sda3 /mnt/gentoo/
livecd ~ # df -T
Filesystem Type 1K-blocks Used Available Use% Mounted on
tmpfs tmpfs 12344588 29588 12315000 1% /
/dev/sr0 iso9660 116744 116744 0 100% /mnt/cdrom
/dev/loop0
squashfs 86784 86784 0 100% /mnt/livecd
udev tmpfs 10240 216 10024 3% /dev
tmpfs tmpfs 12344588 6152 12338436 1% /mnt/livecd/lib64/firmware
tmpfs tmpfs 12344588 0 12344588 0% /mnt/livecd/usr/portage
/dev/sda3 ext3 122509844 2683280 113603388 3% /mnt/gentoo
When i run e2fsck as suggested in the error message, i get almost the same error message as before:
Code: Select all
livecd ~ # e2fsck -b 8193 /dev/sda3
e2fsck 1.41.9 (22-Aug-2009)
e2fsck: Bad magic number in super-block while trying to open /dev/sda3
The superblock could not be read or does not describe a correct ext2
filesystem. If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>
... why does it think /dev/sda3 is ext2?
Actually, after i had this error, i completely reinstalled gentopo again, (deleting and then creating all the partitions new)
but after installation the same error happened.
Code: Select all
livecd ~ # uname -a
Linux livecd 2.6.31-gentoo-r10 #1 SMP Thu Apr 8 13:09:43 UTC 2010 x86_64 Intel(R) Core(TM) i7 CPU X 980 @ 3.33GHz GenuineIntel GNU/Linux
my grub:
Code: Select all
livecd ~ # cat /mnt/gentoo/boot/grub/grub.conf
# This is a sample grub.conf for use with Genkernel, per the Gentoo handbook
# http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=10#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
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
title Gentoo Linux 2.6.36-r5
root (hd0,0)
kernel /boot/kernel-genkernel-x86_64-2.6.36-gentoo-r5 root=/dev/ram0 real_root=/dev/sda3
initrd /boot/initramfs-genkernel-x86_64-2.6.36-gentoo-r5
# vim:ft=conf:
Does this mean the harddisk is broken?
If not, how can i get this running?
Thank You
Jody