Booting FreeBSD 5.0 on a Sun machine over net…
2009-05-13 01:09:04来源:未知 阅读 ()
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
特别注意:本站所有转载文章言论不代表本站观点,本站所提供的摄影照片,插画,设计作品,如需使用,请与原作者联系,版权归原作者所有
- Freebsd oracle 10g 2009-05-13
- KDE/FreeBSD 测试 QT-4.5.1. 2009-05-13
- OpenBSD 4.5下安装Gnome 2.24成功! 2009-05-13
- OpenBSD 4.5 2009-05-13
- DragonFly BSD 2.2.1发布 2009-05-13
IDC资讯: 主机资讯 注册资讯 托管资讯 vps资讯 网站建设
网站运营: 建站经验 策划盈利 搜索优化 网站推广 免费资源
网络编程: Asp.Net编程 Asp编程 Php编程 Xml编程 Access Mssql Mysql 其它
服务器技术: Web服务器 Ftp服务器 Mail服务器 Dns服务器 安全防护
软件技巧: 其它软件 Word Excel Powerpoint Ghost Vista QQ空间 QQ FlashGet 迅雷
网页制作: FrontPages Dreamweaver Javascript css photoshop fireworks Flash