Ask Your Question
2

ext4 Filesystem check failure... -Fedora 16

asked 2012-03-02 00:36:03 -0500

Optico gravatar image

updated 2014-09-28 15:44:41 -0500

mether gravatar image

I received this error after installing fedora 16 along side with my windows 7 in a dual boot configuration. Because of this, I'm having issues getting into Fedora 16.

The full error is:

ext4 Filesystem check failure on/dev/mapper/vgblackice-lvroot:

Operational error.

Errors like this usually mean there is a problem with the filesystem that will require user interaction to repair. Before restarting installation reboot to rescue mode or another system that allows you to repair the filesystem interactively. Restart installation after you have corrected the problems on the filesystem.

I'm relatively new to the whole linux thing, and don't know how to reboot into Fadora 16, in rescue mode. Nor would I know what to do after I got to rescue mode.

Could some one explain and or help me a little? I'd like to get into the linux community more. I'd like to be able to interact and give back what I already do know as well.

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
1

answered 2012-03-05 15:50:56 -0500

BRPocock gravatar image

The easiest (most user-friendly) way to do this, will be to boot from a LiveCD or LiveUSB.

Once you're on the LiveCD, you can run the program Disk Utility (also accessible by hitting Alt+F2 and entering: palimpsest, if you can't find it in the Applications area); locate the volume referenced in the error (VG blackice LV root) in the left side, and then choose Check Filesystem (Check and repair the filesystem) on the right side. For safety, you will probably want to actually do this to every Linux volume on the machine — you may also need/want to click Unmount Volume (Unmount the volume) before checking each one.

You can also ask the disc to perform a self-test from within Disk Utility.

If you don't have a LiveCD/LiveUSB available, you can also:

  • Reboot or power up the machine;
  • When you see the Grub message (“Starting Fedora in 2 seconds…”) hit [TAB] to bring up the Grub menu. (You can also just hit [Tab] (pause) [Tab] (pause) [Tab] while the computer is doing its self-check, to make sure you don't miss your chance…)
  • On the Grub screen, select your Fedora boot option (probably already highlighted), and look at the bottom of the screen:
    • If Grub says you can, press a to append, or e to edit the command. (Depends on your Grub version.)
    • If you've password-protected Grub, press p, enter your password, and then use a or e, whichever one your Grub has.
  • On the very end of the line that starts linux and contains something about /boot/vmlinuz-3 (and a lot more, probably), add a space and the word single
  • Press [Enter] and follow any instructions by Grub (some versions, you have to hit b to boot after editing the line)

You'll reach a prompt, probably asking for the root password. You may be prompted first for your hard disc's passphrase, if it's encrypted. (Depending on “stuff,” you might instead get prompted later.)

Once you reach that point: - Type lvm vgs should show your volume groups (e.g. VG blackice). - Do lvm vgchange --available y vgblackice to bring each volume group up - Type lvm lvs to list the volumes in those groups. They'll display in a sort-of-backwards order; e.g. lvroot vgblackice or similar. - Do lvm lvchange --available y vgblackice/lvroot to bring each volume online. You'll have to reorder the names to be VolumeGroupName/VolumeName form. - Once all the groups are online, ls /dev/mapper should show a control magic file, and a link for each of the volumes, this time written as something like vgblackice-lvroot - For each volume there, do fsck /dev/mapper/vgblackice-lvroot (with the correct name inserted). When in doubt (if you're prompted for anything), generally, hitting “Enter” is a safe'ish bet.

You might also (while you're in the rescue shell) try to ask your hard drive if it's failing:

  • smartctl --scan will list any devices that have SMART capability ...
(more)
edit flag offensive delete link more

Question Tools

Stats

Asked: 2012-03-02 00:36:03 -0500

Seen: 5,042 times

Last updated: Aug 20 '12