Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
This is continuation of my earluer posts....rm command worls fine...so I booted using a boot disk...mounted the root partition...and deletd some files. When I reboot....its the same probems....it says bad block...or something like that...and asks me to provide root password for maintenance. When I give the password, it shows:
(Repair Filesystem) 1 #
I assumed its asking me yes or no....and said yes....and I jsut see a screen with lots of "y" scrolling below one another forever. Is the space still not sufficient or what is going on here. Plz help.
I gave the folllowing command:
(Repair filesystem) 1 # fsck
It shows:
fsck 1.32 (09-Nov-2002)
WARNING: Your /etc/fstab does not contain the fsck passno field. I will kludge around the things for you, but you should fix your /etc/fstab file as soon as you can.
And it does nothing but shows me another prompt like this:
(Repair filesystem) 2 #
The actual error when I try to re-boot looks like this:
--------------------------------
Checking root filesystem
WARNING: Your /etc/fstab does not contain the fsck passno field. I will kludge around the things for you, but you should fix your /etc/fstab file as soon as you can.
/:
The superblock could not be read or does not describe a correct ext2 filesystem. If the device is valid and it really contains an ext2 filesystem (and not swap or ufs or something else), then the superblock is corrupt, and you might try running e2fsck with an alternate superblock: e2fsck -b 8193 <device>
fsck.ext2: Is a directory while trying to open / [FAILED]
***An error occured during the filesystem check.
***Dropping you to a shell; the system will reboot
***when you leave the shell.
Give root password for maintenance
(or type Control-D to continue):
------------------------------------------------------
Plz Help.
Run "fdisk /dev/hda", type "p", then "q".
We know that "/dev/hda2" is "ext2", for "/boot".
The output may indicate your partition is not "ext2"!
Did you upgrade to "ext3", or maybe have "vfat"?
Otherwise you have a broken "ext2" filesystem.
- save what you can, and reformat to clear soft errors;
- move (delete/create partition) to avoid hard disk errors.
Also, the last columns in your /etc/fstab for entry "/" should be "1 1".
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.