:: Re: [DNG] vdev available for devuan
Top Page
Delete this message
Reply to this message
Author: aitor
Date:  
To: dng
Subject: Re: [DNG] vdev available for devuan
Hi,

On 7/9/25 0:51, aitor wrote:
> Today I managed running vdev with LVM2. Previous version didn't boot because lvm auto-detection in the initrd phase is broken with vdev.
> To fix the issue, I added a script in /usr/share/initramfs-tools/scripts/local-block that uses 'vgchange' to activate logical volumes.


I added --sysinit to vgchange, as suggested in the manpages when it's being invoked from early system initialisation scripts
(e.g. rc.sysinit or an initrd), before writable filesystems are available. I also installed cryptsetup-initramfs, that appears
not to be a hard dependency of cryptsetup.

> Next steps will be software raid and encryption.


debian-installer with disk encryption worked.

Cheers,

Aitor.