在Sparc机器上网络安装OpenBSD系统

2016-01-29 18:09 5 1 收藏

在Sparc机器上网络安装OpenBSD系统,在Sparc机器上网络安装OpenBSD系统

【 tulaoshi.com - Linux 】

大部分都是根据man diskless手册走的,虽然有些地方和手册不一样,但是毕竟是摸索出来的,安装成功了
DISKLESS(8) OpenBSD System Manager's Manual DISKLESS(8)NAME diskless - booting a system over the networkDESCRIPTION The ability to boot a machine over the network is useful for diskless or dataless machines, or as a temporary measure while repairing or re-in- stalling filesystems on a local disk. This file provides a general de- scription of the interactions between a client and its server when a client is booting over the network. The general description is followed by specific instructions for configuring a server for diskless Sun clients.OPERATION When booting a system over the network, there are three phases of inter- action between client and server: 1. The PROM (or stage-1 bootstrap) loads a boot program. 2. The boot program loads a kernel. 3. The kernel does NFS mounts for root and swap. Each of these phases are described in further detail below. In phase 1, the PROM loads a boot program. PROM designs vary widely, so this phase is inherently machine-specific. Sun and Motorola machines use RARP to determine the client's IP address and then use TFTP to download a boot program from whoever sent the RARP reply. HP 300-series machines use the HP Remote Maintenance Protocol to download a boot program. Other machines may load a network boot program either from diskette or using a special PROM on the network card. In phase 2, the boot program loads a kernel. Operation in this phase de- pends on the design of the boot program. The boot program: 2.1 gets the client IP address using RARP. 2.2 gets the client name and server IP address by broadcasting an RPC / BOOTPARAMS / WHOAMI request with the client IP address. 2.3 gets the server path for this client's root using an RPC / BOOTPARAMS / GETFILE request with the client name. 2.4 gets the root file handle by calling mountd(8) with the server path for the client root. 2.5 gets the kernel file handle by calling NFS lookup on the root file handle. 2.6 loads the kernel using NFS read calls on the kernel file handle. 2.7 transfers control to the kernel entry point. In phase 3, the kernel does NFS mounts for root and swap. The kernel re- peats much of the work done by the boot program because there is no stan- dard way for the boot program to pass the information it gathered on to the kernel. The procedure used by the kernel is as follows: 3.1 The kernel finds a boot server using the same procedure as described in steps 2.1 and 2.2 above. 3.2 The kernel gets the NFS file handle for root using the same proce- dure as described in steps 2.3 through 2.5 above. 3.3 The kernel calls the NFS getattr function to get the last-modified time of the root directory, and uses it to check the system clock. 3.4 If the kernel is configured for swap on NFS, it uses the same mecha- nism as for root, but uses the NFS getattr function to determine the size of the swap area.CONFIGURATION Before a client can boot over the network, its server must be configured correctly. This example will demonstrate how a Sun client might be con- figured -- other clients should be similar. Assuming the client's hostname is to be "myclient", 1. Add an entry to /etc/ethers corresponding to the client's Ethernet address: 8:0:20:7:c5:c7 myclient This will be used by rarpd(8). #记得启动rarpd服务 2. Assign an IP address for myclient in your /etc/hosts or DNS database: 192.197.96.12 myclient 3. If booting a Sun or Motorola client, ensure that /etc/inetd.conf is configured to run tftpd(8) in the directory /tftpboot. If booting an HP 300-series machine, ensure that /etc/rbootd.conf is configured properly to transfer the boot program to the client. An entry might look like this: 08:00:09:01:23:E6 SYS_UBOOT # myclient See the rbootd(8) manual page for more information. 4. If booting a Sun or Motorola client, install a copy of the appropri- ate diskless boot loader (such as boot.net from the root directory of the OpenBSD sparc tree) in the /tftpboot directory. Make a link such that the boot program is accessible by a f

来源:http://www.tulaoshi.com/n/20160129/1504603.html

延伸阅读
标签: 服务器
怎么在CentOS系统上安装Docker   Docker 是一个开源工具,它可以让创建和管理 Linux 容器变得简单。容器就像是轻量级的虚拟机,并且可以以毫秒级的速度来启动或停止。Docker 帮助系统管理员和程序员在容器中开发应用程序,并且可以扩展到成千上万的节点。 容器和 VM(虚拟机)的主要区别是,容器提供了基于进程的隔离,而虚拟机...
标签: 电脑入门
一局域网新增了一台客户机,但集线器端口已接满,这就意味着新增的那一台客户机不能接入局域网,连共享资源也访问不了,更不用说共享上网了。而网管又不打算增加集线器,这时Windows XP的网桥功能就派上用场了,不过需要一个前提条件,就是局域网中必须有一台安装了双网卡的Windows XP系统客户机。前提条件已具备,构思很快就会实现,为了容易...
RedHat7.3 上建立网络拨号的上网共享 RedHat7.3 上建立网通拨号的上网共享1、 网卡配置。 我这里用的网卡是RTL8029和3com905。在系统中,RTL8029标记为eth0,3com905标记为eth1。RTL8029和3com905的IP地址分别是192.168.0.1、192.168.1.1(其他的地址也可),掩码均为255.255.255.0。 eth0用于连接网通,eth1用于连接内网,局域网网段为192.16...
标签: 电脑入门
一、网络设置的问题 这种原因比较多出现在需要手动指定IP、网关、DNS服务器联网方式下,及使用代理服务器上网的。仔细检查计算机的网络设置。 二、DNS服务器的问题 当IE无法浏览网页时,可先尝试用IP地址来访问,如果可以访问,那么应该是DNS的问题,造成DNS的问题可能是连网时获取DNS出错或 DNS服务器本身问题,这时你可以手动指定DNS服务...
标签: 电脑入门
问:我家电脑用的是Windows 7旗舰版,我发现有时候右下角会出现网络受限的警告,但奇怪的是,这时候是可以上网的,这是怎么回事? 答:要知道为什么,就得先了解一下Windows 7判断网络是否畅通的原理。当计算机连接到网络的时候,Windows 7会向微软的一个服务器发送访问请求,返回结果作为网络连接状况指示器(NCSI)的显示依据,这个功能是从Win...

经验教程

450

收藏

88
微博分享 QQ分享 QQ空间 手机页面 收藏网站 回到头部