nfsroot doesn't work

Bug #72100 reported by Ketil Malde
2
Affects Status Importance Assigned to Milestone
linux-source-2.6.17 (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: linux-image-2.6-386

Okay, maybe I'm not supposed to do this, but

I want my workstation to boot diskless, using nfsroot from a server. Since I had everything set up (and working) with LTSP, I thought it'd be easy to justs point pxelinux at the current kernel, and install a basic system to an NFS volume. However, the scripts in initrd.img-2.6.17-9-386 were unable to mount the NFS volume, and consequently dropped me out into the initramfs shell.

After fiddling with scripts and options, I got this to work by extracting the working LTSP intrd (gunzip and cpio), replacing its /lib/modules with the one from the current initrd, and using cpio and gzip, creating a new initrd.img.

In short, this works for me now, but since it seems to be a bug, I thought I'd report it as such.

Revision history for this message
Ketil Malde (ketil-ii) wrote :

I guess I'm out on a limb already, but just in case anybody has any suggestions,
I'll note that mounting the root fs occasionally times out, and consequently,
the boot process fails. Rebooting the client, everything works as expected.

I tend to get a load of svc: bad direction messages in my logs, but that could be
unrelated (haven't gotten around to firewall the nfs ports yet)

-k

Revision history for this message
Chuck Short (zulcss) wrote :

Re-assigning against proper package.

Revision history for this message
Ketil Malde (ketil-ii) wrote :

Using Feisty, I've put the default kernel (-generic) in my tftp-directory, along with an initramfs that I rebuilt by setting BOOT=nfs in /etc/initramfs-tools/initramfs.conf. This works great, and as far as I am concerned, this bug can be closed.

-k

Revision history for this message
Ketil Malde (ketil-ii) wrote :

I'm closing this, as it works for me in Feisty. If that's not sufficient, feel free to reopen it.

Changed in linux-source-2.6.17:
status: New → Fix Released
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.