this post was submitted on 27 Jul 2024
24 points (100.0% liked)

Linux 101 stuff. Questions are encouraged, noobs are welcome!

1060 readers
2 users here now

Linux introductions, tips and tutorials. Questions are encouraged. Any distro, any platform! Explicitly noob-friendly.

founded 1 year ago
MODERATORS
 

Well, wasn't expecting this...

I rebooted my laptop, and it keeps booting to the grub shell.

I was going to arch-chroot into it and update grub, and rebuild intarimfs, however, I guess I don't know how to with BTRFS subvolumes that are LUKS encrypted.

I would appreciate any help, and am willing to learn.

I could even jump on a call of some kind if anyone has time to help...


Arch

BTRFS encrypted with LUKS (No LVM)

GRUB


I live booted into the live usb

cryptsetup luksOpen /dev/nvme0n1p2 arch
mount /dev/mapper/arch /mnt
arch-chroot /mnt

Output:

mount: /mnt/proc: mount point does not exist
dmesg(1) may have more information after failed mount system call.
=> ERROR: failed to setup chroot /mnt

So I browsed /mnt and it lists subvolumes. However, I am not sure how to go about arch-chrooting into this.

you are viewing a single comment's thread
view the rest of the comments
[โ€“] kitnaht@lemmy.world 6 points 3 months ago (1 children)

Hell yeah dude. Props for the solution! We need more things like this for search engines to index so that less people rely on centralized places like Reddit.

[โ€“] Hellmo_Luciferrari@lemm.ee 2 points 3 months ago

I am fully with you!

Thank you! Wish I was the one who figured it out. I am just sharing what was taught to me!

That is exactly the reason I joined Lemmy, to ditch centralization.