id,summary,reporter,owner,description,type,status,priority,milestone,component,resolution,keywords,cc 2249,initrd customization fails in Ubuntu 20.04,kalxas,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://bugs.launchpad.net/ubuntu/+source/linux/+bug/1835660 https://bugs.launchpad.net/ubuntu/+source/ubuntu-meta/+bug/1870260 https://unix.stackexchange.com/questions/591262/ubuntu-20-04-also-having-issues-while-unpacking-initramfs-but-changing-to-gzip https://askubuntu.com/questions/1229964/how-to-extract-initrd-from-ubuntu-20-04-live-server-amd64-iso https://askubuntu.com/questions/1245458/getting-the-message-0-283078-initramfs-unpacking-failed-decoding-failed-wh https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1876562 https://unix.stackexchange.com/questions/511212/my-initrd-has-only-one-directory-after-decompressing-namely-kernel/511224#511224 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"" ",defect,closed,blocker,OSGeoLive14.0,OSGeoLive,fixed,initrd,osgeolive@…