initrd customization fails in Ubuntu 20.04
|Reported by:||kalxas||Owned by:||kalxas|
While remastering the iso, this command
sudo chroot edit mkinitramfs -c lzma -o /initrd 5.4.0-26-generic
throws an error
/usr/share/initramfs-tools/hooks/cryptroot: 64: cannot open /proc/mounts: No such file cryptsetup: WARNING: Couldn't determine root device sed: can't read /proc/cmdline: No such file or directory grep: /proc/swaps: No such file or directory /usr/share/initramfs-tools/hooks/cryptroot: 64: cannot open /proc/mounts: No such file grep: /proc/cpuinfo: No such file or directory
resulting into a non bootable inird file.
Searching through the internet I found several bug reports about mkinitramfs version in 20.04:
https://www.shell-tips.com/linux/what-is-new-in-focal-fossa-ubuntu-20-04-lts/ --> check last section: "5. Improved Boot Time with LZ4 compression in Ubuntu 20.04 LTS"
Change history (7)
comment:5 by , 2 years ago
|Priority:||critical → blocker|
|Status:||assigned → closed|