Skip to content

Its-Alex/grub-netboot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Grub2 netboot

Start a server on network with grub

Requirements

  • Virtualbox
  • Vagrant

Live image

  • squashfs
  • initrd
  • vmlinuz

Without live image your second virtual machine will not boot you can create these files from this repo

How to

PXE server contain a dhcp/tftp/http server it is provisionned by install-pxe-server.sh

$ vagrant up pxe_server

Then create a folder tftp/rescue/ in project and put live image file inside it (with exact name as above)

$ vagrant up blank_server

Your server will now boot on live image with grub2

Tips

tftp folder is a shared folder from pxe_server, this folder is exposed with tftp and http on pxe_server

Grub config is put inside /srv/tftp/boot/grub/grub.cfg inside pxe_server

License

MIT

Releases

No releases published

Packages

No packages published

Languages