Hi to everyone! (Posting from Live ISO )
This week when I forcefully restarted after a freeze I got something like the next block - if I remember correctly on /dev/sda2
-.
(source)
fsck from util-linux 2.26.2
/dev/sda6 contains a file system with errors, check forced.
/dev/sda6: Inodes that were part of a corrupted orphan linked list found.
/dev/sda6: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
(i.e., without -a or -p options)
fsck exited with status code 4
The root filesystem on /dev/sda6 requires a manual fsck
# [...]
(initramfs) _
So I followed what is suggested in the source linked before which is yes to all without knowing much what I was doing (Hoping to always learn from mistakes and decisions like that haha). Something like the next fsck /dev/sda2
and got prompted several times for errors, I answered yes to every prompt.
After that I rebooted and I got a message from the computer that it couldn’t recognize any boot media. Right after that I enter the UEFI to see the same, I have no Boot media, only this:
# (Boot menu)
EFI Hard Drive (ST1000LM035-1RK172)
EFI PXE Network
I tried to Chroot with a live ISO - from the Grub incident of august more or less as I learned -.
Tried to mount (please check):
[liveuser@eos-2022.09.10 ~]$ sudo lsblk -f
NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINTS
loop0 squashfs 4.0 0 100% /run/archiso/airootfs
sda
├─sda1 vfat FAT32 NO_LABEL B303-E0D5
├─sda2 ext4 1.0 296fc2f2-67e8-468b-b86b-8231bf911b58
└─sda3 swap 1 swap c52dec28-c60f-429f-a5d3-53bda411f9c2
sdb iso9660 Joliet Extension EOS_202209 2022-09-10-10-51-40-00
├─sdb1 iso9660 Joliet Extension EOS_202209 2022-09-10-10-51-40-00 0 100% /run/archiso/bootmnt
[liveuser@eos-2022.09.10 ~]$ sudo mount /dev/sda2 /mnt
mount: /mnt: can't read superblock on /dev/sda2.
dmesg(1) may have more information after failed mount system call.
And got this log from journalctl -k
: https://clbin.com/oo1Ii
From this I would like to ask to any that can help me:
- I am doing the chroot process correctly? (Actually I fell I don’t understand it so well like the last time from here)
- Is there a way I could recover my previous data or installation, I actually deleted it or its just corrupted (or both)?
- What are my next steps
More info
Context
For more context, I was finishing a Job for college - with a lot of things opened - and usually what happens is my system can’t hold it no more and freezes (happened a few times before). That is usually a small problem because when I restart I recover the session through something like a journal, I don’t really know whats that about but is very nice.
Hardware
From INXI (inxi -FAZ --no-host
): https://clbin.com/lZsBK
Thanks
Relatively new Linux user here, I started with EndeavourOS less than a year ago and I wanted to take this opportunity to say that it has been a very good experience and very educational Im very thankful of this community.
#arch-based-related-questions #arch-based-related-questions:kernel-hardware