Discussion Locked

Unable to boot Linux

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
i am having Redhat Linux 7.0, Unfortunately my file system is corrupted. whenever i am booting it asks to repaire the filesystem. I tried with fsck command. but it's not repairing and coming out. Now i am unable to work in linux. i am having boot disk also. how can i repaire the file system. can u give correct syntax and some other soltion pls.

5 replies

by cpfeiffe

You may have a damaged superblock. Are you seeing any errors like that? If you need to replace the superblock you can do so with fsck -o -b=# where # is the new Superblock to use. You can determine what alternate superblocks are available with the command newfs -Nv.

If you have the boot disk that should be enough to get you booted with some basic commands available. You will then be able to mount the filesystem(s) in question or run fsck from there. There are also repair utilities available, but you may have to lose some data to get back up.

I hope this helps. Good luck.

by taisn

Hi there

If none of the options in fsck work, even fsck -a which check the filesystem automatically, then you need to re-install Linux without formatting the existing Linux partition(s) in Custom-mode installation. However, for this you need to remember the existing mount points of your Linux system like (/ /dev/sda1; /var /dev/sda5 etc..).
You can get the mount points info while reading the file /etc/fstab, in case you are able to boot Linux in single mode by executing the lilo command at boot prompt (LILO: linux single)

Regards

Tahir
Pakistan

This discussion is closed to new replies.