hanging initrds

Matt Graham mhgraham at crow202.org
Mon Sep 18 15:23:08 MST 2017


On 2017-09-18 11:00, der.hans wrote:
> one of my Ubuntu systems has a bunch of /boot/initrd files for kernels
> that have been removed.
> 
> I believe initrd is generated at kernel package install time ( and
> probably regenerated if certain packages such as firmware are updated 
> ),
> so removing the old initrd files won't bork package management. It's 
> been
> a while since I've reviewed specifics, so no idea if things have 
> changed.
> 
> 'dpkg -S ínitrd' doesn't reveal any package ownership for initrd files 
> at all.
> 'apt-cache search initrd' doesn't bring up anything useful for this.
> 'dpkg -L' on a kernel package doesn't reveal any initrd files.
[...]
> Purging a kernel that was installed did get rid of the initrd for that
> kernel, so maybe it's matter of reinstalling the old kernels and 
> purging
> them, except that there isn't room to install anything because the 
> initrds
> have filled /boot...

Move the old initrds to somewhere that has more space, then reboot and 
see if anything breaks?  dpkg saying that the files are not owned by 
anything sounds reasonable if they're built dynamically.

-- 
Crow202 Blog: http://crow202.org/wordpress
There is no Darkness in Eternity
But only Light too dim for us to see.


More information about the PLUG-discuss mailing list