/dev/sda4 contains a filesystem with errors

Asked by Doepie

Hi

When booting up into Ubuntu 8.04 i386, I get the following error:

"/dev/sda4 contains a file system with errors, check forced.

A check then runs and after 89% fails with the following error:

"unexpected inconsistency - run fsck manually."

If I Control-D afterwards the machine boots up fine.

I'm a complete newbie, but base on what I could find on the NET, it seems there is something wrong with the UUID allocated?

:~$ ls -l /dev/disk/by-uuid
total 0
lrwxrwxrwx 1 root root 10 2008-05-18 13:04 3368b2fd-5550-4a74-bed0-5490bc666c0c -> ../../sda2
lrwxrwxrwx 1 root root 10 2008-05-18 13:04 4b709b9a-f9a6-4a58-96a6-93e70a094ad2 -> ../../sda3
lrwxrwxrwx 1 root root 10 2008-05-18 13:04 b2543ff9-ef8d-468e-a509-4de5b64b0389 -> ../../sda4
lrwxrwxrwx 1 root root 10 2008-05-18 13:04 CE84614A8461365D -> ../../sda1

:~$ ls -l /dev/disk/by-uuid
total 0
lrwxrwxrwx 1 root root 10 2008-05-18 13:04 3368b2fd-5550-4a74-bed0-5490bc666c0c -> ../../sda2
lrwxrwxrwx 1 root root 10 2008-05-18 13:04 4b709b9a-f9a6-4a58-96a6-93e70a094ad2 -> ../../sda3
lrwxrwxrwx 1 root root 10 2008-05-18 13:04 b2543ff9-ef8d-468e-a509-4de5b64b0389 -> ../../sda4
lrwxrwxrwx 1 root root 10 2008-05-18 13:04 CE84614A8461365D -> ../../sda1

--------------------------------------------------

Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x95aa95aa

   Device Boot Start End Blocks Id System
/dev/sda1 * 1 5476 43985938+ 7 HPFS/NTFS
/dev/sda2 5477 5849 2996122+ 82 Linux swap / Solaris
/dev/sda3 5850 6371 4192965 83 Linux
/dev/sda4 6372 9729 26973135 83 Linux

Any help will be appreciated.

Question information

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

This question was originally filed as bug #231578.

Revision history for this message
Ralph Janke (txwikinger) said :
#1

Thank you for taking the time to report this issue and helping to make Ubuntu better. Examining the information you have given us, this does not appear to be a bug report so we are closing it and converting it to a question in the support tracker. We appreciate the difficulties you are facing, but it would make more sense to raise problems you are having in the support tracker at https://answers.launchpad.net/ubuntu if you are uncertain if they are bugs. For help on reporting bugs, see https://help.ubuntu.com/community/ReportingBugs .

Revision history for this message
Best Ralph Janke (txwikinger) said :
#2

Thanks for this question.

This looks like a inconsistency in the filesystem on /dev/sda4. This can be either caused by an unclean shutdown, or because of hardware problems.

The best thing in this situation to do, is to boot from a LiveCD, open a terminal, and run the command

sudo fsck /dev/sda4

and hope that the filesystem is repaired properly.

I hope this helps.

Revision history for this message
Doepie (doepie) said :
#3

Thanks Ralph Janke, that solved my question.