Tuesday, 25 September 2012

Linux Real Time Issues-5

File system check failed. Won't boot.


Here, try this one.

Bootup from Live CD, than go to terminal and:

sudo blkid

it will return something like:

/dev/sda5: UUID="eae4ddca-b9b1-48d4-abba-e26bc44027a4" TYPE="ext4"
/dev/sda6: UUID="7ff08df9-693a-4841-a459-b934c672a821" TYPE="swap"

(This is mine result, sda5 is my ubuntu partition).

Ok

copy its UUID

Than open on your filesystem file /etc/fstab

Search for your sda and paste UUID there. (replace wrong UUID number)


---------------------------------------------------------------------------------------
root file system check failed

Been having a few issues. Basically I'm locked of my laptop.

It says: Root filesystem check failed
A maintenance shell will now be started
CONTROL-D will terminate this shell and reboot the system
root@charley-laptop:~# 



It looks like you need to run fsck on your root partition. You can do this from a live CD (make sure the partition is not mounted) or you can do it from the maintenance shell if you remount the root partition read only.

In either case just make sure the root partition is not mounted read/write.

Code:
fsck /dev/sdX
where X is the partition for /. You can do a trail run with the -N switch.



It 'n' to not ignore the error.

Run fsck again but try using a backup superblock instead of the main one. That one may be corrupted.

Run the trail run with the -N switch to see what it says.


---------------------------------------------------------------------------------------------
So you using GDM. It sounds like it may be corrupted. What happens if you drop to a virtual terminal (ctrl + alt + f1) and restart GDM ?

Code:
sudo service gdm restart
or
Code:
sudo /etc/init.d/gdm restart

------------------------------------------------------------------------------------------------------
When I boot at this moment I get the following message during the boot,
when the file system of sda4 (the new installation) is being checked.

================================================== =========================

* Checking file systems...
1176

fsck 1.40.8 (13-mar-2008)
fsck.ext3: Unable to resolve 'UUID=88202516-902e-4382-9291-680daed83138'
fsck died with exit status 8
[fail]
* File system check failed.
A log is being saved in /var/log/fsck/checkfs
if that location is writable.
please repair the file system manually.

* A maintenance shell will now be started.

CONTROL-D will terminate this shell and resume system boot.

bash: no job control in this shell
bash: groups: command not found
bash: lesspipe: command not found
bash: command: command not found
bash: the: command not found
bash: dircolors: command not found
bash: command: command not found
bash: the: command not found
root@ultraros-desktop:~#

================================================== ========================

When I press "CONTROL-D" or "Exit" or "Reboot" the system boots up

and I can use her, but I prefer to solve this so I can boot the normal way.

he log file (/var/log/fsck/checkfs) contains

================================================== ===========================

Log of fsck -C3 -R -A -a
Mon Sep 8 15:18:30 2008

fsck 1.40.8 (13-Mar-200
fsck.ext3: Unable to resolve 'UUID=88202516-902e-4382-9291-680daed83138'

fsck died with exit status 8

Mon Sep 8 15:18:30 2008
----------------
Code:
cat /etc/fstab
Code:
joop@UltraRos-desktop:~$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
# /dev/hda4
UUID=620f6373-ceb4-43d2-a5d8-1f58338de857 /               ext3    defaults,errors=remount-ro 0       1
# /dev/hda3
UUID=88202516-902e-4382-9291-680daed83138 /media/hda3     ext3    defaults        0       2
# /dev/hda5
UUID=76D0374CD037123B /media/hda5     ntfs    defaults,umask=007,gid=46 0       1
# /dev/hda6
UUID=13DFA768E0039D61 /media/hda6     ntfs    defaults,umask=007,gid=46 0       1
# /dev/hda1
UUID=22de6324-6467-428b-9d2f-4074c5f39b8c none            swap    sw              0       0
# /dev/hda7
UUID=ed74fe7a-4758-4fbf-a753-0b2416d064c4 none            swap    sw              0       0
/dev/hdc        /media/cdrom0   udf,iso9660 user,noauto,exec 0       0
/dev/hdd        /media/cdrom1   udf,iso9660 user,noauto,exec 0       0
/dev/fd0        /media/floppy0  auto    rw,user,noauto,exec 0       0
joop@UltraRos-desktop:~$
================================================== ===========================

I hope this will help to find a solution.

ok, this line "# /dev/hda3
UUID=88202516-902e-4382-9291-680daed83138 /media/hda3 ext3 defaults 0 2" has the possibly bad uuid entry, please post the output of this command

Code:
sudo vol_id --uuid /dev/hda3

No comments:

Post a Comment