This is, in a nutshell, the setup I'm using for testing:

# installing a minimal chroot containing nfs-common
debootstrap --include=nfs-common $RELEASE /srv/nfsroot/$RELEASE
echo "$RELEASE-nfsroot" > /srv/nfsroot/$RELEASE/etc/hostname
echo "iface eth0 inet manual" >> /srv/nfsroot/$RELEASE/etc/network/interfaces
chroot /srv/nfsroot/$RELEASE passwd root

# exporting the nfsroot from the server
echo "/srv/nfsroot/$RELEASE *(rw,no_subtree_check,no_root_squash)" >> 
/etc/exports
service nfs-kernel-server reload

For testing in a VM, you can set it up in virt-manager to do a direct
kernel boot using the host's kernel and initramfs, and kernel args along
the lines of "ro boot=nfs root=/dev/nfs nfsroot=<server
IP>:/srv/nfsroot/$RELEASE".

I'm tarpman in #ubuntu-devel if you want to talk about this with lower
latency, for example if I made some error above.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/537133

Title:
  mountall issues with NFS root filesystem

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mountall/+bug/537133/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to