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

[PATCH] initial NFS root support.



Here is a patch to the casper script (1.61+debian-2)

Boot with a pxelinux config like this:
label linux
  kernel dr/vmlinuz
  append initrd=dr/initrd.gz boot=casper netboot root=/dev/nfs
nfsroot=192.168.23.45:/srv/NFSroot/live-package/net/live/chroot

NB: Need "netboot" to do either CIFS or NFS boot. "root=/dev/nfs"
chooses NFS ommit "root=" should do cifs.

NB: I have only tested the NFS part... however the CIFS part could
never be run as far as I could see in the old code... at leat now it
can be run... someone else can fix that bit!!!

NB: I think all initrd/initramfs that try to do NFSroot should try and
follow the rules laid down on nfsroot.txt in the Linux kernel source
Documentation. This initramfs and casper don't... I will try and find
time to submit patched to fix this!!!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: casper_nfs.patch
Type: text/x-patch
Size: 2050 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/debian-live-devel/attachments/20060730/a3d8ff44/casper_nfs.bin

Reply to: