Score:1

update-initramfs very slow

jp flag

I used to just happily sudo apt update && sudo apt upgrade often; however, just today, I updated and found the update was hanging for a long time at updating the kernel, specifically at update-initramfs.

The slowdown has been dramatic. It used to take a minute at most to install. Now it can take upwards of an hour or longer. What could be causing this?

N0rbert avatar
zw flag
Which CPU do you use?
Emmy Chow avatar
jp flag
8th gen Intel Core i7-8550U. I decided to load an old backup and that seems to have fixed the problem. Odd.
Score:4
pk flag

I had this problem, and booting was also very slow (on an older machine). It had to do with compression and the method having changed from gzip to bz.

I eliminated compression altogether by using COMPRESS="cat" in /etc/initramfs-tools/initramfs.conf and now both building and booting are super fast. (The file name and directory can vary by distro and distro version.)

This fills up more of my /boot directory but it wasn't close to capacity in any case.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.