casper iso-scan/filename= with iso inside luks container
Hello,
I would like to know if it's possible or not, so if casper support iso inside a luks container.
I'm trying to setup an usb key with this config
sdb1 = grub (boot)
sdb2 = luks container containing 1xLVM PV, 1xLVM VG "tools", 1xLVM LV "iso", 1xLVM LV "writable" (for persistent data).
Same configuration without LUKS but with LVM works well including persistent data and with LVM persistent LV can be resized if needed.
But with LUKS container i'm dropped every time to initramfs busybox shell. casper.log show that he can't find the iso /iso/file.iso.
I can open Luks container at initramfs shell with cryptosetup open /dev/sdb2 without any problem (asking passphrase and then all LVM layers are activated automatically).
Here is the command line which work with the LVM without LUKS:
set isofile=
linux (loop)/
I tried to add these parameters to previous command line (tested with rd.luks.* or luks.* without difference)
rd.luks=yes rd.luks.
During boot I'm dropped directly to initramfs just after casper /scripts/
I tested with iso file on sdb1 (not encrypted) and writable LVM LV inside luks container to check the luks.* command line parameters and then I'm not dropped to initramfs shell, luks container is opened asking passphrase at boot time and persistent overlay with LVM LV is done without any error.
But I would like to keep all data encrypted so usb key can't be used without grub cryptomount at grub stage, so Is there any way or other method to specify iso file name and location with "iso-scan/
I can't find any reference about a configuration with luks container containing iso file.
Thank you in advance.
Regards
Question information
- Language:
- English Edit question
- Status:
- Expired
- For:
- Ubuntu casper Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply: