Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
wiki:netbooting [2013/05/06 17:14] – [Summary] gerald_clark | wiki:netbooting [2014/08/14 05:30] (current) – [Putting it all together another way.] curaga | ||
---|---|---|---|
Line 49: | Line 49: | ||
Unless you now hold alt or shift, the client will boot automatically to TC from the network. If you do hold the button, you will get a boot prompt similar to the Tinycore CD, where you can type additional boot options (if you need more, or forgot to specify them in the config phase). | Unless you now hold alt or shift, the client will boot automatically to TC from the network. If you do hold the button, you will get a boot prompt similar to the Tinycore CD, where you can type additional boot options (if you need more, or forgot to specify them in the config phase). | ||
+ | |||
+ | ====== The following sections assume that you have working servers ====== | ||
+ | These include a PXE boot server and a working server for the network protocol you plan to use ( tftp, http, nfs, aoe, nbd, SC-101 ).\\ | ||
+ | These sections are descriptions of the boot options and arguments, along with examples of their use.\\ | ||
+ | |||
+ | This is **not** a cookie-cutter howto.\\ | ||
+ | There are many ways to setup a PXE boot system.\\ | ||
+ | We assume you know how yours works, and that you are able to pxeboot a core machine.\\ | ||
+ | We also assume your other servers are configured and working, and that you know how to connect to them from a client. | ||
====== NFS for a tce directory ====== | ====== NFS for a tce directory ====== | ||
Line 128: | Line 137: | ||
Ex: **nfsmount=openvz:/ | Ex: **nfsmount=openvz:/ | ||
===== Putting it all together ===== | ===== Putting it all together ===== | ||
+ | **Note:** If you are running Core 5.2 or newer, nfs-utils depends on rpcbind,tcz and libtirpc.tcz. | ||
+ | |||
The tftp server is sourced at / | The tftp server is sourced at / | ||
We are going to setup workstation1. | We are going to setup workstation1. | ||
Line 146: | Line 157: | ||
- Loads TCL. | - Loads TCL. | ||
- TFTP gets **/ | - TFTP gets **/ | ||
- | - TFTP gets each file listed in **nfs.list** and places it in /opt/tce. | + | - TFTP gets each file listed in **nfs.list** and places it in /tmp/tce, a temporary directory in RAM. |
- | - Mounts all applications in /opt/tce. | + | - Mounts all applications in /tmp/tce. |
- Mounts myserver:/ | - Mounts myserver:/ | ||
Any additional extensions installed by Appbrowser will be saved on the nfs share, and will be loaded during boot, just as you would expect with a local drive. | Any additional extensions installed by Appbrowser will be saved on the nfs share, and will be loaded during boot, just as you would expect with a local drive. | ||
Line 154: | Line 165: | ||
===== Putting it all together another way. ===== | ===== Putting it all together another way. ===== | ||
- | If you are using pxelinux version 3.71 or greater, you can load the nfs-utils with initrd instead of using tftplist. To do this you need to create another cpio archive that contains /opt/tce/nfs-utils.tgz. | + | If you are using pxelinux version 3.71 or greater, you can load the nfs-utils with initrd instead of using tftplist. To do this you need to create another cpio archive that contains /tmp/builtin/nfs-utils.tcz. |
- | - mkdir -p /tmp/opt/tce/optional | + | - mkdir -p /tmp/tmp/builtin/optional |
- | - cp nfs-utils.tcz /tmp/opt/tce/optional | + | - cp nfs-utils.tcz /tmp/tmp/builtin/optional |
- | - echo " | + | - echo " |
- cd /tmp | - cd /tmp | ||
- | - find opt | cpio -o -H newc | gzip -9 > / | + | - find tmp | cpio -o -H newc | gzip -9 > / |
- copy nfs-utils.cpio.gz to the directory containing tinycore.gz. | - copy nfs-utils.cpio.gz to the directory containing tinycore.gz. | ||
The PXE boot entry now is: | The PXE boot entry now is: |