PDA

View Full Version : [SOLVED] update-initramfs error



masuch
April 26th, 2012, 09:05 PM
Hi,

When I run:

sudo update-initramfs -u
and got error:

update-initramfs: Generating /boot/initrd.img-3.3.1
grep: /boot/config-3.3.1: No such file or directory
WARNING: missing /lib/modules/3.3.1
Device driver support needs thus be built-in linux image!
WARNING: Couldn't open directory /lib/modules/3.3.1: No such file or directory
FATAL: Could not open /lib/modules/3.3.1/modules.dep.temp for writing: No such file or directory
FATAL: Could not load /lib/modules/3.3.1/modules.dep: No such file or directory
FATAL: Could not load /lib/modules/3.3.1/modules.dep: No such file or directory
FATAL: Could not load /lib/modules/3.3.1/modules.dep: No such file or directory



This happened when I remove this kernel which I do not need it any more. Is there any way how to fix it ?

thank you for any help,
kind regards,
Martin

masuch
April 28th, 2012, 03:52 AM
OK, I temporarily copied directory from another /lib/modules
and copied another config file - so warnings disappeared but I would like to rid off it anyway.

Does anybody know how to persuade update-initramfs -u to remove it permanently ?

thank you,
regards,
M.

masuch
May 10th, 2012, 05:51 PM
solved by
update-initramfs -d -k 3.3.1