update-initramfs stuck after quantal upgrade
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
initramfs-tools (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Every call to update-initramfs ended stuck on the first line:
# update-initramfs -u
update-initramfs: Generating /boot/initrd.
[stuck here]
Looking at the running processes gave me this:
# ps aux | grep initram
root 21065 0.0 0.0 4396 616 pts/8 S+ 21:50 0:00 /bin/sh -e /etc/kernel/
root 21067 0.0 0.0 4396 616 pts/8 S+ 21:50 0:00 /bin/sh /usr/sbin/
root 21069 3.0 0.0 4516 856 pts/8 S+ 21:50 0:00 /bin/sh /usr/sbin/
root 26554 0.0 0.0 4396 772 pts/8 S+ 21:50 0:00 /bin/sh /usr/share/
root 26653 0.0 0.0 4396 376 pts/8 S+ 21:50 0:00 /bin/sh /usr/share/
root 26657 0.0 0.0 9444 936 pts/6 R+ 21:50 0:00 grep --color=auto initram
Suspecting that something was wrong with the FRAMEBUFFER option in initramfs, I removed the « FRAMEBUFFER=y » of my config file.
Then, I was able to use again update-initramfs without getting stuck and to upgrade my kernel.
Thanks.
affects: | initramfs-tools → initramfs-tools (Ubuntu) |
I encountered this bug on Upgrade from 11.04 to 11.10. I have my home drive encrypted.
Solved by disabling FRAMEBUFFER=y in /usr/share/ initramfs- tools/conf- hooks.d/ cryptsetup
[code]
# This will setup non-us keyboards in early userspace,
# necessary for punching in passphrases.
KEYMAP=y
# force busybox on initramfs
BUSYBOX=y
# and for systems using plymouth instead, use the new option
#FRAMEBUFFER=y
[/code]