Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
network-boot-nfs [2018/08/19 19:36]
davu
network-boot-nfs [2018/08/19 19:46]
davu
Line 7: Line 7:
 Download the image for your device. Download the image for your device.
  
-  * Create a readonly nfs export and place the "​KERNEL"​ and "​SYSTEM"​ files in to it. (Sancho: This step was unnecessary for me, the simple copy to the tftpboot directory was enough, no readonly NFS export is required)+  * Create a readonly nfs export and place the "​KERNEL"​ and "​SYSTEM"​ files in to it. 
   * Create a read-write nfs export for storage.   * Create a read-write nfs export for storage.
   * Create a file in pxelinux.cfg with the mac-address of your device (eg. 90-91-92-93-94-95).   * Create a file in pxelinux.cfg with the mac-address of your device (eg. 90-91-92-93-94-95).
Line 16: Line 16:
  
  LABEL LibreELEC.tv  LABEL LibreELEC.tv
-   ​KERNEL ​openelec/KERNEL+   ​KERNEL ​libreelec/KERNEL
      ​APPEND ip=dhcp boot=NFS=192.168.0.1:/​mnt/​store/​libreelec disk=NFS=192.168.0.1:/​mnt/​store/​libreelec/​storage overlay      ​APPEND ip=dhcp boot=NFS=192.168.0.1:/​mnt/​store/​libreelec disk=NFS=192.168.0.1:/​mnt/​store/​libreelec/​storage overlay
 </​code>​ </​code>​
Line 34: Line 34:
  
   sudo aptitude install isc-dhcp-server tftpd-hpa nfs-kernel-server   sudo aptitude install isc-dhcp-server tftpd-hpa nfs-kernel-server
- +  ​
-Note that, in Ubuntu 18.04, ISC DHCP server is a transitional package for dhcp3-server.+
  
 =====Configure DHCP===== =====Configure DHCP=====
Line 120: Line 119:
  
 <​code>​ <​code>​
-DEFAULT ​OpenElec.tv+DEFAULT ​LibreELEC.tv
 PROMPT 0 PROMPT 0
  
-LABEL OpenElec.tv+LABEL LibreELEC.tv
 kernel /KERNEL kernel /KERNEL
 append ip=dhcp boot=NFS=192.168.0.2:/​mnt/​tftpboot disk=NFS=192.168.0.2:/​mnt/​media/​storage append ip=dhcp boot=NFS=192.168.0.2:/​mnt/​tftpboot disk=NFS=192.168.0.2:/​mnt/​media/​storage
Line 141: Line 140:
  
   sudo ufw allow proto udp from 192.168.0.0/​24 to any port 69  (for tftp)   sudo ufw allow proto udp from 192.168.0.0/​24 to any port 69  (for tftp)
-  sudo ufw allow proto tcp from 192.168.0.0/​24 to any port 111 (for openelec)+  sudo ufw allow proto tcp from 192.168.0.0/​24 to any port 111 (for LibreELEC)
   ​   ​
 =====Additional configuration:​ mountd===== =====Additional configuration:​ mountd=====