I’m trying to rebuild my system for learning and other issues I can’t seem to fix.
I’m taking ideas from this person’s github and have a bootable system and I’m using refind-btrfs to give me access to my snapshots in rEFInd as well… however I can’t seem to get rEFInd to do what I want.
I know my manual stanza in refind.conf
isn’t correct, but I don’t know exactly what the issue is. rEFInd will boot into my install, but it fails to do anything when I pick the entry that represents my stanza.
My fstab
# Static information about the filesystems.
# See fstab(5) for details.
# <file system> <dir> <type> <options> <dump> <pass>
# /dev/nvme1n1p2 LABEL=Arch
UUID=7733104b-3bd5-40fa-916f-bd2e30645e52 / btrfs rw,noatime,compress=zstd:3,ssd,discard=async,space_cache,subvolid=256,subvol=/@ 0 0
# /dev/nvme1n1p1
UUID=46D6-555C /boot/efi vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro 0 2
# /dev/nvme1n1p2 LABEL=Arch
UUID=7733104b-3bd5-40fa-916f-bd2e30645e52 /home btrfs rw,noatime,compress=zstd:3,ssd,discard=async,space_cache,subvolid=257,subvol=/@home 0 0
# /dev/nvme1n1p2 LABEL=Arch
UUID=7733104b-3bd5-40fa-916f-bd2e30645e52 /root btrfs rw,noatime,compress=zstd:3,ssd,discard=async,space_cache,subvolid=258,subvol=/@root 0 0
# /dev/nvme1n1p2 LABEL=Arch
UUID=7733104b-3bd5-40fa-916f-bd2e30645e52 /var/log btrfs rw,noatime,compress=zstd:3,ssd,discard=async,space_cache,subvolid=259,subvol=/@var-log 0 0
# /dev/nvme1n1p2 LABEL=Arch
UUID=7733104b-3bd5-40fa-916f-bd2e30645e52 /.swap btrfs rw,noatime,compress=zstd:3,ssd,discard=async,space_cache,subvolid=260,subvol=/@swap 0 0
# /dev/nvme1n1p2 LABEL=Arch
UUID=7733104b-3bd5-40fa-916f-bd2e30645e52 /var/crash btrfs rw,noatime,compress=zstd:3,ssd,discard=async,space_cache,subvolid=261,subvol=/@var-crash 0 0
# /dev/nvme1n1p2 LABEL=Arch
UUID=7733104b-3bd5-40fa-916f-bd2e30645e52 /var/spool btrfs rw,noatime,compress=zstd:3,ssd,discard=async,space_cache,subvolid=262,subvol=/@var-spool 0 0
# /dev/nvme1n1p2 LABEL=Arch
UUID=7733104b-3bd5-40fa-916f-bd2e30645e52 /var/lib/docker btrfs rw,noatime,compress=zstd:3,ssd,discard=async,space_cache,subvolid=263,subvol=/@var-lib-docker 0 0
# /dev/nvme1n1p2 LABEL=Arch
UUID=7733104b-3bd5-40fa-916f-bd2e30645e52 /var/lib/containers btrfs rw,noatime,compress=zstd:3,ssd,discard=async,space_cache,subvolid=264,subvol=/@var-lib-containers 0 0
# /dev/nvme1n1p2 LABEL=Arch
UUID=7733104b-3bd5-40fa-916f-bd2e30645e52 /var/tmp btrfs rw,noatime,compress=zstd:3,ssd,discard=async,space_cache,subvolid=265,subvol=/@var-tmp 0 0
# /dev/nvme1n1p2 LABEL=Arch
UUID=7733104b-3bd5-40fa-916f-bd2e30645e52 /var/cache btrfs rw,noatime,compress=zstd:3,ssd,discard=async,space_cache,subvolid=266,subvol=/@var-cache 0 0
# /dev/nvme1n1p2 LABEL=Arch
UUID=7733104b-3bd5-40fa-916f-bd2e30645e52 /var/lib/libvirt/images btrfs rw,noatime,compress=zstd:3,ssd,discard=async,space_cache,subvolid=267,subvol=/@var-lib-libvirt-images 0 0
/.swap/swapfile none swap defaults 0 0
/dev/zram0 none swap defaults 0 0
Manual boot stanza:
menuentry "EOS" {
icon /EFI/refind/icons/os_arch.png
volume 7733104b-3bd5-40fa-916f-bd2e30645e52
loader /@/boot/vmlinuz-linux
initrd /@/boot/initramfs-linux.img
options "root=PARTUUID=e2f8e8fb-74be-154a-ba21-a59938903cbc rw add_efi_memmap rootflags=subvol=@ nowatchdog lsm=lockdown,yama,apparmor,bpf"
submenuentry "Boot - fallback" {
initrd /@/boot/initramfs-linux-fallback.img
}
submenuentry "Boot - terminal" {
add_options "systemd.unit=multi-user.target"
}
}
I suspect I’m not doing the loader
or initrd
entries correctly with my subvolumes. Can someone help me understand what I’m doing wrong?