View previous topic :: View next topic |
Author |
Message |
adrien1977 n00b
Joined: 03 May 2005 Posts: 38 Location: Chicago (US)
|
Posted: Wed May 04, 2005 6:36 am Post subject: [SOLVED]Filesystem couldn't be fixed |
|
|
Hi
I am trying to install gentoo and I am a newbie at it.
After fixing a couple issues with the framebuffer I was able to boot (well almost) until I get some error
For info
I have /dev/hda6 as boot ext2
/dev/hda7 as swap
/dev/hda8 as / in reiserfs
this is what i see
* Mounting proc at /proc [OK]
* Mounting sysfs at /sys [OK]
* Mounting devpts at /dev/pts [OK]
* starting devfsd...
/sbin/rc: line 271: /sbin/devfsd: No such file or directory [!!]
*Activating (possible swap) [OK]
* Remounting root filesystem read-only (if necessary) [OK]
* Checking root filesystem...
Failted to open the device '/dev/hda8' : No such file or directory
*File system couldn't be fixed
I've been trying to change things in the menuconfig and recompile but nothing
I need help on that one
Thanks a bunch
A.
Last edited by adrien1977 on Wed May 04, 2005 5:59 pm; edited 1 time in total |
|
Back to top |
|
|
Gherald Veteran
Joined: 23 Aug 2004 Posts: 1399 Location: CLUAConsole
|
Posted: Wed May 04, 2005 6:40 am Post subject: |
|
|
boot from the livecd, mount everything and chroot, then post the output of:
fdisk -ls
cat /boot/grub/grub.conf
cat /etc/fstab |
|
Back to top |
|
|
adrien1977 n00b
Joined: 03 May 2005 Posts: 38 Location: Chicago (US)
|
Posted: Wed May 04, 2005 6:52 am Post subject: |
|
|
here it is
Thanks for your help
Code: |
Disk /dev/hda: 60.0 GB, 60011642880 bytes
255 heads, 63 sectors/track, 7296 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 1 6 48163+ de Dell Utility
/dev/hda2 * 7 3831 30724312+ 7 HPFS/NTFS
/dev/hda3 6893 7295 3237097+ db CP/M / CTOS / ...
/dev/hda4 3832 6892 24587482+ f W95 Ext'd (LBA)
/dev/hda5 3832 5106 10241406 7 HPFS/NTFS
/dev/hda6 * 5107 5125 152586 83 Linux
/dev/hda7 5126 5288 1309266 82 Linux swap / Solaris
/dev/hda8 5289 6892 12884098+ 83 Linux
Partition table entries are not in disk order
Disk /dev/sda: 128 MB, 128450048 bytes
8 heads, 32 sectors/track, 979 cylinders
Units = cylinders of 256 * 512 = 131072 bytes
Device Boot Start End Blocks Id System
/dev/sda1 1 979 125263+ 6 FAT16
|
Quote: |
# /etc/fstab: static file system information.
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/fstab,v 1.14 2003/10/13 20:03:38 azarah Exp $
#
# 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 and tail freely.
# <fs> <mountpoint> <type> <opts> <dump/pass>
# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/hda6 /boot ext2 default,noatime 1 1
/dev/hda8 / reiserfs noatime 0 0
/dev/hda7 none swap sw 0 0
/dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro 0 0
#/dev/fd0 /mnt/floppy auto noauto 0 0
# NOTE: The next line is critical for boot!
none /proc proc defaults 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)
# Adding the following line to /etc/fstab should take care of this:
none /dev/shm tmpfs defaults 0 0
|
Quote: |
#
# Sample boot menu configuration file
#
# Boot automatically after 30 secs.
timeout 30
# By default, boot the first entry.
default 0
# Fallback to the second entry.
fallback 1
#splashimage
splashimage=(hd0,5)/grub/splash.xpm.gz
# For booting Windows XP
title Windows XP Professional
rootnoverify (hd0,1)
makeactive
chainloader +1
title Linux Gentoo kernel-2.6.11-gentoo-r6
root (hd0,5)
kernel /kernel-2.6.11-gentoo-r6 root=/dev/hda8 video=1280x800-32@60
|
|
|
Back to top |
|
|
adrien1977 n00b
Joined: 03 May 2005 Posts: 38 Location: Chicago (US)
|
Posted: Wed May 04, 2005 7:05 am Post subject: |
|
|
looks like it executes a file called rc in the /sbin/ directory
I do not know if this would help
Thanks |
|
Back to top |
|
|
Gherald Veteran
Joined: 23 Aug 2004 Posts: 1399 Location: CLUAConsole
|
Posted: Wed May 04, 2005 7:18 am Post subject: |
|
|
Ah yes, the missing /sbin/devfsd is the problem.
You could try emerging devfsd ... but, what profile are you using? (just post emerge --info) |
|
Back to top |
|
|
adrien1977 n00b
Joined: 03 May 2005 Posts: 38 Location: Chicago (US)
|
Posted: Wed May 04, 2005 7:25 am Post subject: |
|
|
Code: |
Gentoo Base System version 1.4.16
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.6.11-gentoo-r3 i686)
=================================================================
System uname: 2.6.11-gentoo-r3 i686
Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Mar 11 2005, 17:34:27)]
dev-lang/python: 2.3.4-r1
sys-apps/sandbox: [Not Present]
sys-devel/autoconf: 2.59-r6, 2.13
sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils: 2.15.92.0.2-r1
sys-devel/libtool: 1.5.10-r4
virtual/os-headers: 2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo/ ftp://gentoo.chem.wisc.edu/gentoo/ http://gentoo.mirrors.tds.net/gentoo ftp://gentoo.mirrors.tds.net/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X aac alsa apache2 apm arts avi berkdb bitmap-fonts bzlib cdr crypt cups dga directfb divx4linux dvd dvdread emboss encode fbcon foomaticdb fortran gdbm gif gphoto2 gpm imlib ipv6 java javascript jpeg kde libg++ libwww mad mikmod motif mozilla mp3 mpeg msn ncurses nls oggvorbis openal opengl oss pam pda pdflib perl png python qt quicktime readline samba scanner sdl spell ssl svga tcpd truetype truetype-fonts type1-fonts userlocales v4l wifi x86 xml2 xmms xv xvid yahoo zlib userland_GNU kernel_linux elibc_glibc"
Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
|
|
|
Back to top |
|
|
adrien1977 n00b
Joined: 03 May 2005 Posts: 38 Location: Chicago (US)
|
Posted: Wed May 04, 2005 7:40 am Post subject: |
|
|
ok, that was the problem
now I am getting
* Mounting local filesystems....
mount: wrong fs type, bad option, bad superblock on /dev/hda6 or too many mounted file system
*some local filesystem failed to mount |
|
Back to top |
|
|
adrien1977 n00b
Joined: 03 May 2005 Posts: 38 Location: Chicago (US)
|
Posted: Wed May 04, 2005 7:46 am Post subject: |
|
|
solved.
It was a problem in the fstag
thanks |
|
Back to top |
|
|
Gherald Veteran
Joined: 23 Aug 2004 Posts: 1399 Location: CLUAConsole
|
Posted: Wed May 04, 2005 7:03 pm Post subject: |
|
|
2005.0 is supposed to use udev by default (instead of devfsd)... did you follow any instructions about udev? |
|
Back to top |
|
|
|