Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Mar 1995 00:30:53 -0700
From:      Steve Passe <fbsd@clem.systemsix.com>
To:        questions@FreeBSD.org
Subject:   diskless booting
Message-ID:  <199503140730.AAA23254@clem.systemsix.com>

Next in thread | Raw E-Mail | Index | Archive | Help
hello,
	i am currently trying to get a diskless station working
with the 950210-SNAP.

followed the instructions in the diskless faq, specifics of my setup:

server is 950210-SNAP, IP: xxx.yyy.zzz.136

/tftpboot/cfg.xxx.yyy.zzz.137:

rootfs xxx.yyy.zzz.136:/usr/rootfs/eisa
swapfs xxx.yyy.zzz.136:/usr/swapfs/swap.xxx.yyy.zzz.137
[ the faq does NOT show the actual ^^^^^^^^^^^^^^^^^^^^ swap file ?
  is this a bug in the faq?  if i leave it out netboot complains
  about not haveing permission to mount
]
swapsize 20000
hostname eisa.my.domain

/etc/exports:

/usr /usr/rootfs/eisa /usr/swapfs -maproot=0:0 eisa.my.domain
[ are ^^^^^^^^^^^^^^^ ^^^^^^^^^^^ these safe? i also tried using
  just /usr as the mount point, no difference...
]

etc/bootptab:

default:\
        :dn="my.domain":\
        :td=/tftpboot:\
        :to=auto:

eisa:\
        :ht=ether:\
        :ha=0000c0b01234:\
        :sm=255.255.255.240:\
        :hn:\
        :ds=xxx.yyy.zzz.129:\
        :ip=xxx.yyy.zzz.137:\
        :gw=xxx.yyy.zzz.130:\
        :vm=rfc1048:\
        :tc=default:

i took a slightly different approach for the /usr/rootfs/eisa/
file system, i modified the X11R6 lndir program to create
a tree of soft links to the / tree.  I then did a rm -rf of etc
and copied /etc in its place and modified things like myname,
netstart, etc.  this saves quite alot of space.

now the problem, running netboot from eisa:

A> netboot

....


Loading /tftpboot/cfg.xxx.yyy.zzz.137:
rootfs xxx.yyy.zzz.136:/usr/rootfs/eisa
swapfs xxx.yyy.zzz.136:/usr/swapfs/swap.xxx.yyy.zzz.137
swapsize 20000
hostname eisa.my.domain

***RPC ERROR: (0,0,0):
 Unable to mount SWAP filesystem: No such file or directory.

boot>

the swapfile i set up appears to be there:

/usr/swapfs/swap.xxx.yyy.zzz.137 exists: -rw-rw-rw-,
/usr/swapfs is drwxrwxrwx

any ideas?

					Steve Passe
					smp@clem.systemsix.com
/usr/swapfs/swap.xxx.yyy.zzz.137



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?199503140730.AAA23254>