PXE boot with grub: root variable unset
Solution 1:
1) You can build the core image, create a configuration file e.g
setvars.conf and reference with the mkimage command -c setvars.conf
grub-mkimage -O i386-pc-pxe --output /warehouse/TFTProot/boot/grub/i386-pc/core.0 --prefix='' -c setvars.conf ppxe tftp
2) save a file named grub.cfg in the root of the tftp-server with the following content:
set root=(tftp) set net_default_server=192.168.x.x set prefix=boot/grub