On Fri, Feb 04, 2000 at 09:31:16PM +0100, Mark Huizer wrote:
>
>Is it possible to boot current diskless?
Yes.
>
>I'd say (from the times I tried it in 3.1 or something) to use netboot,
>but that fails because it can't boot an ELF kernel.
net/etherboot port will do the job.
>
>Should I build an aout kernel, and how do I do that for current?
etherboot knows FreeBSD elf.
>
>Can I do it another way?
>
>One might say that with the rc.diskless files in /etc, that it should
>work somehow...
Sure it does. I use it. rc.diskless is powerfull and allow you to share
your server config (binaries + most configuration files) with bootp clients.
Here's the result for the currently running bootp client:
>>>
Filesystem 512-blocks Used Avail Capacity Mounted on
10.3.0.2:/ 198366 120494 62004 66% /
mfs:30 1918 1416 350 80% /conf/etc
mfs:34 63486 336 58072 1% /tmp
/conf/etc 1918 1416 350 80% /etc
procfs 8 8 0 100% /proc
breizh:/diskless/varfs/armor 4063844 2559428 1179310 68% /var
breizh:/usr 595326 455052 92648 83% /usr
breizh:/usr/X11R6 595326 455052 92648 83%
/usr/X11R6_elf-3.3.3
breizh:/usr/local 2051134 1415828 471216 75% /usr/local
breizh:/usr/contrib 4063844 2559428 1179310 68% /usr/contrib
mfs:64 3022 106 2676 4% /dev
breizh:/usr/X11R6 595326 455052 92648 83%
/usr/X11R6_elf-3.3.3
Note that 10.3.0.2 is breizh. DHCP port is running on breizh and serves
tftp/bootp requests to booting clients.
I use the following options in my client MACHINE files:
options BOOTP # Use BOOTP to obtain IP address/hostname
options BOOTP_NFSROOT # NFS mount root filesystem using BOOTP info
options BOOTP_COMPAT # Workaround for broken bootp daemons.
options BOOTP_WIRED_TO=ed1 # Use interface fxp0 for BOOTP
options MFS #Memory Filesystem
options NFS #Network Filesystem
pseudo-device vn 4 #Vnode driver (turns a file into a device)
>
>Greetings
>
>mark
>--
>Nice testing in little China...
>
>
>To Unsubscribe: send mail to [EMAIL PROTECTED]
>with "unsubscribe freebsd-current" in the body of the message
>
Nicholas
--
[EMAIL PROTECTED] / [EMAIL PROTECTED]
FreeBSD - Turning PCs into workstations - http://www.FreeBSD.org
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message