Fsck output does not match tutorials...
Bo Berglund
bo.berglund at gmail.com
Tue Mar 22 20:21:29 UTC 2022
I have an erroneous disk (it ran out of disk space during a sudo apt
full-upgrade operation and Linux crashed).
Linux won't boot now.
I can put it into a USB carrier and examine it on another system:
sudo lsblk -o UUID,NAME,FSTYPE,SIZE,MOUNTPOINT,LABEL,MODEL
UUID NAME FSTYPE SIZE MOUNTPOINT LABEL
MODEL
sda 7.4G
UHSII_uSD_Reader
1591-0E10 +-sda1 vfat 256M
c14f2d5f-b499-41df-b7ce-15bdf933cdff +-sda2 ext4 7.2G <== repair?
It turned out that free space on sda2 is zero, that is why Linux crashed, I
guess.
But now I have freed up 40% by deleting a few very big files in the home dir.
But there is more to do because Linux will not boot anyway.
So I figured I could do as several on-line tutorials suggest:
sudo fsck -N /dev/sda2
fsck from util-linux 2.33.1
[/sbin/fsck.ext4 (1) -- /dev/sda2] fsck.ext4 /dev/sda2
This response is not shown in any of the tutorials I found....
What am I doing wrong?
Can the disk be repaired?
--
Bo Berglund
Developer in Sweden
More information about the ubuntu-users
mailing list