The superblock could not be read or does not describe a correct etx2 filesystem ... etc issue

https://ibb.co/f397aRHello

I have an old system working with linux, suddenly i have faced that issue that the system can not be booted again

im afraid to lose data so i still did not do anything with it
Tried to ls the logs in side /var/log but im able to ls only the main root folder if i tried to go to inside /var folder for example im not able

The message that are repeatedly appear start with "The superblock could not be read or does not describe a correct etx2 filesystem … ends with try to use alternative superblock " i did not tried it yet cause im not have that experience that make me know what is the next step that i will faced it and im afraid to lose the data

you can see the issue in this attached photo

https://i.imgur.com/FIzzq1A.jpg
https://ibb.co/f397aR
https://ibb.co/f397aR

can you please help to understanding what im facing here and what is the solution for it

You choose OTHER VERSION for the first and most important information to provide when asking for help. You describe your system as “old system working with linux”. That is not very helpful. Please tell which version you use so that others can at least try to imagine your environment.

When the superblock of a file system is damaged, it means that either it is corrupted (overwritten) by other software, or the hardware of the device (the disk) is damaged. As the superblock is the most important starting point for interpreting a file system’s structure, it is a very severe situation. The only thing you can do is trying an fsck as the message says. It seems not to be your root file system, because the system is running (albeith in recovery mode).

Your picture does not show which partition this is about. The most I can see is /dev/sd…
So take a note what /dev/sdXN it is and then run

e2fsck /dev/sdXN

As the message says, when this does not help, you can try

e2fsck -b 8193 /dev/sdXN 

When this is all in vain, I am afraid you have lost your file system.
A check on the disk hardware is then the first thing to do. When the disk still seems usable, then a new file system can be created (and the data restored from your backup), else the disk is for the dustbin.

Thank you for your reply

I have tried to provide destrepution details and that what i did to figure it out
also you can see in the picture below all commands outputs

[FONT=&amp]http://a.up-00.com/2017/12/151349792636991.jpeg[/FONT]

[FONT=&amp]http://a.up-00.com/2017/12/151349792758692.jpeg[/FONT]

[FONT=&amp]http://a.up-00.com/2017/12/15134979285583.jpeg[/FONT]

[FONT=&amp]http://a.up-00.com/2017/12/151349792984554.jpeg

[/FONT]

Do you mean that you do not even know what Linux (distribution and version of it) you are running? You only show that kernel 2.2.16 is used, but the date is not complete (the year seems to start with 20, which can be as many as 17 years back).

Why are you doing things with /dev/, /dev/sd, and who knows what all before you settle for /dev/sda2? You should use the file that is mentioned in the original error message and nothing else. Do you want to destroy things? What is the correct device file as mentioned in the error message. I still do not know that.

In the error message in your picture there is a suggestion to use the alternative superblock and in my suggestion repeats that:

e2fsck -**b** .........

Why do you use then

e2fsck -**d** ......

Again, making such typos in such a situation can destroy more then you ever can repair.
And when after that typing eroor, the tool tells you that -d isn’t correct and shows you waht options are available, you still do not do the correct thing.

I do not understand the last picture, There is only some output, but no information about the command that was given.

You are doing all sorts of commands I did not suggest. I am sorry to say, but seeing what you did until now, if I were you, I would be very careful in typing commands I do not thoroughly understand.

Most important question: where are your backups of what is on the disk.
Furthermore: please do exactly as Henk told you, if it’s not already too late.

yes i do not know the distribution and version
and i used uname comaaned to let you see what im seeing if i tried to figure it.

Why are you doing things with /dev/, /dev/sd, and who knows what all before you settle for /dev/sda2? You should use the file that is mentioned in the original error message and nothing else. Do you want to destroy things? What is the correct device file as mentioned in the error message. I still do not know that.

im trying to let you see the system status, and how can i make sure where is the system device located ?

In the error message in your picture there is a suggestion to use the alternative superblock and in my suggestion repeats that:

e2fsck -**b** .........

Why do you use then

e2fsck -**d** ......

Again, making such typos in such a situation can destroy more then you ever can repair.
And when after that typing eroor, the tool tells you that -d isn’t correct and shows you waht options are available, you still do not do the correct thing.

sorry it seems i mixed between b and d

I do not understand the last picture, There is only some output, but no information about the command that was given.

forgot to tell
the last picture, it is the output of the command “dmesg”

You are doing all sorts of commands I did not suggest. I am sorry to say, but seeing what you did until now, if I were you, I would be very careful in typing commands I do not thoroughly understand.

so could you please guide me through everything that you need and how to do it ?
ill do what ever you need to provide and exacly the steps that you telling.

actully im blind at this point and i keep asking but no one can provide it to me :frowning:

and that what im going to do

Hi
So, perhaps power down the system and contacting the local Linux User Group and asking someone to help out…

Why run the command against /dev/xyz? There is no such device…

Please post a phote of;


lsblk

It look like the file system is mounted since it’s saying a read only filesystem?

AFAIK this is a RedHat 7 system based on the kernel.

Hm, step by step (but no guarantee for any success).

In your first post above, you have a picture. On the third line it ends in:

… while trying to open /dev/sd

Then the picture ends, but there are more characters on the screen.
Please report back what exact is there /dev/sd??

===============

And like Knurpht, I realy think you better install a new Linux system somewhere and restore your backups there.

do you think rebooting the system will solve this issue !!!

Please post a phote of;

lsblk

It look like the file system is mounted since it’s saying a read only filesystem?

AFAIK this is a RedHat 7 system based on the kernel

ill post the photo when i get back to the system

/dev/sda2

And like Knurpht, I realy think you better install a new Linux system somewhere and restore your backups there.

i will see if that can be done also

Then the command to try is:

e2fsck -b 8193 /dev/sda2

And please take care to type this without any typing errors!.

No, that is not what Malcolm said. He said to POWER DOWN. Not to reboot.

He said “power down” to prevent more damage done. And he then advised you to contact any Linux people in your neighbourhood that can help you by visiting you and the system (or you taking the system to her/him/club).

That will be much more effective then this conversation where you show pictures with characters lost and type d instead of b without even noticing.

/dev/sda2 was already OK as shown in pictures. Kernel messages show problem with /dev/sda6 (device 08:06). To say anything at all, one needs to know expected layout (at least /etc/fstab from this system) and current partition table.

I have checked it put and figure that /dev/sda2 was someone brfore me trying to use it so it appears in that picture
so we are back to the first point
how can i know the right device

You mean from dmesg you think the device are /dev/sda6

i have tried this commend and i got “ command not found”

Then try

fdisk -l

to get information.

It is a bit difficult for people here to help you with a stone age system of another distribution. :frowning:

I have used this command and got “ can not open /prod/partitions

I feel you and i feel that you don’t have mutch to help with, so im trying my best to understand that old system but i do not get it here from any one and no one can here can help with it.

Finally im able to get distribution and details form person who own this system
And they have told me they need the program running on

Distribution as mr Malcolm said
It is redHat

So i have asked to understand where is the device located and the did say it is on /dev/sda1 but im waiting to make them confirm where is it located

Also as mr Arvidjaar said the message said the issue are on device 08:06 thats also make me confused

Yes it is mounted
And it is redHat as you said

The system installed by 1999

What do you think ?
They costumers here said it is on sda1 but i think they did not know what are they talking about :man_facepalming:t2: