Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Sep 2000 02:23:57 +1100 (EST)
From:      =?iso-8859-1?q?Paul=20Jansen?= <vlaero@yahoo.com.au>
To:        hackers@freebsd.org
Subject:   Diskless boot - almost there now I think
Message-ID:  <20000915152357.17970.qmail@web5101.mail.yahoo.com>

next in thread | raw e-mail | index | archive | help
I am having problems with diskless booting.  I'm using
the frreebsd etherboot port.  Here's my
/usr/local/etc/dhcpd.conf file for the ISC v2 DHCP
server:

# dhcpd.conf

# option definitions common to all supported
networks...
option domain-name "jansen.org";
option domain-name-servers 202.167.41.130;
option subnet-mask 255.255.255.0;
default-lease-time 600;
max-lease-time 7200;

subnet 192.168.0.0 netmask 255.255.255.0 {
  range dynamic-bootp 192.168.0.10 192.168.0.20;
  option routers 192.168.0.8;
  option broadcast-address 192.168.0.255;
  filename "/tftpboot/kernel.XWORKSTATION";
  option root-path
"192.168.0.1:/usr/diskless/rootfs/xworkstation";
  option option-128 "192.168.0.1:/usr/diskless/swap";
  option option-176 5;
  option option-160 "timeout=8:default=193:";
  option option-192 "IJ2:::/tftpboot/kernel.ij2:";
  option option-193
"XWORKSTATION:::/tftpboot/kernel.XWORKSTATION:"; 
}


my /etc/exports file has this line in it:

/usr -alldirs -maproot=0:0
edessa pico host10 host11 host12 host13

The last few messages that pop up on the diskless
systems screen are:

Mounting root from NFS:
NFS ROOT:
192.168.0.1:/usr/diskless/rootfs/xworkstation
NFS SWAP: 192.168.0.1:/usr/diskless/swap


The system sits here like this.  I have tried this on
two different diskless boxes with the same result.  I
have left them for up to 20 minutes but nothing
happens.  I have to admit that I am fumbling my way
through this due to lack of a good resource on
diskless booting with freebsd.  I'm not sure what's
meant to happen next.  I don;t know if my filesystem
exported for the diskless machine is set up right
either.
Is freebsd diskless like netbsd in that if it doesn't
find an /etc/rc.conf file it drops to single user
mode?

Can someone help me with what is meant to happen next
and what I'm not doing right?  I'm using 4.1R and a
kernel for the diskless machine compiled with the
following options:

# Kernel BOOTP support  
  options         BOOTP           # Use BOOTP to
obtain IP address/hostname
  options         BOOTP_NFSROOT   # NFS mount root
filesystem using BOOTP info
  options         BOOTP_NFSV3     # Use NFS v3 to NFS
mount root
  options         BOOTP_COMPAT    # Workaround for
broken bootp daemons.


Thanks.


_____________________________________________________________________________
http://geocities.yahoo.com.au - Yahoo! Australia & NZ GeoCities
- Build your own Web Site - for free!


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000915152357.17970.qmail>