Thinstation / thinstation

A framework for making thin and light Linux based images for x86 based machines and thinclients.
https://www.thinstation.net/
775 stars 188 forks source link

PXE Boot Issue #829

Closed im-not-a-robot closed 3 weeks ago

im-not-a-robot commented 1 month ago

Hi, Im try to use PXE boot using file that build from thinstation. Im already copying all files inside build/boot-images/grub/efi-source to my tftp root folder and set dhcp options (66 to my tftp ip address , 67 to boot/grub/pxeboot.img) to my dhcp server But when im try to boot up VM using PXE boot, its only show gnu grub.

image

What im missing ?

Note:

  1. Using vmware workstation
  2. Using default config

Thank you

Doncuppjr commented 1 month ago

Looks like it can't find grub.cfg or it does not like the one it finds. I'm not sure what kind of tftp server you are using, or how you are copying the files, but I would look into those two things. DevStation builds a tftp/webserver that serves files, so you could use that as an example.

im-not-a-robot commented 1 month ago

Im using solarwinds tftp server on windows 11.

image

Maybe theres something i must configure on my tftp server ?

Doncuppjr commented 1 month ago

Looks like a communications issue between the client and the server. Are you booting EFI or CSM? Firewall anywhere?

im-not-a-robot commented 1 month ago

Im using EFI for thinclient booting. The firewall is turned off on my dhcp + tftp server OS (windows 11) image

-- edited -- Not EFI, its BIOS/CMS (my bad)

Doncuppjr commented 1 month ago

pxeboot.img is the BIOS or CSM image. You need to use EFI/boot/bootx64.efi for EFI

im-not-a-robot commented 1 month ago

Sorry my bad. Nope, im using BIOS or CSM for thinclient. image

Doncuppjr commented 1 month ago

Something with your tftp server. I am not having any issues serving files off of DevStation.

im-not-a-robot commented 1 month ago

DevStation builds a tftp/webserver that serves files, so you could use that as an example.

How to use devstation tftp server ?

Doncuppjr commented 1 month ago

Point your next server to the ip of the DevStation in your DHCP server

Doncuppjr commented 3 weeks ago

I added a utility to configure a DHCP server on DevStation. It will point clients to the right place.

im-not-a-robot commented 3 weeks ago

Thank you for your help ! Very appreciate !

Now i can boot into thin station via pxe boot. But i have another issue and i will create on another issue.