RH9 won' boot due to lack of space
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. Ravi. |
sure, you should run fsck on the / volume at the (repair filesystem)# prompt and see what hapens
|
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 # What do I do? |
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. |
I also tried:
e2fsck -b 8193 /dev/hda2 It says: /boot was not cleanly unmounted, check forced. Pass 1: Checking inodes, blocks and sizes Pass 2: Checking directory structure Pass 3: Checking directory connectivity Pass 4: Checking reference counts Pass 5: Checking group summary information /boot: ***** FILE SYSTEM WAS MODIFIED ***** /boot: 47/24576 files (2.1% non-contiguous), 17421/98248 blocks (Repair filesystem) 11 # This is taking me nowhere....plz help. |
Can anyone plz help ? I am still stuck.
|
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". |
All times are GMT -5. The time now is 05:51 PM. |