Hello, my system is currently stuck on the booting phase with the following message:
[OK] Reached target Basic System
[***] A start job is running for /dev/disk/by-uuid/... (12mins 20seconds/no limit)
and it seems to be running forever
Here’s what I did recently before encountering this problem:
I ran out of ram memory and the system appeared to be frozen, I had to force shutdown by pressing the power button for a few seconds, then restarted it again. on the boot it showed something along the lines of “EndavourOS file system check” for a few seconds but then it booted normally. I used PC for a few hours then decided to restart it and this is where I encountered the said problem.
so I tried booting from a live usb iso to back up the home directory then do a clean reinstall but I couldn’t find the SSD that had linux installed on displayed in thunar, only the other HDD appeared there.
I opened gparted and it gave me the following error message:
The primary GPT table is corrupt, but the backup appears OK, so that will be used.
then it showed me my SSD with apparent problems with sdb1 and sdb2(that has my home directory):
checking for information of sdb1 gives the following errors:
Can't open /dev/sdb1: No such file or directory
Cannot initialize '::'
mlabel: Cannot initialize drive
Can't open /dev/sdb1: No such file or directory
Cannot initialize '::'
Can't open /dev/sdb1: No such file or directory
Cannot initialize '::'
Unable to read the contents of this file system!
Because of this some operations may be unavailable.
The cause might be a missing software package.
The following list of software packages is required for fat32 file system support: dosfstools, mtools.
checking for information of sdb2 gives the following errors:
e2label: No such file or directory while trying to open /dev/sdb2
Couldn't find valid filesystem superblock.
tune2fs 1.47.0 (5-Feb-2023)
tune2fs: No such file or directory while trying to open /dev/sdb2
Couldn't find valid filesystem superblock.
Couldn't find valid filesystem superblock.
dumpe2fs 1.47.0 (5-Feb-2023)
dumpe2fs: No such file or directory while trying to open /dev/sdb2
Unable to read the contents of this file system!
Because of this some operations may be unavailable.
The cause might be a missing software package.
The following list of software packages is required for ext4 file system support: e2fsprogs v1.41+.
I tried running fsck and got the following error:
[liveuser@eos-2023.08.05 ~]$ sudo fsck.ext4 -v /dev/sdb2
e2fsck 1.47.0 (5-Feb-2023)
fsck.ext4: No such file or directory while trying to open /dev/sdb2
Possibly non-existent device?
I tried running e2fsck and got the following error:
sudo e2fsck -f -C 0 /dev/sdb2
e2fsck 1.47.0 (5-Feb-2023)
e2fsck: No such file or directory while trying to open /dev/sdb2
Possibly non-existent device?
I tried running lsblk and it seems to be able to see the other HDD partitions normally (sda1, sda2…etc) but for the SSD that has linux on, it only shows sdb without any partitions. the only thing that recognized sdb had partitions was gparted.