You are not logged in.

#1 2023-09-27 08:09:08

Beesh
Member
Registered: 2022-01-09
Posts: 39

btrfs-progs breaks my boot

I just noticed how installing the btrfs-progs package brokes my btrfs root partition boot. I was able to fix only by adding the btrfs hook in /etc/mkinitcpio.conf, although I already had the filesystems hook, any clue/replication?

Offline

#2 2023-09-27 08:42:01

Raynman
Member
Registered: 2011-10-22
Posts: 1,539

Re: btrfs-progs breaks my boot

Beesh wrote:

any clue/replication?

Maybe if you provide more detail than "breaks"/"brokes". https://bbs.archlinux.org/viewtopic.php?id=57855

The help for the btrfs hook says that it's for multi-device volumes and only needed when you don't use udev. Maybe regenerating the initramfs is what actually fixed it (though it's not obvious to me why that would be needed to not break the boot) and you didn't do that until after you added this hook?

Offline

#3 2023-10-02 17:09:31

Beesh
Member
Registered: 2022-01-09
Posts: 39

Re: btrfs-progs breaks my boot

Raynman wrote:
Beesh wrote:

any clue/replication?

Maybe if you provide more detail than "breaks"/"brokes". https://bbs.archlinux.org/viewtopic.php?id=57855

The help for the btrfs hook says that it's for multi-device volumes and only needed when you don't use udev. Maybe regenerating the initramfs is what actually fixed it (though it's not obvious to me why that would be needed to not break the boot) and you didn't do that until after you added this hook?

yeah, my bad: it would boot in the emegency shell

I carefully read the btrfs hook usage, I'm not in a multi device volumes and I do not use the udev hook. The btrfs-progs installation triggers a initramfs regeneration right? because as soon I installed that package and rebooted, it would boot in the emergeecy shell

Offline

Board footer

Powered by FluxBB