You are not logged in.

#1 Yesterday 10:27:51

c>rust
Member
Registered: 2025-09-07
Posts: 16

(btrfs degraded on mutiple LUKS device) hang indefinely

current grub config https://gist.github.com/iambadwithname/ … 2f10ff9848
previost grub config https://gist.github.com/iambadwithname/ … c602f31838
disk layout https://gist.github.com/iambadwithname/ … 4d8c2f8ed5
haven't been touch mkincpio.conf https://gist.github.com/iambadwithname/ … 5f3d0496af
I have a config where i would unlock one device mount it as btrfs raid1 degrade then unlock the other device in crypttab and btrfs will auto add to the fs
I update the machine
install some package
add btrfs swapfile
add extra grub config out of curiosity
cant not boot
stuck on "waiting for /dev/disk..."(its the root=UUID=... in kernel param)
normaly it only happen if one forgot the degraded flag
so I  boot into a image
    delete what I add in /boot/grub/grub.cfg #didn't work
    delete what I add in /etc/default/grub.cfg + grub-mkconfig #didn't work
    readthe fourm and add some stuff to /etc/default/grub.cfg + grub-mkconfig #didn't work
    delete the  btrfs swapfile  #didn't work
    delete one device #ok
    add the btrfs swapfile #ok
    put back the device #not ok
    use /dev/mapper/root1 instate of UUID in grub#not ok
    snapshot back 2 days + pacman -Syu + grub-mkconfig #not ok (can't run mkinitcpio -P without update)

    revert to current snapshot + remove btrfs device #ok

Last edited by c>rust (Yesterday 10:34:50)

Offline

Board footer

Powered by FluxBB