📄 doc029.htm
字号:
<html><body><a href="doc030.html"><img src=../icons/next.gif alt="Next"></a><a href="doc000.html"><img src=../icons/up.gif alt="Up"></a><a href="doc028.html"><img src=../icons/previous.gif alt="Previous"></a><a href="doc000.html"><img src=../icons/contents.gif alt="Contents"></a><a href="doc123.html"><img src=../icons/index.gif alt="Index"></a><hr><h2><a name="s4.3">4.3 Booting from a Network</a></h2><title>Booting from a Network</title><a name="i79"><a name="i80"><p>If you do not have floppy drive, and your PROM is less than version 2,you will need to do a network boot. This is fairly easy to do, but youwill need a rarp entry on a server on your local network to tell thetarget SPARC what its IP address is. This can be done on a Linuxsystem that has RARP built into the kernel (or inserted as a module),using a command of this form:<p><blockquote><font size=-1><tt><pre>rarp -s ip.address.of.sparc hw:address:of:sparc</pre></tt></font></blockquote><p>You also need an ARP entry in most cases; for example:<p><blockquote><font size=-1><tt><pre>arp -s ip.address.of.sparc hw:address:of:sparc</pre></tt></font></blockquote><a name="i81"><p>Now you need to setup a TFTP server on your local network to serve thekernel to the target SPARC. This should be the same machine that isdoing the <tt>rarp</tt> above. Under Red Hat Linux, this can be done by editing<tt>/etc/inetd.conf</tt>. You need an entry that looks similar to:<p><blockquote><font size=-1><tt><pre>tftp dgram udp wait root /usr/sbin/tcpd in.tftpd /home/tftp</pre></tt></font></blockquote><p>You can now copy the <tt>kernels/vmlinux</tt> to <tt>/home/tftp</tt> on yourserver and create a symbolic link so that the PROM can get the properfile. This symbolic link is conditional based on the IP address andarchitecture of the target SPARC. You need to make the link be the hexvalue of your IP address ``dot'' the architecture. For example, tocreate a symbolic link for <tt>flanders.redhat.com</tt>, a sun4m machinewith IP address 199.183.24.232, you would enter the command:<p><blockquote><font size=-1><tt><pre>cd /home/tftpln -s vmlinux C7B718E8.SUN4M</pre></tt></font></blockquote><p>At this point you should be able to go to the PROM on your SPARC and type:<p><blockquote><font size=-1><tt><pre>boot net nfsroot=nfs.server.IP.address:/path/to/RH/image</pre></tt></font></blockquote><p>and it should get its rarp request from the TFTP server fulfilled and start loading the kernel via TFTP. The kernel should then boot and start the install.<p>After booting the installation disk you will be greeted by a welcome screen with a single button; press <tt>[Enter]</tt> to begin the installation. <p>Now, choose the medium you will be installing from; NFS, Hard Disk orFTP. Installing from hard disk will work if you have an existingpartition with an EXT2 filesystem only; installation from UFS is notyet implemented.<p><p><hr><a href="doc030.html"><img src=../icons/next.gif alt="Next"></a><a href="doc000.html"><img src=../icons/up.gif alt="Up"></a><a href="doc028.html"><img src=../icons/previous.gif alt="Previous"></a><a href="doc000.html"><img src=../icons/contents.gif alt="Contents"></a><a href="doc123.html"><img src=../icons/index.gif alt="Index"></a><hr></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -