Autor |
Nachricht |
|
Titel: fsck error during boot.
Verfasst am: 22.05.2006, 22:39 Uhr
|
|
Anmeldung: 05. Jan 2006
Beiträge: 42
Wohnort: Athens
|
|
i get an fsck error during boot time.
(picture is not that good quality.)
i manually checked the disks with fsck.ext3 and fsck.reiserfs and it went ok. no errors shown. but after reboot i get the same message again. i tried changing fstab switches to 0 but still nothing changes.
fstab contents :
Zitat:
root@0[etc]# cat fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
usbfs /proc/bus/usb usbfs devmode=0666 0 0
/dev/hda1 / ext3 defaults,errors=remount-ro 0 0
/dev/hda3 /home ext3 defaults 0 0
/dev/sda1 /music reiserfs defaults 0 0
/dev/sdb /media/usb auto user,noauto 0 0
/dev/sdb1 /media/usb1 auto user,noauto 0 0
/dev/hda2 none swap sw 0 0
/dev/hdc /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/hdd /media/cdrom1 udf,iso9660 user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
# none /sys sysfs defaults 0 0
nothing was written to /var/log/fsck/checkfs (old contents..)
i'm starting to believe its the last upgrade that updated e2fsprogs. (anyone else with the same message?)
system is running kanotix64 (2.6.16.16-slh64-smp-1).
anyhelp much appreciated..
Dimitris |
_________________ Hey Bobby Marley
Sing Something Good To Me
This World Go Crazy
It's An Emergency
|
|
|
|
|
|
Titel: fsck error during boot.
Verfasst am: 23.05.2006, 00:03 Uhr
|
|
Anmeldung: 09. Jan 2006
Beiträge: 1720
|
|
run the CD with init 2
Than do the fschk from there. May be the bootloader grub or vmlinuz or initrd is damaged. and Do it with Option -f.. |
|
|
|
|
|
|
Titel: RE: fsck error during boot.
Verfasst am: 24.05.2006, 07:31 Uhr
|
|
Anmeldung: 05. Jan 2006
Beiträge: 42
Wohnort: Athens
|
|
it seems that many binaries are damaged after all. probably due to a power shortage or something. (?)
even though many of the executable binaries have the right permissions with the "x" and all, some of them give the same error message.. " cannot execute binary file ".
booting from live cd i see those executables in error, having as attribute "plain text document" instead of "executable ..". (in konqueror). is there some way to change that ? |
_________________ Hey Bobby Marley
Sing Something Good To Me
This World Go Crazy
It's An Emergency
|
|
|
|
|
|
Titel: RE: fsck error during boot.
Verfasst am: 24.05.2006, 09:11 Uhr
|
|
Anmeldung: 09. Jan 2006
Beiträge: 1720
|
|
First of all, you have to mount the damemged system writeable.
For a single file chmod 770 filename will do the job from the kommandline.
from GUI(kde) open Konqueror right-klick on the file settings and then permissions. That is a bit more comfortable. |
|
|
|
|
|
|
Titel: RE: fsck error during boot.
Verfasst am: 25.05.2006, 06:12 Uhr
|
|
Anmeldung: 05. Jan 2006
Beiträge: 42
Wohnort: Athens
|
|
thank you very much for your answer, but the problem was the wrong file attributes and not file permissions. what i did was rename the broken executables and copy originals from the k64 2005-04 live cd and from the debian sid amd64 live cd and that worked. i booted in succesfully.
i also found out that some libs were also damaged and i plan to reinstall almost anything just to have the system back to normal... |
_________________ Hey Bobby Marley
Sing Something Good To Me
This World Go Crazy
It's An Emergency
|
|
|
|
|
|
Titel: RE: fsck error during boot.
Verfasst am: 25.05.2006, 07:24 Uhr
|
|
Anmeldung: 09. Jan 2006
Beiträge: 1720
|
|
with chmod you change the fileattributes and permissions with one command. rwxrwxrwx the x-attrib is to make a file executable even it ist is plain-text.
Each rwx-goup stands for owner group otheres and are the permisions the X is the special case. and stands always for Executable.
The Uid sid are the attributes how a user/group is handeled, to deal with the files |
|
|
|
|
|
|
|
Titel:
Verfasst am: 25.05.2006, 20:26 Uhr
|
|
Anmeldung: 05. Jan 2006
Beiträge: 42
Wohnort: Athens
|
|
thank you very much for the explanation...
anyway, i already reinstalled those "broken" libraries and everything seems to be back to normal again.
Dimitris |
_________________ Hey Bobby Marley
Sing Something Good To Me
This World Go Crazy
It's An Emergency
|
|
|
|
|
|