Univention Bugzilla – Bug 31015
update-initramfs -k all -c fails after update
Last modified: 2013-04-24 17:26:26 CEST
After the update to ucc-errata and the ubuntu updates, an update-initramfs -k all -c fails because /boot has not enough free space. -> df -h /boot Dateisystem Größe Benutzt Verf. Verw% Eingehängt auf /dev/vda2 92M 71M 17M 82% /boot Maybe we can modify update-initramfs so that it uses a different temporary directory and only moves new initramfs files to /boot.
Imported initramfs-tools from precise-updates to ucc-errata 3.1 and patched source package. * do not backup old initramfs files * create new initramfs files in temporary directory (not in /boot) * temporary directory is /tmp or /ucc_root (the dir with more free space, default /tmp) YAML: 2013-04-10-initramfs-tools.yaml -> df -h /boot/ Dateisystem Größe Benutzt Verf. Verw% Eingehängt auf /dev/vda2 92M 77M 12M 88% /boot -> rm /boot/initrd.img-3.2.0-* -> update-initramfs -k all -c -> ls -la /boot/initrd.img-3.2.0-* -rw-r--r-- 1 root root 25516373 Apr 6 06:04 /boot/initrd.img-3.2.0-31-generic -rw-r--r-- 1 root root 25555382 Apr 6 06:04 /boot/initrd.img-3.2.0-40-generic -> update-initramfs -k all -u -> ls -la /boot/initrd.img-3.2.0-* -rw-r--r-- 1 root root 25516175 Apr 6 06:05 /boot/initrd.img-3.2.0-31-generic -rw-r--r-- 1 root root 25556032 Apr 6 06:05 /boot/initrd.img-3.2.0-40-generic
Bugfix: - update-initramfs is still possible, does not use space on /boot during build OK - does work with currently planned ucc updates YAML: OK
http://errata.univention.de/ucc/1.0/8.html