winbuilder win7pe boot from tftp
#1
Posted 10 March 2010 - 10:32 PM
I have tftp32 runnning and booting from bartpe iso but trying to replce bartpe with win7pe
Tftf32 gives menu ok ,I select Iso the ram file starts to load then fails at the iso load
Any help would be good :-)
Default file
DEFAULT vesamenu.c32
MENU BACKGROUND splash.png
PROMPT 0
NOESCAPE 0
ALLOWOPTIONS 0
TIMEOUT 300
menu width 78
menu margin 4
menu rows 13
menu color border 0 #ffffffff #ee000000 std
menu color title 0 #ffffffff #ee000000 std
menu color sel 0 #ffffffff #85000000 std
menu color unsel 0 #ffffffff #ee000000 std
menu color hotkey 0 #ff00ff00 #ee000000 std
menu color hotsel 0 #ffffffff #85000000 std
#####menu color option forground #ALPHA/R/G/B background #ALPHA/R/G/B
#####Black_menu color sel 0 #ffffffff #ff000000
#####Green_menu color sel 0 #ff00ff00 #ff000000
#####Red_menu color sel 0 #ffff0000 #ff000000
MENU TITLE PXE Boot Menu Created by xxxxxxxxxxxx
# Windows ISO Loader
LABEL Bartpe Iso File
MENU LABEL ^Bartpe Iso File
KERNEL startrom.0
# MS-DOS Loader for GHOST
LABEL GHOST
MENU LABEL ^Ghost (Testing no ghost file at the moment)
KERNEL kernels\memdisk
APPEND initrd=images\ghost.ima vga=1
# MS-DOS Loader for GHOST 2k3 lpt
LABEL GHOST
MENU LABEL ^Ghost 2003 with usb1.1 & LPT Support
KERNEL kernels\memdisk
APPEND initrd=images\G2k3usb1LPT.IMA vga=1
# MS-DOS Loader for GHOST 2k3 USB2
LABEL GHOST
MENU LABEL ^Ghost 2003 with usb2 Support
KERNEL kernels\memdisk
APPEND initrd=images\G2k3usb2.IMA vga=1
# MS-DOS Loader for Bart Network Boot Disk
LABEL MultiNic Network boot (works)
MENU Label ^MultiNic Network boot
KERNEL kernels\memdisk
APPEND initrd=images\nicboot.ima vga=1
# MS-DOS Loader for Universal TCP/IP Network Boot Disk
LABEL Tcpip boot
MENU LABEL ^Universal TCP/IP Network Boot Disk
KERNEL kernels\memdisk
APPEND initrd=images\w98senetboot.IMA vga=1
# MS-DOS Loader for Win98 Clean Boot
LABEL Win98 Clean Boot
MENU LABEL ^Win98 Clean Boot
KERNEL kernels\memdisk
APPEND initrd=images\w98.ima vga=1
# MS-DOS Loader for NT Loader
LABEL Win98 Clean Boot
MENU LABEL ^Nt Loader
KERNEL kernels\memdisk
APPEND initrd=images\ntloader.IMA vga=1
# MS-DOS Loader for PowerQuest Drive Image
LABEL PowerQuest Drive Image
MENU LABEL ^PowerQuest Drive Image
KERNEL kernels\memdisk
APPEND initrd=images\pqdi.IMA vga=1
# MS-DOS Loader for Partition Magic
LABEL Partition Magic
MENU LABEL ^Partition Magic
KERNEL kernels\memdisk
APPEND initrd=images\PTMAGIC.IMA vga=1
# MS-DOS Loader for Seagate Tools
LABEL Seagate Tools
MENU LABEL ^Seagate Tools
KERNEL kernels\memdisk
APPEND initrd=images\seagate.IMA vga=1
In the root of tftp i have winnt.sif file
[SetupData]
BootDevice = "ramdisk(0)"
BootPath = "\I386\SYSTEM32\"
OsLoadOptions = "/noguiboot /fastdetect /minint /rdexportascd /rdpath=bartpe.iso"
now this works for bartpe but not for the win7pe iso renamed to bartpe for simplicity's sake
Any help would be good,I would if possible like to boot either bartpe or win7pe as a choice but would prefer the win7pe
Dangerous
#2
Posted 11 March 2010 - 07:16 AM
get bootmgr.exe from %BootSRC%\Windows\Boot\PXE
place it in the root of tftp
get pxeboot.n12 from %BootSRC%\Windows\Boot\PXE
place it in \Boot folder
rename pxeboot.n12 to pxeboot.0
in the pxelinux menu use:
KERNEL Boot/pxeboot.0
#3
Posted 12 March 2010 - 07:55 PM
Thanks for the replycopy the whole 'Boot' and 'sources' folder from winbuilder %TargetDir% to the root of tftp
get bootmgr.exe from %BootSRC%\Windows\Boot\PXE
place it in the root of tftp
get pxeboot.n12 from %BootSRC%\Windows\Boot\PXE
place it in \Boot folder
rename pxeboot.n12 to pxeboot.0
in the pxelinux menu use:
KERNEL Boot/pxeboot.0
Got bootmgr from win 7 dvd
looking for pxeboot.n12 ???? Do you mean startrom.12 ??
#4
Posted 12 March 2010 - 08:43 PM
the files called pxeboot.n12 and bootmgr.exe exist
either in
Windows 7 install DVD\sources\boot.wim image index=1
in \Windows\Boot\PXE folder
either in
Windows 7 install DVD\sources\boot.wim image index=2
in \Windows\Boot\PXE folder
or if The Windows® Automated Installation Kit (AIK) for Windows® 7 (KB3AIK_EN.iso) installed on your host
then in C:\Program Files\Windows AIK\Tools\PETools\x86\winpe.wim image index=1
in \Windows\Boot\PXE folder
in order to get these files out from the .wim in winbuilder try these script lines:
FileCopy,"%BootSRC%\Windows\Boot\PXE\bootmgr.exe","%TargetDir%" FileCopy,"%BootSRC%\Windows\Boot\PXE\pxeboot.n12","%TargetDir%\Boot\pxeboot.0"
#5
Posted 12 March 2010 - 09:37 PM
but i never had success to boot the 7PE.iso directly via pxelinux
but for me this works via grub4dos
e.g.:
copy 7PE.iso to tftp root
copy grub.exe to tftp root (from grub4dos e.g. grub4dos-0.4.4-2009-06-20.zip)
in the file 'pxelinux.cfg\default'
use:
color white/blue black/light-graytimeout 30default 0title directly boot 7PE.isopxe keepmap --mem /7PE.iso (hd32)map --hookroot (hd32)chainloader /BOOTMGR
#6
Posted 15 April 2010 - 05:58 PM
copy the whole 'Boot' and 'sources' folder from winbuilder %TargetDir% to the root of tftp
get bootmgr.exe from %BootSRC%\Windows\Boot\PXE
place it in the root of tftp
get pxeboot.n12 from %BootSRC%\Windows\Boot\PXE
place it in \Boot folder
rename pxeboot.n12 to pxeboot.0
in the pxelinux menu use:
KERNEL Boot/pxeboot.0
Ok
so copied files from mounted .wim
pasted to correct locations
got the following
windows boot manager server ip xxx.xxx.xxx.xxx.
windows failed to start a recent Blah blah blah
Status 0xc000000f
info the boot selection failed because a required device is inaccesable
TFTP32 Log
Rcvd DHCP Discover Msg for IP 0.0.0.0, Mac 00:16:D3:2D:1D:C9 [15/04 18:53:20.265]
DHCP: proposed address 192.168.85.200 [15/04 18:53:20.265]
Rcvd DHCP Rqst Msg for IP 0.0.0.0, Mac 00:16:D3:2D:1D:C9 [15/04 18:53:24.328]
Previously allocated address acked [15/04 18:53:24.328]
Read request for file <pxelinux.0>. Mode octet [15/04 18:53:24.328]
OACK: <blksize=1456,> [15/04 18:53:24.343]
Using local port 2172 [15/04 18:53:24.343]
<pxelinux.0>: sent 12 blks, 16466 bytes in 0 s. 0 blk resent [15/04 18:53:24.343]
Read request for file <pxelinux.cfg/00000000-0000-0000-0000-000000000000>. Mode octet [15/04 18:53:24.406]
File <pxelinux.cfg/00000000-0000-0000-0000-000000000000> : error 2 in system call CreateFile The system cannot find the file specified. [15/04 18:53:24.406]
Read request for file <pxelinux.cfg/01-00-16-d3-2d-1d-c9>. Mode octet [15/04 18:53:24.406]
File <pxelinux.cfg/01-00-16-d3-2d-1d-c9> : error 2 in system call CreateFile The system cannot find the file specified. [15/04 18:53:24.406]
Read request for file <pxelinux.cfg/C0A855C8>. Mode octet [15/04 18:53:24.421]
File <pxelinux.cfg/C0A855C8> : error 2 in system call CreateFile The system cannot find the file specified. [15/04 18:53:24.421]
Read request for file <pxelinux.cfg/C0A855C>. Mode octet [15/04 18:53:24.421]
File <pxelinux.cfg/C0A855C> : error 2 in system call CreateFile The system cannot find the file specified. [15/04 18:53:24.421]
Read request for file <pxelinux.cfg/C0A855>. Mode octet [15/04 18:53:24.437]
File <pxelinux.cfg/C0A855> : error 2 in system call CreateFile The system cannot find the file specified. [15/04 18:53:24.437]
Read request for file <pxelinux.cfg/C0A855>. Mode octet [15/04 18:53:24.703]
File <pxelinux.cfg/C0A855> : error 2 in system call CreateFile The system cannot find the file specified. [15/04 18:53:24.703]
Read request for file <pxelinux.cfg/C0A85>. Mode octet [15/04 18:53:24.703]
File <pxelinux.cfg/C0A85> : error 2 in system call CreateFile The system cannot find the file specified. [15/04 18:53:24.718]
Read request for file <pxelinux.cfg/C0A8>. Mode octet [15/04 18:53:24.718]
File <pxelinux.cfg/C0A8> : error 2 in system call CreateFile The system cannot find the file specified. [15/04 18:53:24.718]
Read request for file <pxelinux.cfg/C0A>. Mode octet [15/04 18:53:24.734]
File <pxelinux.cfg/C0A> : error 2 in system call CreateFile The system cannot find the file specified. [15/04 18:53:24.734]
Read request for file <pxelinux.cfg/C0>. Mode octet [15/04 18:53:24.734]
File <pxelinux.cfg/C0> : error 2 in system call CreateFile The system cannot find the file specified. [15/04 18:53:24.734]
Read request for file <pxelinux.cfg/C>. Mode octet [15/04 18:53:24.750]
File <pxelinux.cfg/C> : error 2 in system call CreateFile The system cannot find the file specified. [15/04 18:53:24.750]
Read request for file <pxelinux.cfg/default>. Mode octet [15/04 18:53:24.750]
OACK: <tsize=2723,blksize=1408,> [15/04 18:53:24.750]
Using local port 2184 [15/04 18:53:24.765]
<pxelinux.cfg/default>: sent 2 blks, 2723 bytes in 0 s. 0 blk resent [15/04 18:53:24.765]
Read request for file <vesamenu.c32>. Mode octet [15/04 18:53:24.765]
OACK: <tsize=158364,blksize=1408,> [15/04 18:53:24.765]
Using local port 2185 [15/04 18:53:24.765]
<vesamenu.c32>: sent 113 blks, 158364 bytes in 0 s. 0 blk resent [15/04 18:53:24.812]
Read request for file <pxelinux.cfg/default>. Mode octet [15/04 18:53:24.828]
OACK: <tsize=2723,blksize=1408,> [15/04 18:53:24.828]
Using local port 2186 [15/04 18:53:24.828]
<pxelinux.cfg/default>: sent 2 blks, 2723 bytes in 0 s. 0 blk resent [15/04 18:53:24.843]
Read request for file <splash.png>. Mode octet [15/04 18:53:24.921]
OACK: <tsize=76680,blksize=1408,> [15/04 18:53:24.921]
Using local port 2187 [15/04 18:53:24.921]
<splash.png>: sent 55 blks, 76680 bytes in 0 s. 0 blk resent [15/04 18:53:24.968]
Read request for file <Boot\pxeboot.0>. Mode octet [15/04 18:53:31.687]
OACK: <tsize=25772,blksize=1408,> [15/04 18:53:31.687]
Using local port 2188 [15/04 18:53:31.687]
<Boot\pxeboot.0>: sent 19 blks, 25772 bytes in 0 s. 0 blk resent [15/04 18:53:31.703]
Read request for file <bootmgr.exe>. Mode octet [15/04 18:53:32.046]
OACK: <blksize=1456,> [15/04 18:53:32.046]
Using local port 2189 [15/04 18:53:32.046]
<bootmgr.exe>: sent 360 blks, 523328 bytes in 0 s. 0 blk resent [15/04 18:53:32.203]
Read request for file <\Boot\Fonts\wgl4_boot.ttf>. Mode octet [15/04 18:53:32.421]
OACK: <tsize=47452,> [15/04 18:53:32.421]
Using local port 2190 [15/04 18:53:32.421]
Peer returns ERROR <TFTP Aborted> -> aborting transfer [15/04 18:53:32.437]
Read request for file <\Boot\Fonts\wgl4_boot.ttf>. Mode octet [15/04 18:53:32.437]
OACK: <tsize=47452,blksize=1420,> [15/04 18:53:32.437]
Using local port 2191 [15/04 18:53:32.437]
<Boot\Fonts\wgl4_boot.ttf>: sent 34 blks, 47452 bytes in 0 s. 0 blk resent [15/04 18:53:32.468]
Read request for file <\boot.ini>. Mode octet [15/04 18:53:32.468]
File <boot.ini> : error 2 in system call CreateFile The system cannot find the file specified. [15/04 18:53:32.468]
Read request for file <\Boot\BCD>. Mode octet [15/04 18:53:48.250]
OACK: <tsize=262144,> [15/04 18:53:48.250]
Using local port 2198 [15/04 18:53:48.250]
Peer returns ERROR <TFTP Aborted> -> aborting transfer [15/04 18:53:48.250]
Read request for file <\Boot\BCD>. Mode octet [15/04 18:53:48.265]
OACK: <tsize=262144,blksize=1420,> [15/04 18:53:48.265]
Using local port 2199 [15/04 18:53:48.265]
<Boot\BCD>: sent 185 blks, 262144 bytes in 0 s. 0 blk resent [15/04 18:53:48.343]
Read request for file <\Boot\en-US\bootmgr.EXE.MUI>. Mode octet [15/04 18:53:48.359]
File <Boot\en-US\bootmgr.EXE.MUI> : error 2 in system call CreateFile The system cannot find the file specified. [15/04 18:53:48.359]
Read request for file <\Boot\Fonts\wgl4_boot.ttf>. Mode octet [15/04 18:53:48.359]
OACK: <tsize=47452,> [15/04 18:53:48.359]
Using local port 2201 [15/04 18:53:48.375]
Peer returns ERROR <TFTP Aborted> -> aborting transfer [15/04 18:53:48.375]
Read request for file <\Boot\Fonts\wgl4_boot.ttf>. Mode octet [15/04 18:53:48.375]
OACK: <tsize=47452,blksize=1420,> [15/04 18:53:48.375]
Using local port 2202 [15/04 18:53:48.390]
<Boot\Fonts\wgl4_boot.ttf>: sent 34 blks, 47452 bytes in 0 s. 0 blk resent [15/04 18:53:48.406]
Read request for file <\hiberfil.sys>. Mode octet [15/04 18:53:48.421]
File <hiberfil.sys> : error 2 in system call CreateFile The system cannot find the file specified. [15/04 18:53:48.421]
Read request for file <\sources\boot.wim>. Mode octet [15/04 18:53:48.437]
File <sources\boot.wim> : error 2 in system call CreateFile The system cannot find the file specified. [15/04 18:53:48.437]
Tried the KERNEL Boot/pxeboot.0 then KERNEL Boot\pxeboot.0 just incase...
Starting to get there just need that extra push ...any offers???
#7
Posted 16 April 2010 - 04:43 AM
Read request for file <\sources\boot.wim>. Mode octet [15/04 18:53:48.437]
File <sources\boot.wim> : error 2 in system call CreateFile The system cannot find the file specified. [15/04 18:53:48.437]
does 'tftp root\sources\boot.wim' exist?
#8
Posted 17 April 2010 - 04:11 PM
does 'tftp root\sources\boot.wim' exist?
errr nope!
Maybe If I have read the errors !!
Dera many thanks I have pasted boot.wim into sources folder and now IT WORKS
So to conclude
From Winbuilder
copied the whole 'Boot' and 'sources' folder from winbuilder %TargetDir% to the root of tftp
got bootmgr.exe from %BootSRC%\Windows\Boot\PXE (extracted from mount win7 wim)
place it in the root of tftp
got pxeboot.n12 from %BootSRC%\Windows\Boot\PXE (extracted from mount win7 wim)
place it in \Boot folder
renamed pxeboot.n12 to pxeboot.0
in the pxelinux menu used
KERNEL Boot\pxeboot.0
Copied Boot.wim into sources folder
Pxe booted Laptop selected Win7pe and Boot.wim loaded Win7pe Perfect
Once again Thank you Dera you are a star
#9
Posted 21 August 2012 - 01:02 PM
Here is my pxelinux.cfg entry for win7pe
LABEL Win7pe
MENU LABEL Win7PE
TEXT HELP
Windows 7 en Live (test)
ENDTEXT
KERNEL memdisk
APPEND iso
initrd /_ISO/WIN7PE.ISO bigraw nfsmount=192.168.123.22:/data/server/tftp
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users