Ben's notes

Linux, Unix, network, radio...

User Tools

Site Tools


raspberry_pi_pxe_server

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
Next revisionBoth sides next revision
raspberry_pi_pxe_server [2017/12/05 15:27] – [PXE server] adminraspberry_pi_pxe_server [2018/05/13 10:06] – [PXE server] admin
Line 104: Line 104:
 ln -s /usr/lib/PXELINUX/pxelinux.0 /var/lib/tftp/ ln -s /usr/lib/PXELINUX/pxelinux.0 /var/lib/tftp/
 ln -s /usr/lib/syslinux/modules/bios/ldlinux.c32 /var/lib/tftp/ ln -s /usr/lib/syslinux/modules/bios/ldlinux.c32 /var/lib/tftp/
 +ln -s /usr/lib/syslinux/modules/bios/menu.c32 /var/lib/tftp/
 +ln -s /usr/lib/syslinux/modules/bios/libutil.c32 /var/lib/tftp/
 +
 </code> </code>
 ===Memtest example (for serial console)=== ===Memtest example (for serial console)===
Line 142: Line 145:
  
 cat > /var/lib/tftp/pxelinux.cfg/default <<EOF cat > /var/lib/tftp/pxelinux.cfg/default <<EOF
-console 0 
 serial 0 115200 0 serial 0 115200 0
 +console 0
  
-default Voyage +default menu.c32 
-prompt +prompt 15
-timeout 15+
  
-LABEL Voyage +MENU TITLE PXE Menu 
-    MENU LABEL Voyage+TIMEOUT 30 
 + 
 +LABEL Voyage64bit 
 +    MENU LABEL Voyage Linux 0.11 64 bit
     KERNEL /voyage0.11/vmlinuz     KERNEL /voyage0.11/vmlinuz
     APPEND initrd=/voyage0.11/initrd.img boot=live fetch=tftp://10.0.0.1/voyage0.11/filesystem.squashfs live-getty noautologin console=ttyS0,115200     APPEND initrd=/voyage0.11/initrd.img boot=live fetch=tftp://10.0.0.1/voyage0.11/filesystem.squashfs live-getty noautologin console=ttyS0,115200
 +
 +LABEL Voyage32bit
 +    MENU LABEL Voyage Linux 0.11 32 bit
 +    KERNEL /voyage0.11-32bit/vmlinuz
 +    APPEND initrd=/voyage0.11-32bit/initrd.img boot=live fetch=tftp://10.0.0.1/voyage0.11-32bit/filesystem.squashfs live-getty noautologin console=ttyS0,115200
 EOF EOF
  
 </code> </code>
-  * Log in and install:<code>ssh root@<dhcp-address> #pass = voyage+  * Log in and install Voyage:<code>ssh root@<dhcp-address> #pass = voyage
  
 /usr/local/sbin/format-cf.sh /dev/sdX /usr/local/sbin/format-cf.sh /dev/sdX
raspberry_pi_pxe_server.txt · Last modified: 2021/10/09 15:14 by 127.0.0.1