Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Jan 2003 14:41:17 +0100
From:      Bernd Walter <ticso@cicely8.cicely.de>
To:        Rob B <rbyrnes@ozemail.com.au>
Cc:        freebsd-alpha@FreeBSD.ORG
Subject:   Re: Netbooting Alpha
Message-ID:  <20030107134117.GB28476@cicely8.cicely.de>
In-Reply-To: <5.1.1.6.2.20030107134925.01d00880@127.0.0.1>
References:  <5.1.1.6.2.20030107134925.01d00880@127.0.0.1>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jan 07, 2003 at 01:53:23PM +1100, Rob B wrote:
> I'm trying to get my little Multia to netboot and run -CURRENT 
> diskless.  I've made a new kernel config and built it on the server by 
> running
> 
> >make buildkernel KERNCONF=MULTIA
> 
> No problems there ... but where is the magic netbootable kernel?

To boot from network you need to setup some services.
A NFS server to hold the / filesystem.
A bootp which sents several parameters such as bootfiles, IP, ...
A TFTP server to hold netboot.

This is an example of what you need to configure the isc dhcpd server:
shared-network keller {
  option domain-name "cicely.de";
  option domain-name-servers 10.1.1.22, 10.1.1.8;
  allow bootp;
  default-lease-time 14400;
  max-lease-time 86400;
  server-name "cicely6.cicely.de";
  get-lease-hostnames true;
  authoritative;
  option ntp-servers 10.1.6.9;

  subnet 10.1.1.0 netmask 255.255.255.0 {
    range dynamic-bootp 10.1.1.128 10.1.1.254;
    option domain-name-servers 10.1.1.22, 10.1.1.8;
    option subnet-mask 255.255.255.0;
    option broadcast-address 10.1.1.255;
    option routers 10.1.1.8;
  }
  group {
    host cicely10 {
      hardware ethernet 00:00:92:94:0f:91;
      fixed-address 10.1.1.12;
      filename "netboot";
      next-server 10.1.1.11;
      option root-path "10.1.1.11:/var/d7/testroot/";
    }
  }
}

option root-path defines the nfsserver with the / filesystem.
The etc/fstab in this filessystem should point to nfs.
filename and next-server point to the TFTP server holding the
netboot image (from /boot/netboot).
The kernel is on the NFS server just as it would be on a normal UFS
base / filesystem.

-- 
B.Walter              COSMO-Project         http://www.cosmo-project.de
ticso@cicely.de         Usergroup           info@cosmo-project.de


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030107134117.GB28476>