Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
wiki:netbooting [2013/09/10 10:57] – [The following sections assume that you have working servers] gerald_clarkwiki:netbooting [2014/08/14 05:30] (current) – [Putting it all together another way.] curaga
Line 54: Line 54:
 These sections are descriptions of the boot options and arguments, along with examples of their use.\\  These sections are descriptions of the boot options and arguments, along with examples of their use.\\ 
  
-This is NOT a cookie-cutter howto.\\ +This is **not** a cookie-cutter howto.\\ 
 There are many ways to setup a PXE boot system.\\ 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 assume you know how yours works, and that you are able to pxeboot a core machine.\\ 
Line 137: Line 137:
 Ex: **nfsmount=openvz:/tftpboot/nfs/tc2-music:no-ping** Ex: **nfsmount=openvz:/tftpboot/nfs/tc2-music:no-ping**
 ===== 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.  These will need to be added to the nfs.list.
 +
 The tftp server is sourced at /tftpboot.  The tftp server is sourced at /tftpboot. 
 We are going to setup workstation1.  It is going to have a /mnt/nfs that corresponds to /tftpboot/nfs/ws1. We are going to setup workstation1.  It is going to have a /mnt/nfs that corresponds to /tftpboot/nfs/ws1.
Line 155: Line 157:
   - Loads TCL.   - Loads TCL.
   - TFTP gets **/nfs/ws1/nfs.list** from **myserver**.   - TFTP gets **/nfs/ws1/nfs.list** from **myserver**.
-  - 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:/tftpboot/nfs/ws1 onto /mnt/nfs.   - Mounts myserver:/tftpboot/nfs/ws1 onto /mnt/nfs.
 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 163: 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 "nfs-utils.tcz" >> /tmp/opt/tce/onboot.lst+  - echo "nfs-utils.tcz" >> /tmp/tmp/builtin/onboot.lst
   - cd /tmp   - cd /tmp
-  - find opt | cpio -o -H newc | gzip -9 > /tmp/nfs-utils.cpio.gz+  - find tmp | cpio -o -H newc | gzip -9 > /tmp/nfs-utils.cpio.gz
   - 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:
Print/export
QR Code
QR Code wiki:netbooting (generated for current page)