The officially official Devuan Forum!

You are not logged in.

#1 2020-07-18 13:19:06

kuleszdl
Member
Registered: 2018-11-03
Posts: 84  

How to tell initramfs to continue booting?

Hi,

I would like to tell initramfs to just continue booting. Normally, just calling "exit" does that. However, I access the system over dropbear-initramfs and thus "exit" just quits the SSH session. So - which command is it? Do I have to call init in initramfs and tell it to shut down?

Background: Due to some other trouble the cryptroot_unlock script does not properly work for me via dropbear-initramfs. However, I can call cryptsetup manually just fine, so I would like to continue booting after unlocking the device. Of course, the cryptroot_unlock script will certainly do the magic here, but I was unable yet to find out how it does that exactly.

Many thanks in advance!

Edit: I found out that "/usr/sbin/run-init" is the script to call, now need to find the correct parameters for it.

Last edited by kuleszdl (2020-07-18 14:29:23)

Offline

#2 2020-07-19 02:08:21

kuleszdl
Member
Registered: 2018-11-03
Posts: 84  

Re: How to tell initramfs to continue booting?

Meanwhile, I worked around this issue. It seems that the cryptroot-unlock script does not work on newer kernels (5.7+) from dropbear-initramfs when there is an external display available but not connected.

Offline

Board footer