EXT4 and Power Outage

Hi,

Due to a power outage, my EXT4 file systems (which contain /usr and /opt) no longer mount at boot-up. They are, however, seen by disk utility in Knoppix, so I assume the data is still there and that it’s just matter of making a connection to it.

Can someone please tell me how to proceed? Thanks in advance!

Doesn’t the system ask you at boot to do an fsck?

No, it goes straight to the login screen, but does not permit a login. It just bounces back to the same screen each time I try. Maybe it is because /(root) is also missing at bootup (I forgot to mention it)?

I tried to do fsck using the OpenSuSE 11.3 disk’s repair console, but the command didn’t work.

Oh wait, maybe I need to specify the device instead of the mount point? I’ll try it later when I’m back at my machine.

Oh wait, maybe I need to specify the device instead of the mount point?

Exactly. Try again. :wink:

Maybe we should try to get some real information instead of your vague story. When /usr is not available, you hardly can have a working system. Also it is very unusual for a desktop/laptop with openSUSE to have sepasrate files systems for /usr and /opt.

When you can not login into the GUI, use Ctrl-Alt-F1 to go to the console and login there. Do;

su -

to become root and give us the output of

fdisk -l

and

cat /etc/fstab

and

mount

Thus we can see how your partitioning is, how it is supposed to be used and how it is used atm.

You need just issue the mount commands and make sure they are in /etc/fstab.
IIRC, even after a good mount you might need a few reboots before it correctly resets.