[Bug 302041] [NEW] initramfs BOOT=nfs, DEVICE=all - workaround
madorc
orc at homesrv.ru
Tue Nov 25 14:25:21 UTC 2008
Public bug reported:
If in /etc/initramfs-tools/initramfs.conf set BOOT=nfs and DEVICE=all (to do not bind specific interface, if you have more whan one), you cannot boot with error:
/tmp/net-all.conf: No such file or directory
...and kernel panic, attempt to kill init...
I have found workaround... Simply in file /usr/share/initramfs-
tools/scripts/functions, change following from:
{skiped}
# source ipconfig output
if [ -n "${DEVICE}" ]; then
{skiped}
to:
{skiped}
if [ -n "${DEVICE}" ] && [ "${DEVICE}" != "all" ]; then
{skiped}
...and #update-initramfs -c -k all...
After what, you clients continue booting from first dhcp-positive answer
recieved...
Usefull for diskless servers or any diskless clients with more whan one
network controller...
** Affects: initramfs-tools (Ubuntu)
Importance: Undecided
Status: New
--
initramfs BOOT=nfs, DEVICE=all - workaround
https://bugs.launchpad.net/bugs/302041
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