Please try out dracut

@winstonma and @soumyadghosh If you still see the issue after the kernel update, please report a bug with ubuntu-bug dracut-core to get a Launchpad bug report.

1 Like

I havenā€™t tested it anymore, so, Iā€™ll try it once again with my shiny new kubuntu installation and see how it goes

Install dracut was successful on my Oracular but deleted some files from boot directory so iā€™m unable to boot from old kernel 6 .11.0-8
n3-oracular is the partition with dracut, n7-oracular a similar install without dracut.

corrado@corrado-n9-pp-upgraded:~$ ls /media/corrado/n3-oracular/boot
config-6.11.0-9-generic      memtest86+x64.bin
efi                          memtest86+x64.efi
grub                         System.map-6.11.0-9-generic
initrd.img-6.11.0-8-generic  vmlinuz
initrd.img-6.11.0-9-generic  vmlinuz-6.11.0-9-generic
memtest86+ia32.bin           vmlinuz.old
memtest86+ia32.efi
corrado@corrado-n9-pp-upgraded:~$ ls /media/corrado/n7-oracular/boot
config-6.11.0-8-generic      memtest86+ia32.efi
config-6.11.0-9-generic      memtest86+x64.bin
efi                          memtest86+x64.efi
grub                         System.map-6.11.0-8-generic
initrd.img                   System.map-6.11.0-9-generic
initrd.img-6.11.0-8-generic  vmlinuz
initrd.img-6.11.0-9-generic  vmlinuz-6.11.0-8-generic
initrd.img.old               vmlinuz-6.11.0-9-generic
memtest86+ia32.bin           vmlinuz.old
corrado@corrado-n9-pp-upgraded:~$

Worked on my laptop - booting even seems a bit faster. Decrypting the disk on startup worked without problems:

System:
LENOVO
ThinkPad L14 Gen 3
21C5004FGE
Root mount:
/dev/mapper/vgkubuntu-root on / type ext4 (rw,relatime,errors=remount-ro)

Boots faster ā€¦

System:
Dell Inc.
Inspiron
Inspiron 15 7510
Root mount:
/dev/mapper/luks-c42f72a8-4c65-46cc-9931-9826c023f7ea on / type btrfs (rw,noatime,compress=zstd:1,ssd,space_cache=v2,autodefrag,subvolid=256,subvol=/@)

Works for me on oracular:

System:
LENOVO
ThinkPad X1 Carbon Gen 9
20XWCTO1WW
Root mount:
/dev/mapper/ubuntuā€“vg-ubuntuā€“lv on / type ext4 (rw,relatime)

Do you only want this to be done on 24.10, or would this work fine on 24.04?

Works on:

System:
ASUSTeK COMPUTER INC.
ASUS Vivobook S 15
ASUS Vivobook S 15 S5507QA_S5507QAD
Root mount:
/dev/nvme0n1p17 on / type ext4 (rw,relatime)

Please only test on 24.10 and newer. A lot of development work and changes went into dracut in 24.10. I havenā€™t checked which changes we would need to backport to 24.04 to have a similar smooth experience.

Tested again on my Ubuntu Plucky

## BEFORE dracut

corrado@corrado-n9-pp-upgraded:~$ systemd-analyze time
Startup finished in 7.563s (firmware) + 11.563s (loader) + 5.435s (kernel) + 8.775s (userspace) = 33.337s 
graphical.target reached after 8.753s in userspace.
corrado@corrado-n9-pp-upgraded:~$

## WITH dracut

corrado@corrado-n9-pp-upgraded:~$ ls -alh /boot/initrd.img-*
-rw-r--r-- 1 root root 66M Nov 21 21:10 /boot/initrd.img-6.11.0-8-generic
-rw-r--r-- 1 root root 35M Dec 17 16:28 /boot/initrd.img-6.11.0-9-generic
-rw-r--r-- 1 root root 66M Dec 17 16:25 /boot/initrd.img-6.11.0-9-generic.orig
corrado@corrado-n9-pp-upgraded:~$

corrado@corrado-n9-pp-upgraded:~$ systemd-analyze time
Startup finished in 7.625s (firmware) + 22.787s (loader) + 3.704s (kernel) + 2.076s (initrd) + 8.451s (userspace) = 44.646s 
graphical.target reached after 8.437s in userspace.
corrado@corrado-n9-pp-upgraded:~$