LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   SUSE / openSUSE (https://www.linuxquestions.org/questions/suse-opensuse-60/)
-   -   fsck failure , fix manually ( suse9.2 stop while entering to os) (https://www.linuxquestions.org/questions/suse-opensuse-60/fsck-failure-fix-manually-suse9-2-stop-while-entering-to-os-387359/)

june 11-28-2005 03:52 PM

fsck failure , fix manually ( suse9.2 stop while entering to os)
 
hello !

i got problem with my 9.2 suse server :
fsck failed. Please repair manually and reboot. The root system is currently
mounted read only. To remount it read-write do
mount -n -o remount, rw/

on boot i access to runlevel 1 ,
fsck -a -p /dev/hda1
fsck -A -t ex3 -a
fsck -A -t ex2 - a
fsck -A -t swap -a
fsck -y /dev/hda2
fsck -y /dev/hda3
fsck /dev/hdd1
i tryed this commands and non helped , some returned error with command or file system is read only , some made a short scan or showed dirs or date and time outputs.

on filesafe it start automatikly scan but stuck .

how can i solve this ?
i dont have suse cds for emergency recovery .

thanks in advanced

Juni

jailbait 11-28-2005 04:56 PM

"how can i solve this ?"

You cannot run fsck against a mounted file system. So boot a live CD. Some live CDs will mount your partitions as read only so you have to umount the partition before running fsck. You also have to tell fsck the file system type. Then run fsck against every Linux partition except swap. Assuming that all four partitions you mentioned are non-swap Linux partitions formatted as ext3 then the commands you would run are:

umount /dev/hda1
fsck -y -t ext3 /dev/hda1

umount /dev/hda2
fsck -y -t ext3 /dev/hda2

umount /dev/hda3
fsck -y -t ext3 /dev/hda3

umount /dev/hdd1
fsck -y -t ext3 /dev/hdd1

See:
man fsck

--------------------------------
Steve Stites


All times are GMT -5. The time now is 02:13 PM.