Booting FreeBSD 5.0 on a Sun machine over net…

2009-05-13 01:09:04来源:未知 阅读 ()

新老客户大回馈,云服务器低至5折

http://www.non-standard.net/freebsd/sparc64-nfsroot/sparc64-nfsroot.html
Anthony Volodkin
Introduction
In recent years, the FreeBSD-sparc64 port gathered significant
attention among developers. A large amount of work has been done over the years;
however, there is still a lot that must be accomplished in terms of device
support and stability. One of the shortcomings of the FreeBSD-sparc64 port is
the lack of support for some onboard SCSI devices that are used in Sun Ultra
1's, Ultra 2's, and possibly other models. This prevents FreeBSD from
recognizing attached disk drives and thus booting from a disk.
To allow developers to test their code, especially disk drivers,
it is necessary to boot the machine without using a disk. The FreeBSD Handbook
describes the procedure for booting a diskless workstation, but that does not
entirely apply to booting a FreeBSD-sparc64 system on a machine such as an Ultra
2. The solution below involves using TFTP and the kernel support for a
NFS-mounted root partition to boot FreeBSD from the network.
Our example setup involves a fast i386 machine running FreeBSD
  4.7-RELEASE and a Sun Ultra 2 with FreeBSD 5.0-DP2. This procedure is applicable
  to a wide range of Sun hardware and will work with later releases of the FreeBSD
  5.0.
Setting up DHCPd
First, we need to download and install isc-dhcpd 3.x onto the
machine that will also act as the TFTP/NFS server. You can find it in
/usr/ports/net/isc-dhcp3/. After completeing the basic dhcpd
configuration such as the subnet definitions, IP addressess ranges, etc., we can
proceed with adding a host section for the netbooted machine.
Here is an example:
        host divine {
                hardware ethernet 08:00:20:89:cf:f3;
                option host-name "divine.local.non-standard.net";
                fixed-address 192.168.1.5;
                always-reply-rfc1048 on;
                filename "loader.nfs";
                next-server 192.168.1.3;
                option root-path "192.168.1.3:/storage3/sparc64-nfsroot";
        }
The filename field refers to the name of the file that
should be originally sent to the machine after its first DHCP/BOOTP request. The
next-server field specifies which server should be used for downloading
the kernel using TFTP or NFS. The root-path option describes where the
kernel is located on the NFS server.
Setting up TFTPd
In the next step we use the default TFTP daemon that comes with

标签:

版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com
特别注意:本站所有转载文章言论不代表本站观点,本站所提供的摄影照片,插画,设计作品,如需使用,请与原作者联系,版权归原作者所有

上一篇:在RedHat下建立群集实例(ZT)

下一篇:FreeBSD/sparc64 5.0-CURRENT Installation