Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 07 May 2000 23:42:44 +0000
From:      jacob@void.mapopolis.com
To:        freebsd-net@freebsd.org
Subject:   netboot troubles :(
Message-ID:  <3915FF74.4F2D3AD@void.mapopolis.com>

next in thread | raw e-mail | index | archive | help
well..i've been working on netboot for a few days now, and i've been
making little bursts of progress every now and then.  right now, i'm
stuck.

what i'm trying to do is boot a diskless box (192.168.0.4) that will
eventually act as a NAT/gateway/firewall.  i have my server
(192.168.0.3) setup right as far as i can tell.  netboot loads its
configuration fine, loads the kernel fine, and boots the kernel fine. 
when the kernel boots and tries to mount /, however, it gets an nfs
error (13,) which i think means access denied.  this makes no sense
seeing as netboot is able to use nfs to transfer the kernel.  here is a
log of what happens:

A:\>nb8390

BOOTP/TFTP/NFS bootstrap loader         ESC for menu

Search for adapter...Looking for NE1000/NE2000 at 0x0300

NE1000/NE2000 (16 bit) base 0x03000, addr 00:00:21:4A:2D:37

Searching for server...
Unknown RFC1048-tag 0006 0004 00A8 0000 0003
My IP 192.168.0.4, Server IP 192.168.0.3, GW IP 0.0.0.0
Loading /tftpboot/freebsd.192.168.0.4...
ip 192.168.0.4
hostname hades
netmask 255.255.255.0
server 192.168.0.3
rootfs /usr/diskless-root
Loading /kernel...
text=0x000DC000, data=0x00011000, bss=0x0001A8A0,
symbols=[+0x0004+0x14D8+0xC1EF]

... kernel boot messages ...

NFS ROOT: 192.168.0.3:/usr/diskless-root
nfs send error 13 for server 192.168.0.3:/usr/diskless-root

the only thing that i can think of is that since netboot has already
mounted the root filesystem, the server might not like it trying to
mount the root fs again.  assuming that was the problem, i'd have no
idea how to fix it.  if *anyone* could give me *any* help, i'd greatly
appreciate it.  in case it helps, i'll include all the relevant
configuration files.  the server is fbsd 3.4-STABLE.

/etc/bootptab:
hades:\
        :ht=ether:\
        :ha=0000214a2d37:\
        :sm=255.255.255.0:\
        :hn:\
        :ds=192.168.0.3:\
        :ip=192.168.0.4:\
        :vm=rfc1048:

/etc/exports:
/usr -maproot=0:0 -alldirs 192.168.0.4

/tftpboot/freebsd.192.168.0.4:
ip 192.168.0.4
hostname hades
netmask 255.255.255.0
server 192.168.0.3
rootfs /usr/diskless-root

thank you for even *reading* this post.  if you need to contact me, my
email address is jacob@void.mapopolis.com.  if you respond to this,
please email me the response, because i'm apt to miss it otherwise.

-jacob kuenzel


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3915FF74.4F2D3AD>