this post was submitted on 24 Jul 2025
32 points (92.1% liked)

Arch Linux

8937 readers
37 users here now

The beloved lightweight distro

founded 5 years ago
MODERATORS
 

I'm using Endeavor OS. My computer lost power during system update. Now I can boot into it.

you are viewing a single comment's thread
view the rest of the comments
[โ€“] take6056 16 points 1 day ago* (last edited 1 day ago) (1 children)

This is the command I used after unlocking the luks device in a rescue environment and confirming it not mounting further:

sudo btrfs rescue zero-log /dev/mapper/luksroot

After that, I could mount again and boot.

Here's more info on the command, to verify advice is sound: https://manpages.debian.org/testing/btrfs-progs/btrfs-zero-log.8.en.html#zero

EDIT: For me it didn't happen during an update, btw. You might still need the chroot approach to make the system bootable again.

[โ€“] dudesss@lemmy.ca 5 points 1 day ago* (last edited 16 hours ago)

Thanks. I tried this, was able to get into my system. After playing around with WPA_supplicant and IP link, I was able to get internet and run the updates with pacman.

But I'm getting a similar problem as I was having at some point before, where I boot into a black screen, I can change the terminal with CTL + Alt + F1, then my login screen shows up, put my password, and the login freezes.

When I booted into my system earlier to do the updates, I used init=/bin/bash, but SystemD didn't auto start then, hence why I used WPA_supplicant. Perhaps SystemD is still not starting, hence why I'm not able to log in or open other terminal window.