Comment 15 for bug 1355010

Revision history for this message
Jens Elkner (jelmd) wrote :

Haven't tried, but found a way to fix it myself. In general the problem is, that Ubuntu still uses a setup/environment, which looks like ~15 years ago - all the bogus klibc/busybox pain! I mean, I want to boot a workstation, not my dish washer!

In detail one problem seems, that Ubuntu uses the buggy /bin/losetup, and not the working version provided as /sbin/losetup. Furthermore the /bin/run-init seems to be bogus.
I replaced it with http://code.metager.de/source/raw/opensuse/mkinitrd/src/run-init.c and finally got nfs boot working.

To get a clue, what we do exactly, have a look at: http://iws.cs.uni-magdeburg.de/~elkner/tmp/ubuntu/
The setupUbuntuPXE.sh (entry point) is used to fetch the ISO, setup PXE and mangle the initrd image
on the PXE server.

Note, that we currently force TORAM for nfs root, because without it Ubuntu stops working after a while (looks like, when the client becomes idle for a certain time, trouble starts - I guess, buggy squash/unionfs implementation ...).