You are not logged in.
Pages: 1
Hello
After power outage, boot fails with "unknown file system" error and grub rescue prompt.
The damaged Arch is installed in /dev/sdb1.
$ lsblk -f /dev/sdb
NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINTS
sdb
├─sdb1
├─sdb2 ext4 1.0 NEON 3640c417-a653-4198-9ae5-b81d30d77fe7
└─sdb3 ntfs DADOS_LNV 5656FF2514176652 I have another, and functional, Arch install in /dev/sda1.
How can I fix the corrupted partition?
Thanks.
Last edited by Strangiato (2024-08-26 21:19:09)
Offline
Load up a live ISO image and rRun fsck(8) on the problematic partition from the other Arch system.
If you frequently experience power outages consider switching to a copy-on-write capable filesystem such as bcachefs, they are immune to corruption in that circumstance.
Last edited by Head_on_a_Stick (2024-08-26 17:18:32)
Jin, Jîyan, Azadî
Offline
Yes, unfortunately corrupt policians destroyed the electricity network in my region, and power outage is frequent here since then.
bcachefs is a very recent fs, possibly I will try it in the future, when it is mature. ![]()
Can I use the Arch installed on /dev/sda1 to run fsck on /dev/sdb1?
Thanks for your help.
Offline
policians destroyed the electricity network
Ah yes, isn't neoliberalism wonderful? Viva la revolución
Can I use the Arch installed on /dev/sda1 to run fsck on /dev/sdb1?
Yes.
Jin, Jîyan, Azadî
Offline
Now my system is bootable again, apparently without any data loss.
Solved with this command:
$ fsck -y /dev/sdb1Thanks for your help, Head_on_a_Stick.
Offline
Pages: 1