[Bug 573282] [NEW] mkinitramfs doesn't use busybox-initramfs and builds unuseable initrd
David Greaves
david at dgreaves.com
Sat May 1 21:03:58 UTC 2010
Public bug reported:
Binary package hint: initramfs-tools
upgrading 9.04 to 9.10
initrd fails with "/scripts/init-top/brltty: 19: grep: not found"
see:
http://www.mail-archive.com/linux-fai@uni-koeln.de/msg02954.html
also countless forum discussions.
it turns out that /usr/sbin/mkinitramfs has the following hardcoded:
# BUSYBOXDIR="/usr/lib/initramfs-tools/bin/"
BUSYBOXDIR="/bin"
reversing this to
BUSYBOXDIR="/usr/lib/initramfs-tools/bin/"
# BUSYBOXDIR="/bin"
allows a working initrd to be made.
A better solution may be:
test -e /bin/busybox && BUSYBOXDIR=/bin
test -e /usr/lib/initramfs-tools/bin/busybox && BUSYBOXDIR=/usr/lib/initramfs-tools/bin
which favours the initramfs version
** Affects: initramfs-tools (Ubuntu)
Importance: Undecided
Status: New
** Tags: boot busybox initrd
--
mkinitramfs doesn't use busybox-initramfs and builds unuseable initrd
https://bugs.launchpad.net/bugs/573282
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to initramfs-tools in ubuntu.
More information about the kernel-bugs
mailing list