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

View: New views
2 Messages — Rating Filter:   Alert me  

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

by Vagrant Cascadian-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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



--
To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


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

by Aurelien Jarno :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Fri, Oct 09, 2009 at 05:24:56PM -0700, Vagrant Cascadian wrote:

> 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.

Thanks, I have committed that to the SVN, it will be in the next upload.

--
Aurelien Jarno                        GPG: 1024D/F1BCDB73
aurelien@...                 http://www.aurel32.net



--
To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...