The officially official Devuan Forum!

You are not logged in.

#1 2021-12-04 11:22:31

rolfie
Member
Registered: 2017-11-25
Posts: 1,047  

Encrypted Daedalus preview booting problems

Installed from the Daedalus netinstall preview dated Nov. 29th in VBox 6.1.28. Efi mode, encrypted LVM,, just basic system install, no GUI. Install went fine, the first reboot ends in an endless loop of messages "Volume group vgsys not found. Cannot process volume group vgsys." Does not ask for the PW, eventually ends in the initramfs shell. When I try to open the encrypted volume I get "cryptsetup not found".

An upgraded VM based on Chimaera works fine.

Whats wrong?

rolfie

Offline

#2 2021-12-04 14:00:01

fsmithred
Administrator
Registered: 2016-11-25
Posts: 2,409  

Re: Encrypted Daedalus preview booting problems

Just a guess - maybe cryptsetup-initramfs package is missing. It doesn't get installed automatically with cryptsetup.

Offline

#3 2021-12-04 15:54:31

rolfie
Member
Registered: 2017-11-25
Posts: 1,047  

Re: Encrypted Daedalus preview booting problems

Thank you, drilling down into modules and devices showed no /dev/mapper nor cryptsetup traces.

Rebooted from the netinstall in rescue mode: installed cryptsetup-bin and cryptsetup-initramfs, now it works. Both packages need to be added to the installer.

rolfie

Offline

#4 2021-12-04 16:29:36

fsmithred
Administrator
Registered: 2016-11-25
Posts: 2,409  

Re: Encrypted Daedalus preview booting problems

Confirmed. I got the same behavior in qemu. Chrooting the installed system from a live-iso and installing cryptsetup and cryptsetup-initramfs solved it.

Note: I used the server iso and installed without mirror. cryptsetup (and cryptsetup-bin, I think) is in the iso, but it didn't get installed in the system, even though I chose encrypted lvm, but cryptsetup-initramfs was missing.

Offline

#5 2021-12-04 17:19:26

fsmithred
Administrator
Registered: 2016-11-25
Posts: 2,409  

Re: Encrypted Daedalus preview booting problems

Nope. It's not fixed. I'll have to look into this later.

Offline

#6 2021-12-05 00:38:46

fsmithred
Administrator
Registered: 2016-11-25
Posts: 2,409  

Re: Encrypted Daedalus preview booting problems

The following things did not work:
- boot installer iso in rescue mode and reinstall grub
- boot installer iso in rescue mode, open a shell in the installed system and run and or all of the following in any order, both before and after removing grub-efi-amd64-signed.
    dpkg-reconfigure grub-efi-amd64
    grub-install
    grub-install --bootloader-id=devuan
    update-initramfs -u
    update-initramfs -u -k 5.15.0-1-amd64
- boot installer iso in rescue mode and install grub to removable media path

This did not create /boot/efi/EFI/devuan

grub-install --bootloader-id=devuan

Last commands in root's history I executed in a chroot before it started working:

cd /boot/efi/EFI
cp -r debian devuan
grub-install --bootloader-id=devuan
dpkg-reconfigure grub-efi-amd64 (and choose yes to force removable media path
update-initramfs -u -k 5.15.0-1-amd64

Edit: I keep forgetting to mention that I can't get qemu to boot from the iso when it's attached to the disk image file.  This does work for me with any of my other disk image files. I have to boot the iso from grub command line.

Offline

#7 2021-12-05 10:24:35

rolfie
Member
Registered: 2017-11-25
Posts: 1,047  

Re: Encrypted Daedalus preview booting problems

I think your last post more concerns this topic: https://dev1galaxy.org/viewtopic.php?id=4701

rolfie

Offline

#8 2021-12-06 13:04:12

fsmithred
Administrator
Registered: 2016-11-25
Posts: 2,409  

Re: Encrypted Daedalus preview booting problems

I un-did a couple of those last commands I posted above, just to test.
Removed /boot/efi/EFI/devuan  (it was a copy of the debian dir)
Removed /boot/efi/EFI/BOOT  (the removable media path)

The installed system still boots, That leaves 'dpkg-reconfigure grub...' and 'update-initramfs...' both of which I tried previously without success. So I'm not exactly sure what fixed it.

Offline

Board footer