/[gentoo]/xml/htdocs/doc/en/gentoo-sparc-netboot-howto.xml
Gentoo

Diff of /xml/htdocs/doc/en/gentoo-sparc-netboot-howto.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.10 Revision 1.11
1<?xml version='1.0' encoding="UTF-8"?> 1<?xml version='1.0' encoding="UTF-8"?>
2<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> 2<!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
3<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/gentoo-sparc-netboot-howto.xml,v 1.10 2008/05/20 18:46:15 swift Exp $ --> 3<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/gentoo-sparc-netboot-howto.xml,v 1.11 2009/12/14 21:35:05 nightmorph Exp $ -->
4 4
5<guide link="/doc/en/gentoo-sparc-netboot-howto.xml"> 5<guide>
6
7<title>Gentoo Linux based Netboot HOWTO</title> 6<title>Gentoo Linux based Netboot HOWTO</title>
8 7
9<author title="SPARC Developer"> 8<author title="SPARC Developer">
10 <mail link="weeve@gentoo.org">Jason Wever</mail> 9 <mail link="weeve"/>
11</author> 10</author>
12 11
13<abstract> 12<abstract>
14Guide for setting up a netboot server for use with the Gentoo/SPARC netboot 13Guide for setting up a netboot server for use with the Gentoo/SPARC netboot
15installation images. 14installation images.
16</abstract> 15</abstract>
17 16
18<!-- The content of this document is licensed under the CC-BY-SA license --> 17<!-- The content of this document is licensed under the CC-BY-SA license -->
19<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> 18<!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
20<license/> 19<license/>
21 20
22<version>1.2</version> 21<version>1.3</version>
23<date>2005-08-18</date> 22<date>2009-12-14</date>
24 23
25<chapter> 24<chapter>
26<title>Introduction</title> 25<title>Introduction</title>
27<section> 26<section>
28<body> 27<body>
29 28
30<note> 29<note>
31This howto is currently very SPARC-centric and expecting that you will be 30This howto is currently very SPARC-centric and expecting that you will be
32setting up your netboot server on an existing Gentoo Linux machine. 31setting up your netboot server on an existing Gentoo Linux machine.
33</note> 32</note>
34 33
35<p> 34<p>
36This document will describe how to setup a network booting environment for a 35This document will describe how to setup a network booting environment for a
37Sun Microsystems SPARC or UltraSPARC based computer. The document assumes that 36Sun Microsystems SPARC or UltraSPARC based computer. The document assumes that
38you have an existing Gentoo Linux computer available to act as the netboot 37you have an existing Gentoo Linux computer available to act as the netboot
462Once you have an image, copy the image into <path>/tftpboot</path>; 461Once you have an image, copy the image into <path>/tftpboot</path>;
463</p> 462</p>
464 463
465<pre caption="Copying the image"> 464<pre caption="Copying the image">
466# <i>cp gentoo-sparc64-1.4_rc4-20040102.tftpboot /tftpboot</i> 465# <i>cp gentoo-sparc64-1.4_rc4-20040102.tftpboot /tftpboot</i>
467</pre> 466</pre>
468 467
469<p> 468<p>
470Now, when the netboot client makes a tftp request, it looks for a file that is 469Now, when the netboot client makes a tftp request, it looks for a file that is
471the hexadecimal number of its current IP address, and on some platforms an 470the hexadecimal number of its current IP address, and on some platforms an
472<path>.ARCH</path> suffix. The hexadecimal number should use <e>capital</e> 471<path>.ARCH</path> suffix. The hexadecimal number should use <e>capital</e>
473characters. 472characters.
474</p> 473</p>
475 474
476<p> 475<p>
477A guide on how to convert decimal to hexadecimal is available at
478<uri>http://www.permadi.com/tutorial/numDecToHex/</uri>
479</p>
480
481<p>
482And for the lazy/impatient, you can find a decimal to hexadecimal conversion
483tool at <uri>http://dan.drydog.com/hextemp.html</uri>
484</p>
485
486<note>
487For each octet in the IP address (the 10 in 10.0.1.15 for instance), you will
488need to convert it to hexadecimal, rather than converting the IP address asa
489singular number.
490</note>
491
492<p>
493So for our example IP address, 10.0.1.15, let's look at its hexadecimal 476So for our example IP address, 10.0.1.15, let's look at its hexadecimal
494equivalent; 477equivalent:
478</p>
479
480<pre caption="Convert to hexadecimal">
481# <i>printf "%.2x%.2x%.2x%.2x\n" 10 0 1 15</i>
495</p> 482</pre>
496 483
497<pre caption="Example IP address"> 484<pre caption="Example IP address">
498decimal 10 0 1 15 485decimal 10 0 1 15
499hexadecimal 0A 00 01 0F 486hexadecimal 0A 00 01 0F
500</pre> 487</pre>
501 488
502<p> 489<p>
503So for the example sparc64 netboot client, it would look for a file named 490So for the example sparc64 netboot client, it would look for a file named
5040A00010F when it tftpboots. 4910A00010F when it tftpboots.
505</p> 492</p>
506 493
507<p> 494<p>
508On sparc however, the file would be 0A00010F.SUN4M, 0A00010F.SUN4C or 495On sparc however, the file would be 0A00010F.SUN4M, 0A00010F.SUN4C or
5090A00010F.SUN4D depending on what type of sparc system. 4960A00010F.SUN4D depending on what type of sparc system.
510</p> 497</p>
692</p> 679</p>
693 680
694<pre caption="Changing tpe-link-test value"> 681<pre caption="Changing tpe-link-test value">
695ok <i>setenv tpe-link-test? true</i> 682ok <i>setenv tpe-link-test? true</i>
696tpe-link-test? = true 683tpe-link-test? = true
697</pre> 684</pre>
698 685
699<p> 686<p>
700This shows the value of tpe-link-test? is now true. Try netbooting the client 687This shows the value of tpe-link-test? is now true. Try netbooting the client
701again. 688again.
702</p> 689</p>
703 690
704</body> 691</body>
705</section> 692</section>
706</chapter> 693</chapter>
707
708</guide> 694</guide>

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

  ViewVC Help
Powered by ViewVC 1.1.20