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

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



On Tue, Aug 01, 2006 at 07:35:25PM +0200, maximilian attems wrote:
> On Tue, Aug 01, 2006 at 09:57:02AM -0700, vagrant+bugs@freegeek.org wrote:
> > well, my ugly workaround was to add a hook that installs /bin/mount to
> > /mount, and hack /usr/share/ltsp/scripts/nfs to use /mount directly.
> > 
> > not at all ideal, but it seems to work.
 
> sure initramfs-tools is flexible.

indeed. i really like it, overall.
 
> i'm in exam time atm so quite busy,
> i thought this busybox mount would make you happy for now.
> very unhappy that the opposite is true.

oh well...
 
> so current direction is
> - improve nfsmount in klibc # find out what is missing or buggy

i just tried initramfs-tools 0.69b from etch, and nfsmount appears to
work fine for ltsp. we had enabled a workaround to use mount instead for
the ltsp packages, but that appears to be unnecessary with recent klibc
nfsmount.

and, from my breif and initial tests, it seems the nfsmount in sid is
also working, so maybe switching scripts/nfs to use nfsmount, as long as
you're planning on keeping nfsmount around... (and making it a variable,
so easier to enable a workaround... there's a patch for this in my bzr
branch mentioned below)

maybe also/alternately getting NFS support for busybox mount is also an
option, if we can nudge the busybox maintainers? (#348664: busybox:
consider CONFIG_NFSMOUNT).

all that said, i must say, i'm partial to regular old mount :)

> hoped to do it today but studies hold me up.
> patches in aboves directions will be merged,

my initramfs-tools bzr branch:

http://llama.freegeek.org/~vagrant/bzr-archives/initramfs-tools/vagrant-initramfs-tools

currently should contain a patch to make the NFS mount command a
variable, and defaulting to nfsmount, as well as (incomplete but
useable) patches for #380649.

soon to be more :)

> also you can help me if you publish your qemu args,
> which usually contains the bootargs.

the full qemu (0.8.1-1) commandline i use is this:

qemu -hda /dev/zero -m 80 -kernel /opt/ltsp/i386/boot/vmlinuz \
  -initrd /opt/ltsp/i386/boot/initrd.img \
  -append "nfsroot=10.0.2.2:/opt/ltsp/i386 root=/dev/nfs ip=dhcp console=ttyS0,38400" \
  -nographic 

i've also tried without the console=ttyS0,38400 and -nographic parts.

/opt/ltsp/i386 is populated using ltsp-server from current development
branches.

> so that i can better take care of nfsrootstuff.

thanks!

> this is definitely holding up initramfs-tools to testing,
> as there we use nfsmount from klibc solution, which works
> for some setups.

right... well, nfsmount seems to be working now, and making it
configurable will greatly simplify workarounds in the future(hopefully
not needed)...

live well,
  vagrant



Reply to: