Showing posts with label pxe. Show all posts
Showing posts with label pxe. Show all posts

Thursday, 10 June 2010

boot iso with pxe and grub4dos

following this guide [http://diddy.boot-land.net/grub4dos/files/pxe.htm] with small modification

I use tftpd 3.35 [http://tftpd32.jounin.net/tftpd32_download.html]

tftpd32 program to
C:\tftpd32\
and create
C:\tftpd32\root\

copy grldr to c:\tftpd32\root\ , the same as the guide

Don't create C:\tftpd32\root\menu.lst\
it is now /menu/ or grldr can read or search for /menu.lst file


tftpd32 - settings
 - Base Directory set to the root folder we created earlier (C:\tftpd32\root)
 - only need dhcp and tftp server
 - Ensure that Allow '\' As virtual root is enabled - this will allow file/folder paths to treat C:\tftpd32\root\ as / (e.g. entering chainloader /pxelinux.0 from the Grub4dos command line will chainload C:\tftpd32\root\pxelinux.0.)
 - bind tftp dhcp address, I set it to prevent the error "request 2 not processed" (set it to the interface which is directly connected to the pxe client)


dhcp - settings
 - IP pool , the same subnet to the pxe server
 - size of pool , easy
 - boot file , grldr [1][2]
 - mask , set it to the same subnet to the pxe server will be ok

now copy grldr , menu.lst , the iso file to C:\tftpd32\root

I boot geexbox , so , in my menu.lst
#start
title pxe geexbox
#(fd33) is equivalent to (pd) or it can be / , because we enabled virtual root in tftpd
map --mem --heads=0 --sectors-per-track=0 (pd)/geexbox-r8328.iso (hd32)
map --hook
chainloader (hd32)
boot
# also
title Boot slitaz-3.0.iso

map --mem --heads=0 --sectors-per-track=0 (fd33)/slitaz-3.0.iso (0xff)
map --hook
chainloader (0xff)
boot
# also
title Boot slitaz-4.0.iso
map --mem --heads=0 --sectors-per-track=0 (pd)/slitaz-4.0.iso (0xff)
map --hook
chainloader (0xff)
boot
#end


and everything is the same as grub / grub4dos then

[1] [http://gna.org/projects/grub4dos/]
[2] [http://code.google.com/p/grub4dos-chenall/]

Labels

Search This Blog