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

Bug#550429: kfreebsd-7: add BOOTP kernel options for NFS Root support



Package: kfreebsd-7
Version: 7.2-9
Severity: wishlist

please consider adding the BOOTP, BOOTP_COMPAT, BOOTP_NFSROOT and BOOTP_NFSV3
options to the kernel configurations. without the above defined options, it
requires a bootloader to set a laundry list of variables (including ip,
netmask, hwaddr and worst of all, an NFS handle) in order to use the NFS_ROOT
features already present in the default kernels.

the only bootloader i've found that supports all of them is FreeBSD's
loader/pxeldr/pxeboot... which is not yet present in Debian.

i believe the following options added to the 486 kernel, if not the other ones
as well, would at least make it easier to test NFS_ROOT on Debian GNU/kFreeBSD
using grub2, and shouldn't change the default behavior in most cases.

diff -u kfreebsd-7-7.2/debian/arch/i386/486.config kfreebsd-7-7.2/debian/arch/i386/486.config
--- kfreebsd-7-7.2/debian/arch/i386/486.config
+++ kfreebsd-7-7.2/debian/arch/i386/486.config
@@ -18,4 +18,10 @@
 device         fb
 
+# Use BOOTP to obtain IP address/hostname
+options     BOOTP
+options     BOOTP_COMPAT
+# NFS mount root file system using BOOTP info
+options     BOOTP_NFSROOT
+options     BOOTP_NFSV3
 
 #include               GENERIC


with those added, a crude port of LTSP should not be far off...

live well,
  vagrant



Reply to: