Subject: Re: Steps for netbooting the dreamcast
To: None <port-dreamcast@netbsd.org>
From: Hiroyuki Bessho <bsh@grotto.jp>
List: port-dreamcast
Date: 12/06/2001 00:10:52
Andy R <quadreverb@yahoo.com> writes:

> Ok, I've seen a lot of advice given about reading the
> diskless howto and the diskless man page. Let me see
> if I have this right:
> 
> 1. Set up my NetBSD/i386 box as a dhcp, nfs and tftpd
> server.

  You don't need tftpd server. We don't have a boot loader that can do
tftp yet.

> 2. Put the tarball sets into an exported nfs rw
> directory.
> 3. Make a kernel that understands it needs to nfs
> mount all it's filesystems, but put it where? The tftp
> directory?

Don't worry.  If you boot your kernl from CD-R, then kernel is in the
disc.  If you boot it via Marcus' IPslave, you can put it anywhere
your like, because you just cat it.

see http://www.netbsd.org/Ports/dreamcast/faq.html.

[snip]
> Do I have to use dhcp? What if I have a static address
> for the dreamcast in my 192.168.xxx.xxx network?

  You need dhcp server to tell your dreamcast where the file system to
mount is.  Please note that you want to give fixed address to your DC
when you use IPslave.  To setup IP address, you need to run "Broadband
Passport", which comes with BbA.

  Here are steps I take usally:

 0. setup dhcp server and nfs server.
 1. boot IPslave from CD-R.
 2. cat netbsd > /p/tcp/dreamcast/4711
 3. kernel starts. After driver messages, it asks you about root FS.
    Type as follows:

root device: rtk0
dump device:                                  (just return)
file system (default generic): nfs


  for dhcp server, my dhcpd.conf has a section like:

host sonic {
    hardware ethernet xx:yy:zz:aa:bb:cc;
    option host-name "sonic";
    fixed-address x.y.z.w
    next-server nfs-server-name;
    option root-path "/u0/work/current/dreamcast/dist";
#   option root-path "/u1/proj/dreamcast/hpcsh-coff-root";
    option dhcp-max-message-size 1024;
    option broadcast-address x.y.z.255;
    option routers x.y.z.1;
    option domain-name "my.domain";
    option domain-name-servers x.y.z.1;
}


  I hope this helps.

---
bsh.