Replies: 4 comments 2 replies
-
That script is blocking at a fairly early position in zfsbootmenu-init . You can probably safely run |
Beta Was this translation helpful? Give feedback.
-
This should be resolved when #599 lands. |
Beta Was this translation helpful? Give feedback.
-
Fast work, thank you. |
Beta Was this translation helpful? Give feedback.
-
@ahesford : Do you have a roadmap for the next zfsbootmenu release that will have the fix? I would like to release the luks update for the ubuntu zfsbootmenu install script before Ubuntu 24.04 is released (April 25). |
Beta Was this translation helpful? Give feedback.
-
I'm working on incorporating luks to the ubuntu zfsbootmenu install script. I've hit an issue with remote access that I hope someone can help with.
I've added agorgl's luks unlock script as a zfsbootmenu hook in early-setup.d. Link below to the script.
https://github.com/agorgl/zbm-luks-unlock
The unlock script works as expected. However, I encounter a problem when I add remote access and connect via ssh. ZFSBootMenu starts when I type "zfsbootmenu" in the ssh session, but I get a "Waiting for ZFSBootMenu initialization" screen. I suspect this is because the unlock script has been run as part of the boot sequence and it has not concluded as it is waiting for a password to be entered. One of the aims of remote access is to allow for ZFSBootMenu access when there is no local access. Is there a way to shutdown the script that is run by the hook or to override it to allow ZfsBootMenu to be started from ssh session?
I have already tried running the luks-unlock script and it completes successfully from the ssh session. I just can't get into ZFSBootMenu to select the zpool and boot the system.
Can anyone offer any suggestions?
Beta Was this translation helpful? Give feedback.
All reactions