Skip to content

Instantly share code, notes, and snippets.

View AngeLinuX99's full-sized avatar

Ángel Luís Martínez AngeLinuX99

View GitHub Profile
@f4str
f4str / btrfs-chroot-guide.md
Created October 6, 2023 03:59
Btrfs Chroot Guide

Btrfs Chroot Guide

Guide to chroot into Debian or Fedora systems to change the password and/or reinstall GRUB.

Mount Filesystems

Mount the btrfs subvolumes. Subvolumes @ and @home are required. Typically @cache, @log, and @swap are not needed.

sudo mount /dev/nvme0n1p2 /mnt -t btrfs -o subvol=@