/[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.2 Revision 1.3
10</abstract> 10</abstract>
11<!-- The content of this document is licensed under the CC-BY-SA license --> 11<!-- The content of this document is licensed under the CC-BY-SA license -->
12<!-- See http://creativecommons.org/licenses/by-sa/1.0 --> 12<!-- See http://creativecommons.org/licenses/by-sa/1.0 -->
13<license/> 13<license/>
14 14
15<version>1.0</version> 15<version>1.1</version>
16<date>April 11 2004</date> 16<date>September 22, 2004</date>
17 17
18<chapter> 18<chapter>
19<title>Introduction</title> 19<title>Introduction</title>
20<section> 20<section>
21<body> 21<body>
465</pre> 465</pre>
466 466
467<p> 467<p>
468Now, when the netboot client makes a tftp request, it looks for a file that is 468Now, when the netboot client makes a tftp request, it looks for a file that is
469the hexidecimal number of its current IP address, and on some platforms an 469the hexidecimal number of its current IP address, and on some platforms an
470.ARCH suffix. 470.ARCH suffix. The hexidecimal number should use <e>capital</e> characters.
471</p> 471</p>
472 472
473<p> 473<p>
474A guide on how to convert decimal to hexidecimal is available at 474A guide on how to convert decimal to hexidecimal is available at
475<uri>http://www.permadi.com/tutorial/numDecToHex/</uri> 475<uri>http://www.permadi.com/tutorial/numDecToHex/</uri>
489equivalent; 489equivalent;
490</p> 490</p>
491 491
492<pre caption="Example IP address"> 492<pre caption="Example IP address">
493decimal 10 0 1 15 493decimal 10 0 1 15
494hexidecimal 0a 00 01 0f 494hexidecimal 0A 00 01 0F
495</pre> 495</pre>
496 496
497<p> 497<p>
498So for the example sparc64 netboot client, it would look for a file named 498So for the example sparc64 netboot client, it would look for a file named
4990a00010f when it tftpboots. 4990A00010F when it tftpboots.
500</p>
501
502<p> 500</p>
501
502<p>
503On sparc however, the file would be 0a00010f.SUN4M, 0a00010f.SUN4C or 503On sparc however, the file would be 0A00010F.SUN4M, 0A00010F.SUN4C or
5040a00010f.SUN4D depending on what type of sparc system. 5040A00010F.SUN4D depending on what type of sparc system.
505</p> 505</p>
506 506
507<p> 507<p>
508Additionally, if you are really really lazy (like me), you can netboot the host 508Additionally, if you are really really lazy (like me), you can netboot the host
509to get the filename the client is looking for from the netboot server logs. 509to get the filename the client is looking for from the netboot server logs.
523An example entry from a netboot server running sysklogd and tftp-hpa looks 523An example entry from a netboot server running sysklogd and tftp-hpa looks
524like; 524like;
525</p> 525</p>
526 526
527<pre caption="Log entry for netboot server"> 527<pre caption="Log entry for netboot server">
528Jan 3 22:48:59 stargazer in.tftpd[8368]: RRQ from 10.0.1.15 filename 0a00010f 528Jan 3 22:48:59 stargazer in.tftpd[8368]: RRQ from 10.0.1.15 filename 0A00010F
529</pre> 529</pre>
530 530
531<p> 531<p>
532The filename is shown above after "filename" in the log entry, which in this 532The filename is shown above after "filename" in the log entry, which in this
533case is 0a00010f. 533case is 0A00010F.
534</p> 534</p>
535 535
536<p> 536<p>
537As a way to keep track of what netboot image you are using, and to allow 537As a way to keep track of what netboot image you are using, and to allow
538multiple machines to use the same netboot image, you can use a soft link to 538multiple machines to use the same netboot image, you can use a soft link to
541following command; 541following command;
542</p> 542</p>
543 543
544<pre caption="Linking the image files"> 544<pre caption="Linking the image files">
545# <i>/bin/ln -s /tftpboot/gentoo-sparc64-1.4_rc4-20040102.tftpboot \ 545# <i>/bin/ln -s /tftpboot/gentoo-sparc64-1.4_rc4-20040102.tftpboot \
546/tftpboot/0a00010f</i> 546/tftpboot/0A00010F</i>
547</pre> 547</pre>
548 548
549<p> 549<p>
550Now everything should be set for netbooting! 550Now everything should be set for netbooting!
551</p> 551</p>

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

  ViewVC Help
Powered by ViewVC 1.1.20