Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Installing Gentoo
  • Search

Filesystem couldn't be fixed :(

Having problems with the Gentoo Handbook? If you're still working your way through it, or just need some info before you start your install, this is the place. All other questions go elsewhere.
Post Reply
Advanced search
10 posts • Page 1 of 1
Author
Message
jforce93
n00b
n00b
Posts: 1
Joined: Tue Aug 24, 2010 8:09 pm
Contact:
Contact jforce93
Website

Filesystem couldn't be fixed :(

  • Quote

Post by jforce93 » Tue Aug 24, 2010 8:30 pm

I just installed gentoo on my ibook G4 (it's a powerpc machine) and when I boot up it gives the error "Filesystem couldn't be fixed :(". I went on irc, but the person who was helping me had to go.

I am using ext3 for my root partition

Here is the full error:

Code: Select all

ext2fs_check_if_mount: Can't check if filesystem is mounted due to missing mtab file while determining where /dev/hda4 is mounted.
fsck.ext3: No such file or directory while trying to open /dev/hda3
/dev/hda4:
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), the the superblock 
is corrupt, and you might try running e2fsck with an alternate superblock:
         e2fsck -b 8193 <device>

* Filesystem couldn't be fixed :(

Here is my fstab:

Code: Select all

# /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/hda4 / ext3 noatime 0 1
/dev/hda3 none swap sw 0 0
/dev/cdrom /mnt/cdrom auto noauto,user 0 0
proc /proc proc defaults 0 0
shm /dev/shm tmps nodev,nosuid,noexec 0 0

# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX share memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will 
# use almost no memor if not populated with files
And here is my yaboot.conf:

Code: Select all

## yaboot.conf generated by yabootconfig 1.0.8
##
## run: "man yaboot.conf" for details. Do not make changes until you have!!
##
## For a dual-boot menu, ad one or more of:
## bsd=/dev/hdaX, macos=/dev/hdaY, macosx=/dev/hdaZ

boot=/dev/hda2
device=/pci@f400000/ata-6@d/disk@0:
partition=4
root=/dev/hda4
timeout=30
install=/usr/lib/yaboot/yaboot
magicboot=/usr/lib/yaboot/ofboot
image=/boot/kernel-2.6.33-gentoo-r2
          label=Linux
          read=only
Can someone please help?
Top
msalerno
Veteran
Veteran
User avatar
Posts: 1338
Joined: Tue Dec 17, 2002 6:20 pm
Location: Sweating in South Florida

  • Quote

Post by msalerno » Tue Aug 24, 2010 8:38 pm

fsck.ext3: No such file or directory while trying to open /dev/hda3
Perhaps you have the wrong device specified in the fstab.

Can you read the disk from a livecd?
Top
Hu
Administrator
Administrator
Posts: 24556
Joined: Tue Mar 06, 2007 5:38 am

  • Quote

Post by Hu » Tue Aug 24, 2010 10:55 pm

Using hda series names suggests you are using the old drivers. I suggest you migrate to the libata drivers using the Gentoo install environment, adjust your configuration for the new names, and try again.
Top
cwr
Veteran
Veteran
Posts: 1969
Joined: Sat Dec 17, 2005 11:17 am

  • Quote

Post by cwr » Thu Aug 26, 2010 7:35 am

From the error message, "File system can't be found" seems a better
description than "can't be fixed". I don't know anything about yaboot,
but can it handle an ext3 filesystem, and does the kernel have ext3
drivers built in? (The old hda drivers still work, although strongly
deprecated - I'm using them on this machine.)

Will
Top
groomsi
n00b
n00b
Posts: 20
Joined: Wed Jul 28, 2010 11:08 pm
Location: New York

  • Quote

Post by groomsi » Sat Aug 28, 2010 4:47 pm

I'm having the same problem. I just installed on a dual G5 power mac (64bit kernel, 32bit userland). Everything seemed to go well, but I get the same error at boot except it says '/dev/sda4' (which is what it should say). I can chroot into the system from a livecd, so the drive is OK.

I tried 'yabootconfig --chroot /mnt/gentoo'; it says 'Running mkofboot to make the disk bootable...' and then
'ioctl32(nvsetenv:8680): Unknown cmd fd(3) cmd(20007043){t:'p';sz:0} arg(00000009) on /dev/nvram'
'ioctl32(nvsetenv:9125): Unknown cmd fd(3) cmd(20007043){t:'p';sz:0} arg(44044482) on /dev/nvram'
'Done'

I read somewhere that yabootconfig can be flakey, so I also tried a manual configuration. I edited the config file myself, and when I ran mkofboot I get the same error. Don't know if that makes a difference or not.
P.S. Yaboot can handle etx3, and my kernel has ext3 support built in.
Top
bobroberts1953
n00b
n00b
Posts: 1
Joined: Wed Sep 01, 2010 4:52 am

Did you check mtabs?

  • Quote

Post by bobroberts1953 » Wed Sep 01, 2010 4:59 am

From your error message:

"Can't check if filesystem is mounted due to missing mtab file"

I am chasing a fs mount problem Myself. 5 days into my first install.
Top
Naib
Watchman
Watchman
User avatar
Posts: 6103
Joined: Fri May 21, 2004 9:42 pm
Location: Removed by Neddy
Contact:
Contact Naib
Website

Re: Did you check mtabs?

  • Quote

Post by Naib » Fri Sep 03, 2010 8:59 am

bobroberts1953 wrote:From your error message:

"Can't check if filesystem is mounted due to missing mtab file"

I am chasing a fs mount problem Myself. 5 days into my first install.
http://www.gentoo.org/doc/en/handbook/h ... =1&chap=10
To install GRUB you will need to issue the grub-install command. However, grub-install won't work off-the-shelf since we are inside a chrooted environment. We need to create /etc/mtab which lists all mounted filesystems. Fortunately, there is an easy way to accomplish this - just copy over /proc/mounts to /etc/mtab, excluding the rootfs line if you haven't created a separate boot partition. The following command will work in both cases:

Code Listing 2.5: Creating /etc/mtab
# grep -v rootfs /proc/mounts > /etc/mtab
Now we can install GRUB using grub-install:
did you do this?
#define HelloWorld int
#define Int main()
#define Return printf
#define Print return
#include <stdio>
HelloWorld Int {
Return("Hello, world!\n");
Print 0;
Top
lindegur
Apprentice
Apprentice
User avatar
Posts: 293
Joined: Sat Aug 14, 2004 10:20 pm
Location: Swiss mountains
Contact:
Contact lindegur
Website

  • Quote

Post by lindegur » Sat Sep 04, 2010 4:13 pm

I had the same error on an old machine with an old gentoo installation and I tried to fix the file system until the machine was dead :oops:
But now I have an old machine with a new gentoo installation :lol:

The problem was the new kernel 2.6.35-gentoo-r4 and probably a combination with a new udev (as other posts indicate).
The IDE hard disks are no longer controlled by

Code: Select all

< > ATA/ATAPI/MFM/RLL support (DEPRECATED)  --->    
but are controlled by

Code: Select all

 <*> Serial ATA and Parallel ATA drivers  --->   
and stuff that you have on the motherboard

Code: Select all

 <*>       VIA PATA support 
 <*>     Generic ATA support
The disks are therefore now called something as /dev/sda1 and nomore /dev/hda1.
To have the system running also

Code: Select all

General setup  --->     
[ ] enable deprecated sysfs features to support old userspace tools      
needs to be removed
Top
groomsi
n00b
n00b
Posts: 20
Joined: Wed Jul 28, 2010 11:08 pm
Location: New York

  • Quote

Post by groomsi » Mon Sep 06, 2010 12:52 pm

I changed the kernel config as recommended and the machine booted first try. Thanks! I didn't do anything to the /etc/mtab file; I don't think that the previous post mentioning the x86 handbook applies to us because we are on ppc and are not using GRUB.
Top
drs
n00b
n00b
Posts: 6
Joined: Thu Mar 11, 2004 6:12 pm

very, very helpful...

  • Quote

Post by drs » Fri Jan 07, 2011 6:17 pm

This was quite helpful to me... thanks!
Top
Post Reply

10 posts • Page 1 of 1

Return to “Installing Gentoo”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Authors
Gentoo is a trademark of the Gentoo Foundation, Inc. and of Förderverein Gentoo e.V.
The contents of this document, unless otherwise expressly stated, are licensed under the CC-BY-SA-4.0 license.
The Gentoo Name and Logo Usage Guidelines apply.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy