Need bootable usb without using PXE
-
Not able to update the DHCP server.
Would like to be able to just boot from a usb key to upload and download images from the FOG server. I tried these instructions: https://forums.fogproject.org/topic/6532/usb-boot-target-device-into-fog-os-live-fosl-for-debugging/21?page=2, but see no place to enter the IP for my FOG server.Thanks
-
@acraiger You do not need to change your DHCP server. That old thread is about FOS Live, which is a different thing. You want a USB stick that boots iPXE. iPXE then gets an address from your normal DHCP server and loads the FOG menu from your FOG server.
On FOG 1.6 (UEFI):
- Download
http://<fog-server>/fog/service/localboot/fog-esp-x86_64.zipand unzip it. - Format the stick FAT32 and create the folder
EFI\BOOT\. - Copy
fog-ipxe\fogipxe.efitoEFI\BOOT\BOOTX64.EFI. - Copy
fog-ipxe\autoexec.ipxetoEFI\BOOT\autoexec.ipxe. - Open
EFI\BOOT\autoexec.ipxein a text editor. Change the last line to name your FOG server:
chain tftp://192.168.1.10/default.ipxe || goto chainloadfailed - Turn Secure Boot off and boot from the stick.
That edit is the “place to enter the IP”. Without it, iPXE asks
Please enter tftp server:only when your DHCP server sends no boot server. Many DHCP servers send their own address instead, and then the boot fails withChainloading failed.On a legacy BIOS machine, or on FOG 1.5: write
ipxe.usbfrom the FOG server’s/tftpbootfolder to the stick withdd. When it showsChainloading failed, presssfor the iPXE shell and type:
chain tftp://192.168.1.10/default.ipxeTo boot every machine without a stick, run proxyDHCP (dnsmasq) on the FOG server. It does not change your DHCP server: https://docs.fogproject.org/installation/network-setup/proxy-dhcp
Which FOG version do you run?
- Download