Disco server install fails to boot using encrypted partitions
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
busybox (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Performing a fresh Disco (daily build from 2019-03-31) server install with / mounted from LVM over dm-crypt (over mdadm), the boot fails just after asking the encrypted partition passphrase with the following error:
/scripts/
Building a custom busybox package with "fold" binary enabled for busybox-initramfs and busybox-static configs fixes the issue.
Diff from debian/ directory:
diff --git a/config/
index 2ef98e5..5725daf 100644
--- a/config/
+++ b/config/
@@ -228,7 +228,7 @@ CONFIG_EXPR=y
CONFIG_
# CONFIG_FACTOR is not set
CONFIG_FALSE=y
-# CONFIG_FOLD is not set
+CONFIG_FOLD=y
# CONFIG_FSYNC is not set
# CONFIG_HEAD is not set
# CONFIG_
diff --git a/config/pkg/udeb b/config/pkg/udeb
index 7538ae5..f9a6d4c 100644
--- a/config/pkg/udeb
+++ b/config/pkg/udeb
@@ -228,7 +228,7 @@ CONFIG_EXPR=y
CONFIG_
# CONFIG_FACTOR is not set
CONFIG_FALSE=y
-# CONFIG_FOLD is not set
+CONFIG_FOLD=y
# CONFIG_FSYNC is not set
CONFIG_HEAD=y
CONFIG_
It might be enough to add "fold" to the initramfs variant only.
tags: | added: disco |
Normally one should have plymouth installed, and fold code path shouldn't be used.
Do you not have plymouth installed, and/or does it not work in you environment?