[ipxe-devel] Link recommendations für pxeboot.n12

Robin Smidsrød robin at smidsrod.no
Thu Apr 12 07:07:46 UTC 2012


On 11.04.2012 22:24, Oliver Rath wrote:
> Hi Robin,
> 
> you told me in the chat, that you are booting winpe via pxeboot.n12 from
> windows via tftp. Do you have some
> recommendations/suggestions/hints/documentation for that?`I think i will
> try this now, too.

(Copy for the list, so I don't have to repeat myself again)

This is basically the core of my ipxe boot script:

set root-path
iscsi:nas.smidsrod.lan::::iqn.2011-02.lan.smidsrod:${hostname}.boot.windows7
sanhook ${root-path}
chain tftp://${next-server}/%5CBoot%5CPXE%5Cpxeboot.n12

Make sure you are using a tftp server which supports the backslash hack
(tftpd-hpa does this). Make sure you enable said hack. This is the
contents of my relevant files for this (using ubuntu 10.04 which has
this hack/workaround available):

$ cat /etc/default/tftpd-hpa
# /etc/default/tftpd-hpa

TFTP_USERNAME="tftp"
TFTP_DIRECTORY="/srv/tftp"
TFTP_ADDRESS="0.0.0.0:69"
TFTP_OPTIONS="-s -v -m /etc/tftpd.map"

$ cat /etc/tftpd.map
# Convert backslashes to slashes
rg \\ /
# Ensure /Boot is always mapped to uppercase
rg /boot/boot.sdi /Boot/boot.sdi

This document was very helpful:

http://technet.microsoft.com/en-us/library/cc722358%28v=ws.10%29.aspx

These are the files on my TFTP server. They all come from either the
Windows 7 DVD or from processes made by following the document above.
Make sure case matches, or else you'll get in trouble, or use a
Windows-based TFTP server which doesn't care about case-sensitivity.
They are probably not all required, but hopefully you'll get a better
idea of what's involved.

/srv/tftp/Boot/BCD
/srv/tftp/Boot/boot.sdi
/srv/tftp/Boot/DVD/EFI/BCD
/srv/tftp/Boot/DVD/EFI/boot.sdi
/srv/tftp/Boot/DVD/EFI/en-US/efisys.bin
/srv/tftp/Boot/DVD/PCAT/BCD
/srv/tftp/Boot/DVD/PCAT/boot.sdi
/srv/tftp/Boot/DVD/PCAT/en-US/bootfix.bin
/srv/tftp/Boot/DVD/PCAT/etfsboot.com
/srv/tftp/Boot/EFI/bootmgfw.efi
/srv/tftp/Boot/EFI/bootmgr.efi
/srv/tftp/Boot/EFI/cs-CZ/bootmgfw.efi.mui
/srv/tftp/Boot/EFI/cs-CZ/bootmgr.efi.mui
/srv/tftp/Boot/EFI/da-DK/bootmgfw.efi.mui
/srv/tftp/Boot/EFI/da-DK/bootmgr.efi.mui
/srv/tftp/Boot/EFI/de-DE/bootmgfw.efi.mui
/srv/tftp/Boot/EFI/de-DE/bootmgr.efi.mui
/srv/tftp/Boot/EFI/el-GR/bootmgfw.efi.mui
/srv/tftp/Boot/EFI/el-GR/bootmgr.efi.mui
/srv/tftp/Boot/EFI/en-US/bootmgfw.efi.mui
/srv/tftp/Boot/EFI/en-US/bootmgr.efi.mui
/srv/tftp/Boot/EFI/en-US/memtest.efi.mui
/srv/tftp/Boot/EFI/es-ES/bootmgfw.efi.mui
/srv/tftp/Boot/EFI/es-ES/bootmgr.efi.mui
/srv/tftp/Boot/EFI/fi-FI/bootmgfw.efi.mui
/srv/tftp/Boot/EFI/fi-FI/bootmgr.efi.mui
/srv/tftp/Boot/EFI/fr-FR/bootmgfw.efi.mui
/srv/tftp/Boot/EFI/fr-FR/bootmgr.efi.mui
/srv/tftp/Boot/EFI/hu-HU/bootmgfw.efi.mui
/srv/tftp/Boot/EFI/hu-HU/bootmgr.efi.mui
/srv/tftp/Boot/EFI/it-IT/bootmgfw.efi.mui
/srv/tftp/Boot/EFI/it-IT/bootmgr.efi.mui
/srv/tftp/Boot/EFI/ja-JP/bootmgfw.efi.mui
/srv/tftp/Boot/EFI/ja-JP/bootmgr.efi.mui
/srv/tftp/Boot/EFI/ko-KR/bootmgfw.efi.mui
/srv/tftp/Boot/EFI/ko-KR/bootmgr.efi.mui
/srv/tftp/Boot/EFI/memtest.efi
/srv/tftp/Boot/EFI/nb-NO/bootmgfw.efi.mui
/srv/tftp/Boot/EFI/nb-NO/bootmgr.efi.mui
/srv/tftp/Boot/EFI/nl-NL/bootmgfw.efi.mui
/srv/tftp/Boot/EFI/nl-NL/bootmgr.efi.mui
/srv/tftp/Boot/EFI/pl-PL/bootmgfw.efi.mui
/srv/tftp/Boot/EFI/pl-PL/bootmgr.efi.mui
/srv/tftp/Boot/EFI/pt-BR/bootmgfw.efi.mui
/srv/tftp/Boot/EFI/pt-BR/bootmgr.efi.mui
/srv/tftp/Boot/EFI/pt-PT/bootmgfw.efi.mui
/srv/tftp/Boot/EFI/pt-PT/bootmgr.efi.mui
/srv/tftp/Boot/EFI/ru-RU/bootmgfw.efi.mui
/srv/tftp/Boot/EFI/ru-RU/bootmgr.efi.mui
/srv/tftp/Boot/EFI/sv-SE/bootmgfw.efi.mui
/srv/tftp/Boot/EFI/sv-SE/bootmgr.efi.mui
/srv/tftp/Boot/EFI/tr-TR/bootmgfw.efi.mui
/srv/tftp/Boot/EFI/tr-TR/bootmgr.efi.mui
/srv/tftp/Boot/EFI/zh-CN/bootmgfw.efi.mui
/srv/tftp/Boot/EFI/zh-CN/bootmgr.efi.mui
/srv/tftp/Boot/EFI/zh-HK/bootmgfw.efi.mui
/srv/tftp/Boot/EFI/zh-HK/bootmgr.efi.mui
/srv/tftp/Boot/EFI/zh-TW/bootmgfw.efi.mui
/srv/tftp/Boot/EFI/zh-TW/bootmgr.efi.mui
/srv/tftp/Boot/Fonts/wgl4_boot.ttf
/srv/tftp/Boot/PCAT/bootmgr
/srv/tftp/Boot/PCAT/en-US/bootmgr.exe.mui
/srv/tftp/Boot/PCAT/en-US/memtest.exe.mui
/srv/tftp/Boot/PCAT/memtest.exe
/srv/tftp/Boot/PXE/abortpxe.com
/srv/tftp/Boot/PXE/bootmgr.exe
/srv/tftp/Boot/PXE/cs-CZ/bootmgr.exe.mui
/srv/tftp/Boot/PXE/cs-CZ/wdsmgfw.efi.mui
/srv/tftp/Boot/PXE/da-DK/bootmgr.exe.mui
/srv/tftp/Boot/PXE/da-DK/wdsmgfw.efi.mui
/srv/tftp/Boot/PXE/de-DE/bootmgr.exe.mui
/srv/tftp/Boot/PXE/de-DE/wdsmgfw.efi.mui
/srv/tftp/Boot/PXE/el-GR/bootmgr.exe.mui
/srv/tftp/Boot/PXE/el-GR/wdsmgfw.efi.mui
/srv/tftp/Boot/PXE/en-US/bootmgr.exe.mui
/srv/tftp/Boot/PXE/en-US/wdsmgfw.efi.mui
/srv/tftp/Boot/PXE/es-ES/bootmgr.exe.mui
/srv/tftp/Boot/PXE/es-ES/wdsmgfw.efi.mui
/srv/tftp/Boot/PXE/fi-FI/bootmgr.exe.mui
/srv/tftp/Boot/PXE/fi-FI/wdsmgfw.efi.mui
/srv/tftp/Boot/PXE/fr-FR/bootmgr.exe.mui
/srv/tftp/Boot/PXE/fr-FR/wdsmgfw.efi.mui
/srv/tftp/Boot/PXE/hdlscom1.com
/srv/tftp/Boot/PXE/hdlscom1.n12
/srv/tftp/Boot/PXE/hdlscom2.com
/srv/tftp/Boot/PXE/hdlscom2.n12
/srv/tftp/Boot/PXE/hu-HU/bootmgr.exe.mui
/srv/tftp/Boot/PXE/hu-HU/wdsmgfw.efi.mui
/srv/tftp/Boot/PXE/it-IT/bootmgr.exe.mui
/srv/tftp/Boot/PXE/it-IT/wdsmgfw.efi.mui
/srv/tftp/Boot/PXE/ja-JP/bootmgr.exe.mui
/srv/tftp/Boot/PXE/ja-JP/wdsmgfw.efi.mui
/srv/tftp/Boot/PXE/ko-KR/bootmgr.exe.mui
/srv/tftp/Boot/PXE/ko-KR/wdsmgfw.efi.mui
/srv/tftp/Boot/PXE/nb-NO/bootmgr.exe.mui
/srv/tftp/Boot/PXE/nb-NO/wdsmgfw.efi.mui
/srv/tftp/Boot/PXE/nl-NL/bootmgr.exe.mui
/srv/tftp/Boot/PXE/nl-NL/wdsmgfw.efi.mui
/srv/tftp/Boot/PXE/pl-PL/bootmgr.exe.mui
/srv/tftp/Boot/PXE/pl-PL/wdsmgfw.efi.mui
/srv/tftp/Boot/PXE/pt-BR/bootmgr.exe.mui
/srv/tftp/Boot/PXE/pt-BR/wdsmgfw.efi.mui
/srv/tftp/Boot/PXE/pt-PT/bootmgr.exe.mui
/srv/tftp/Boot/PXE/pt-PT/wdsmgfw.efi.mui
/srv/tftp/Boot/PXE/pxeboot.com
/srv/tftp/Boot/PXE/pxeboot.n12
/srv/tftp/Boot/PXE/ru-RU/bootmgr.exe.mui
/srv/tftp/Boot/PXE/ru-RU/wdsmgfw.efi.mui
/srv/tftp/Boot/PXE/sv-SE/bootmgr.exe.mui
/srv/tftp/Boot/PXE/sv-SE/wdsmgfw.efi.mui
/srv/tftp/Boot/PXE/tr-TR/bootmgr.exe.mui
/srv/tftp/Boot/PXE/tr-TR/wdsmgfw.efi.mui
/srv/tftp/Boot/PXE/WdsConfig.inf
/srv/tftp/Boot/PXE/wdsmgfw.efi
/srv/tftp/Boot/PXE/wdsnbp.com
/srv/tftp/Boot/PXE/zh-CN/bootmgr.exe.mui
/srv/tftp/Boot/PXE/zh-CN/wdsmgfw.efi.mui
/srv/tftp/Boot/PXE/zh-HK/bootmgr.exe.mui
/srv/tftp/Boot/PXE/zh-HK/wdsmgfw.efi.mui
/srv/tftp/Boot/PXE/zh-TW/bootmgr.exe.mui
/srv/tftp/Boot/PXE/zh-TW/wdsmgfw.efi.mui
/srv/tftp/Boot/winpe.wim
/srv/tftp/Boot/winpe.wim-from-win7dvd

-- Robin



More information about the ipxe-devel mailing list