Cannot boot from harddisc. How do I run a filesystem check using a Linux LiveCD?

Asked by Asta Lyberth

Binary package hint: firefox-3.0

When I try to boot from harddisc, I get these info:

sda1 contains system with errors, check forced.

Returning message:

Unexpected Inconsistency: RUN fsck MANUALLY without >a or >p options (cannot find the short straight line on this live cd). Fsck died with exit status 4.

An automatic file system check on the root system failed.

ProblemType: Bug
Architecture: amd64
DistroRelease: Ubuntu 9.04
MediaBuild: Ubuntu 9.04 "Jaunty Jackalope" - Release amd64 (20090420.1)
Package: firefox-3.0 3.0.8+nobinonly-0ubuntu3
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: firefox-3.0
Uname: Linux 2.6.28-11-generic x86_64

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Asta Lyberth
Solved:
Last query:
Last reply:

This question was originally filed as bug #405952.

Revision history for this message
Asta Lyberth (astalyberth) said :
#1
Revision history for this message
t405 (tent405) said :
#2

The question should be "How do I run a filesystem check using a Linux LiveCD?"

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

It should also NOT relate to firefox, as it is related to bootup.

Boot to LiveCD and umount ALL the internal partitions, if you run:

sudo fdisk -l; mount

You will see the partitions as well as if they are mounted or not. You cannot safetly fsck a partition which is mounted.

You will unmount them with:

sudo umount /dev/<name of partition>

(NOTE: it is umount and not unmount, this is NOT a typo)

once all are unmounted

you are free to run:

sudo fsck -Va /dev/<partition name>

You will need to check all partitions just in case.

You could also not the manufacturer of the drive and downoad the ultimate boot CD (www.ultimatebootcd.com) and scan the drive with the manufacturers too to ensure that it is physically ok.

Revision history for this message
Asta Lyberth (astalyberth) said :
#4

In the terminal I wrote "sudo fsck /dev/sda1" as - I think it was you, shawn, who suggested that as the first suggestion. It worked.

fsck and this command solved my problem, shawn! (If not for this help possibility it would likely have taken me days to resolve by searching, reading, reinstalling, regretting, waiting for some computer minded person to have the time to answer me when I was not busy with something else and could fully concentrate on the questions, explanations, procedures, etc. I can't see how I ever would relate 'root problems' with fsck, dev, sda1....).

This is an expression of my gratefulness for you guys out there helping one like me with a head far from being computer minded! Thank You so much!!!

I like the feeling of having a sense of what is installed on the computer I use daily together with the less spying possibilities and less commercial minded attitude than wINdoWs represents . Thus I stick to Linux/ Ubuntu even though I sometimes think that I make too many errors and so totally am relying upon others helpfulness in cases like this, that I ought to go back to wINdoWs where my wrong desicions most likely not will be fatal to the system. But a sense of freedom here draws me! And with both feet on the ground my sense of what it is all about will eventually collect to something more and more useful for my purpose and use of the computer!

:-(
:-|
:-)
;-D