#2249 closed defect (fixed)
initrd customization fails in Ubuntu 20.04
Reported by: | kalxas | Owned by: | kalxas |
---|---|---|---|
Priority: | blocker | Milestone: | OSGeoLive14.0 |
Component: | OSGeoLive | Keywords: | initrd |
Cc: | osgeolive@… |
Description
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://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1876562
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"
Attachments (1)
Change History (7)
comment:1 by , 4 years ago
by , 4 years ago
Attachment: | Screenshot_20200728_163225.png added |
---|
comment:2 by , 4 years ago
This looks like a promising alternative for initrd customization of 20.04:
https://askubuntu.com/questions/1244562/ubuntu-20-04-logo-checking-disk-live-iso
comment:5 by , 4 years ago
Priority: | critical → blocker |
---|---|
Resolution: | → fixed |
Status: | assigned → closed |
https://www.fosslinux.com/20398/ubuntu19-10-to-use-lz4-compression-to-boot-faster.htm