LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Dev/sdb3 contains a file system with errors (https://www.linuxquestions.org/questions/linux-software-2/dev-sdb3-contains-a-file-system-with-errors-4175621383/)

Coop_012 01-10-2018 07:06 PM

Dev/sdb3 contains a file system with errors
 
Unexpected inconsistency run fsck manually (ie without -a or -p options) check edited with status code of 4

Please help I have no idea what to do! It says to run a manual fsck what is that, and how would one go about doing that?

By the way, when I try to boot up from the GRUB menu I just get a black screen not to mention, my time in the bios and windows is 5 hours ahead now...

hydrurga 01-10-2018 07:14 PM

Quote:

Originally Posted by Coop_012 (Post 5804922)
Unexpected inconsistency run fsck manually (ie without -a or -p options) check edited with status code of 4

Please help I have no idea what to do! It says to run a manual fsck what is that, and how would one go about doing that?

By the way, when I try to boot up from the GRUB menu I just get a black screen not to mention, my time in the bios and windows is 5 hours ahead now...

Which version of Mint are you running? What device are you booting from (describe your system please)?

Coop_012 01-10-2018 07:18 PM

Im on a pc i built 15-7600k 8gb ddr4 2400 ram and nvidia 1060 6gb gpu, 18.3 Mate and booting off of an 1tb external usb hdd

hydrurga 01-10-2018 07:28 PM

Ok. It looks as if the filesystem on the third partition of your USB HDD (whatever that contains) has somehow been corrupted. This is not a great sign, but it might be recoverable.

Have you made any images of your partitions on that external USB HDD onto a backup device (restoring these would be the simplest solution)?

If not, do you have any other devices running Linux, or any other bootable Linux devices that you can boot up from?

Coop_012 01-10-2018 07:31 PM

I do not have a backup, its a very fresh install few days old, I have the live boot drive as well as a laptop with the same edition of mint on it as well I think the 3rd partition was my my home and root partition (/)

hydrurga 01-10-2018 07:38 PM

Quote:

Originally Posted by Coop_012 (Post 5804936)
I do not have a backup, its a very fresh install few days old, I have the live boot drive as well as a laptop with the same edition of mint on it as well

Good. Connect the USB HDD to your Mint laptop.

Then, in the terminal, run the following command so that we can see which device name Mint has given to the USB HDD and what partitions it has:

Code:

lsblk

Coop_012 01-10-2018 07:42 PM

its named as 300GB volume and under sdb3 it is my home and root partition

when i clicked on it it says c85b309a-etc

hydrurga 01-10-2018 07:43 PM

Quote:

Originally Posted by Coop_012 (Post 5804942)
its named as 300GB volume and under sdb3 it is my home and root partition

Please paste the output from the lsblk command here, between CODE tags if possible (you can use the # in the advanced editor).

Coop_012 01-10-2018 07:45 PM

CODE
 
Code:

lsblk
NAME  MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
sdb      8:16  0 931.5G  0 disk
├─sdb2  8:18  0  7.5G  0 part
├─sdb3  8:19  0 279.4G  0 part /media/cooper/c85b309a-071c-442a-ae5a-6100456
└─sdb1  8:17  0  200M  0 part
sr0    11:0    1    2K  0 rom 
sda      8:0    0 298.1G  0 disk
├─sda2  8:2    0    1K  0 part
├─sda5  8:5    0  2.9G  0 part [SWAP]
└─sda1  8:1    0 295.2G  0 part /


hydrurga 01-10-2018 07:49 PM

Thanks. Ok, we'll check the filesystems on all those partitions. First of all we have to unmount /dev/sdb3 because you should not check a filesystem while it is mounted.

Code:

umount /dev/sdb3

Coop_012 01-10-2018 07:51 PM

okay it has been done

hydrurga 01-10-2018 07:53 PM

Okay. We'll check /dev/sdb3 first. In saying that, your Mint laptop successfully mounted the filesystem on that partition, which it wouldn't have done if it had encountered inconsistencies.

Code:

sudo e2fsck /dev/sdb3

Coop_012 01-10-2018 08:14 PM

sorry had a bite to eat, running it now! I hit <y> to fix everything it needed to and it said it was successful! Should I try and boot?

hydrurga 01-10-2018 08:17 PM

No, not quite yet. Can you please run the same checks on the other two filesystems on your USB HDD (/dev/sdb1 and /dev/sdb2)? Thanks.

After that, yes, try booting off the USB HDD.

Coop_012 01-10-2018 08:22 PM

Code:

The superblock could not be read or does not describe a valid ext2/ext3/ext4
filesystem.  If the device is valid and it really contains an ext2/ext3/ext4
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:

I got this for both :(


All times are GMT -5. The time now is 10:58 PM.