Network boot with GRUB2
Posted: Thu Jan 26, 2012 11:48 am
Hey everybody,
I've brought up tftp server on my build machine (B), and I have GRUB2 at my work machine (W).
Obviously, I want to boot W from B via tftp. W has GRUB2 and several other OSes that I don't want to mess up, so
basically my question is how can I do that with single GRUB2 entry in menu?
I don't have DHCP, so let's say I will hardcode an IP of B. I'm looking for solution like this, but for GRUB2:
I've brought up tftp server on my build machine (B), and I have GRUB2 at my work machine (W).
Obviously, I want to boot W from B via tftp. W has GRUB2 and several other OSes that I don't want to mess up, so
basically my question is how can I do that with single GRUB2 entry in menu?
I don't have DHCP, so let's say I will hardcode an IP of B. I'm looking for solution like this, but for GRUB2:
In GRUB2 manuals network booting section is a bit vague (for me)...title Network Boot
# Obtain an IP address for this card
dhcp
# I don't have DHCP setup to deliver the TFTP server's IP address,
# so I set it manually this is my build machine
tftpserver 192.168.0.50
# The root device is the network
root (nd)
# My kernel is directly under the TFTP directory
kernel /kernel.exe
# I also load a module for testing out multitasking
module /module.exe