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:28] – [PXE server] adminraspberry_pi_pxe_server [2018/05/13 10:19] – [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
  
Line 160: Line 170:
 /usr/local/sbin/format-cf.sh /dev/sdX /usr/local/sbin/format-cf.sh /dev/sdX
 mkdir /mnt/cf mkdir /mnt/cf
-/usr/local/sbin/voyage.update</code>+/usr/local/sbin/voyage.update 
 + 
 +Configuration details:               
 +----------------------                          
 +                                                          
 +Distribution directory:   /           
 +                                                               
 +Disk/Flash Device:        /dev/sda 
 +Installation Partition:   /dev/sda1                           
 +Bootstrap Partition:      /dev/sda1 
 +                                                
 +Will be mounted on:       /mnt/cf                         
 +                                      
 +Target system profile:    ALIX                         
 +Target console:           serial 
 +Target baud rate:         115200 
 + 
 +Bootstrap installer:      grub 
 +Bootstrap partition:      /dev/sda1 
 + 
 +OK to continue (y/n)? y 
 + 
 +</code>
  
 {{tag>[hardware rpi raspberry pxe linux ]}} {{tag>[hardware rpi raspberry pxe linux ]}}
raspberry_pi_pxe_server.txt · Last modified: 2021/10/09 15:14 by 127.0.0.1