[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#380686: initramfs-tools: busybox mount doesn't support nfs



Package: initramfs-tools
Version: 0.73
Severity: important

when setting BOOT=nfs and trying to boot, the nfs mount fails, because
busybox mount does not support nfs mounting (debian bug #348664:
busybox: consider CONFIG_NFSMOUNT)

this is what happens on boot:

IP-Config: eth0 complete (from 10.0.2.2):
 address: 10.0.2.15        broadcast: 10.0.2.255       netmask: 255.255.255.0
 gateway: 10.0.2.2         dns0     : 10.0.2.3         dns1   : 0.0.0.0
 rootserver: 10.0.2.2 rootpath:
 filename  :
Begin: Running /scripts/nfs-premount ...
Done.
mount: Mounting 10.0.2.2:/opt/ltsp/i386 on /root failed: No such file or
directory
Begin: Running /scripts/nfs-bottom ...
Done.

i've manually verified that "busybox mount" behaves the same way if run
on a normal system (not from initramfs-tools).

when i try setting BUSYBOX=n in initramfs.conf, i get an ugly warning:

update-initramfs: Generating /boot/initrd.img-2.6.16-2-486
Warning: Busybox is required for successful boot!

is there any way around this (to get regular mount installed in the
initramfs)?

live well,
  vagrant

-- System Information:
Kernel: Linux 2.6.16-2-486

Versions of packages initramfs-tools depends on:
ii  busybox                    1.1.3-2                    Tiny utilities for small and embedded systems
ii  cpio                       2.6-16                     GNU cpio -- a program to manage archives of files
ii  klibc-utils                1.4.11-3                   small statically-linked utilities built with klibc
ii  module-init-tools          3.2.2-3                    tools for managing Linux kernel modules
ii  udev                       0.093-1                    /dev/ and hotplug management daemon



Reply to: