Subject: Re: netboot install of 1.4.1 snapshot
To: Jonathan Stone <jonathan@DSG.Stanford.EDU>
From: None <mcmahill@mtl.mit.edu>
List: port-pmax
Date: 07/21/1999 19:13:34
On Wed, 21 Jul 1999, Jonathan Stone wrote:

> In message <Pine.SOL.3.96.990721184109.18359A-100000@bitter.mit.edu>,
> mcmahill@mtl.mit.edu writes:
> >
> >
> >I'm slightly further:  I followed the Netboot-HOW-TO instructions and 
> >gave le1 as the root device.  This produced:
> >
> >root device (default md0a): le1
> >dump device: 
> >file system (default nfs): 
> >nfs_boot: trying DHCP/BOOTP
> >nfs_boot: BOOTP server: 0xa000005
> >nfs_boot: my_addr=0xa000004
> >nfs_boot: my_mask=0xffff0000
> >nfs_boot: getfh - no pathname
> >cannot mount root, error = 5
> >
> >
> >my_addr is right as is the BOOTP server.  Don't know what that "getfh - no
> >pathname stuff is."
> 
> Did your bootp/dhcp config specify wher the machien should mount its
> root from? It looks like it's saying it coudln't find the pathname to
> mount as root, when it came time to turn that string into a filehandle.
> 

dan@cowboy-burt 251 # more /etc/bootparams 
10.0.0.4        root=10.0.0.5:/usr/sy-borg/root \
        swap=10.0.0.5:/usr/sy-borg/swap \
        dump=10.0.0.5:/usr/sy-borg/swap

dan@cowboy-burt 252 # ls /usr/sy-borg/root
.profile  dev       kern      mnt2      sysinst   usr
bin       etc       mnt       sbin      tmp

dan@cowboy-burt 253 # ls -l /usr/sy-borg/swap 
-rw-r--r--  1 root  wheel  16777216 Jul 21 16:30 /usr/sy-borg/swap

dan@cowboy-burt 254 # more /etc/exports 
/usr/sy-borg/root -maproot=root 10.0.0.4
/usr/sy-borg/swap -maproot=root 10.0.0.4
/usr/sy-borg/usr -maproot=root 10.0.0.4
/usr/sy-borg/home -maproot=root 10.0.0.4

dan@cowboy-burt 256 # more /etc/bootptab
sy-borg:\
        :ht=ethernet:ha=08002b1a8019:\
        :ip=10.0.0.4:sm=255.255.0.0:\
        :sa=10.0.0.5:bf=install:


running bootpd from the command line with -d 5 as a flag shows (starting
from after I told it le1 as the root device):

bootpd: info(6):   recvd pkt from IP addr 0.0.0.0
bootpd: info(6):   bootptab mtime: Wed Jul 21 18:01:53 1999
bootpd: info(6):   request from Ethernet address 08:00:2B:1A:80:19
bootpd: info(6):   found 10.0.0.4 (sy-borg)
bootpd: info(6):   bootfile="/install"
bootpd: info(6):   vendor magic field is 99.130.83.99
bootpd: info(6):   request message length=548
bootpd: info(6):   extended reply, length=548, options=312
bootpd: info(6):   sending reply (with RFC1048 options)
bootpd: info(6):   setarp 10.0.0.4 - 08:00:2B:1A:80:19
bootpd: info(6):   arp -d 10.0.0.4; arp -s 10.0.0.4 08:00:2B:1A:80:19 temp