Subject: Re: silly question...
To: Andy Michaels <lego@apollo.gti.net>
From: Peter Stewart <peter.stewart@sun.com>
List: port-dreamcast
Date: 07/10/2001 09:00:04
The kernel has started, it cant find the mount point for nfs.
Your /etc/dhcpd.conf should look like:


#This is from www.wrong.org

          ddns-update-style ad-hoc;
          
subnet xxx.xxx.xxx.0 netmask 255.255.255.0 {
         # default gateway
         option routers xxx.xxx.xxx.xxx;
         option subnet-mask 255.255.255.0;
         option domain-name "xxxxxxx.xxx.xxx";
         option domain-name-servers xxx.xxx.xxx.xxx;
         default-lease-time 21600;
         max-lease-time 43200;
         
 host dreamcast {
         hardware ethernet xx:xx:xx:xx:xx:xx;
         option host-name "dreamcast";
         fixed-address xxx.xxx.xxx.xxx;
         option root-path "/usr/local/home/dreamcast/netbsd/root";
         option dhcp-max-message-size 1024;

         }
         
}

Where the "host dreamcast" section is set appropriately.

and change all the xxx's to something appropriate.

"dreamcast" has an entry in my hosts file...eg the ip of your dreamcast.

and your /etc/exports:

/usr/local/home/dreamcast/netbsd/root   (rw,no_root_squash)


and dont forget to start nfs. (easiest - "/etc/rc.d/init.d/nfs start")



Andy Michaels wrote:
> 
> Okay, I set up an NFS server/DHCP server.  When I boot the DC, I get:
> 
> <snip>
> nfs_boot:DHCP server: 192.168.2.1
> nfs_boot:my_domain=drew.com
> nfs_boot:my_addr=192.168.2.5
> nfs_boot:my_mask=255.255.255.0
> nfs_boot:getfh - no pathname
> cannot mount root, error = 5
> root device (default md0a):
> </snip>
> 
> I'm assuming that the getfh is "get file handle".  Is it looking for the
> kernel, or a path to the kernel?  I'm a little new to NFS and DHCP, so
> I've most likely misconfigured something there.  Any suggestions?  If this
> is an RTFM, which FM should I R?
> 
> Andy
> 
> /*
> ** A N D Y . M I C H A E L S
> **
> ** L E G O  AT  G T I  DOT  N E T
> **
> ** http://www.gti.net/lego
> */