Skip to content

BredOS/netboot

Repository files navigation

dependencies

sudo pacman -S --needed tgt grub dnsmasq if on x86 sudo pacman -S grub-aarch64

Create TFTP directory and copy GRUB files

mkdir -p tftp sudo grub-mknetdir --net-directory=./tftp/ --subdir=grub

dnsmasq conf

# Your network interface (check with 'ip a')
interface=en0
bind-interfaces

# DHCP range (adjust as needed)
dhcp-range=DESIRED IPs START,DESIRED IPs END,12h

# Enable TFTP
enable-tftp
tftp-root=/home/panda/git/BredOS/netboot/tftp

# Architecture-specific boot files
# Option 93 is the Client System Architecture Type
# 0x0000 = x86 BIOS (i386-pc)
# 0x0006 = x86 UEFI 32-bit (i386-efi)
# 0x0007 = x86 UEFI 64-bit (x86_64-efi)
# 0x000b = ARM 64-bit UEFI (arm64-efi)

# x86 BIOS
dhcp-match=set:bios,option:client-arch,0
dhcp-boot=tag:bios,grub/i386-pc/core.0

# x86 UEFI 32-bit
dhcp-match=set:efi-ia32,option:client-arch,6
dhcp-boot=tag:efi-ia32,grub/i386-efi/core.efi

# x86 UEFI 64-bit
dhcp-match=set:efi-x86_64,option:client-arch,7
dhcp-boot=tag:efi-x86_64,grub/x86_64-efi/core.efi

# ARM 64-bit UEFI
dhcp-match=set:efi-arm64,option:client-arch,11
dhcp-boot=tag:efi-arm64,grub/arm64-efi/core.efi

# Logging (optional, for debugging)
log-dhcp
log-queries

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

 
 
 

Contributors