Booting Casper via PXE netboot supports only NFS over TCP

Bug #436829 reported by Tobias Wolf
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
casper (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: casper

My NFS server only serves via proto=udp. Casper’s nfsmount, however, defaults to TCP. This would be easy to specify in the mount option in the pxelinux.cfg but there are two problems with the initramfs:

1. the scripts/casper script uses nfsmount, which doesn’t accept the -o udp option. Changing »nfsmount« to »mount -t nfs« is a simple change and works.
2. the scripts/casper script, unlike the one in scripts/nfs (which is similar), does not parse the nfs mount options out of the kernel command line (in scripts/nfs it takes the substring before the comma as the export and everything after the comma as the mount options). This means one has to extract the initrd for every downloaded ISO to change this one line.

It would be good if the do_nfsmount() function would use the trickery that is done in the other script.

Booting the Live-CD via network helps to avoid burning coasters all the time, and it impresses guests with “drive-by” Ubuntu Linux.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.