LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   e2fsck -p /dev/sda2 (https://www.linuxquestions.org/questions/linux-newbie-8/e2fsck-p-dev-sda2-766688/)

jec25 11-04-2009 12:48 AM

e2fsck -p /dev/sda2
 
hi,

I've got a system that was running well until I restarted, thats when I get the error message.

fsck.reiserfs /dev/sda2 failed (status 0x4). Run Manually.

fsck for root files system (/) failed.
Please repair it manually and reboot.
The root file system is currently mounted read-only.

I've try to run e2fsck -p /dev/sda2, but I've got this message;

/dev/sda2 is mounted.

WARNING!!! Running e2fsck on a mounted filesystem may cause SEVERE filesystem damage.

Do you really want to continue (y/n)?



Is this a normal display? Is it safe to continue?
Many Thanks.

Mr-Bisquit 11-04-2009 12:59 AM

Don't run it on a mounted system.
Use a Livecd with reiserfs programs and tools.
Don't use e2fsck on a system that isn't ext2,3, or 4, it will cause damage.

AngTheo789 11-04-2009 03:00 AM

On some system fsck is a wrapper that leads to the proper utility. e2fsck is certainly something related to the ext filesystems, so rather check for the ReiserFS tool. The previous poster is right - mount from a rescue or live CD/DVD, to do the repair actions.

jec25 11-04-2009 07:02 PM

1 Attachment(s)
My problem is I don't have the SuSe 9.0 Live CD, though I've got a SuSe 10.0. I tried the action per attached image but got another error. Can you please aadvise what other steps I need to take? Many Thanks.

Mr-Bisquit 11-05-2009 06:48 AM

Any LiveCD with the proper reiser fsck tools updated will do .

onebuck 11-05-2009 07:46 AM

Hi,

You should be able to pass the 'single' parameter to the kernel at boot time. Or get the install CDDVD or a GNU/Linux LiveCD.

:hattip:

jec25 11-05-2009 08:50 PM

Hi,
I tried the SuSe 10.1 Live CD but it hangs after I ran it on Rescue System. In another thread I've found a case with the same problem and below is the recommendation;

someone said comment(#) the error partition on /etc/fdisk but what if the partition is your root partition
note these things if you have a problem

a. login as how login gives you access to your system
b. #mount -n -o remount,rw /
c. #e2fsck -p /dev/hda3 (here hda3 my root )
d. if it does not work
e. #fsck /dev/hda6 (respond +ve for all the questions i.e. default answer)
f. Neglect any last message and just reboot
g. Now it should work in case of hard disk
h. If you have any problem with flash drive it is wise to comment out (#) in /etc/fstab with first executing (b.) as above


I've tried to follow the instruction and I had this display;

(none):~ # e2fsck -p /dev/sda2
/dev/sda2 is mounted.

WARNING!!! Running e2fsck on a mounted filesystem may cause SEVERE filesystem damage.

Do you really want to continue (y/n)?



Is this a normal display? Is it safe to continue? I'm totally new to Linux and I'm struglling to find a solution to my problem. Please help.
Many Thanks.


All times are GMT -5. The time now is 11:48 AM.