iPXE discussion forum

Full Version: ipxe wimboot RAM payload issue (512 MB)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi friends,

I have an existing pxelinux infrastructure in place. I have been using gpxelinux.0 with memdisk to boot winpe 3.0 images into memory to start windows installations. I heard about ipxe as an alternative to memdisk, in that ipxe/winboot can save RAM space. But unfortunately it isnt working as expected. I tried installing windows 7 on 512 MB RAM machine and it doesnt allow because of the same payload memdisk used to take.

For eg, if the WINPE wim is 150 MB in size, it takes the payload as

512 - 150 = 362

362 MB of RAM is not good enough for windows 7 installation and it fails saying "insufficient RAM". Now as per the ipxe/wimboot documentation, "wimboot is a boot loader for Windows Imaging Format (.wim) files. It enables you to boot a Windows PE (WinPE) environment from a RAM disk, without wasting the memory used for the RAM disk image. "

Have i understood this wrong, or is there a configurational change necessary? Here is my boot.ipxe file:-

#!ipxe
#dhcp net0 && echo IP address: ${net0/ip} ; echo Subnet mask: ${net0/netmask}
kernel http://172.16.16.16/win7/wimboot
initrd bootmgr.exe bootmgr.exe
initrd boot/bcd BCD
initrd boot/boot.sdi boot.sdi
initrd sources/boot.wim boot.wim
imgstat
boot

Am i missing anything? Kindly help.

Thank you!
Well, the RAM disk needs to be somewhere, and that quote can be misinterpreted. What it means is that the memory required for the RAM disk is used only once, and when Windows loads that memory is controlled by Windows, not iPXE, which means that it is not lost for the duration of the Windows session and cannot be used for anything. But the RAM disk will occupy space in memory until the drive letter is unmounted and freed. In case of the Windows installer that is until reboot. So to install Win7 using wimboot you'll need more memory.
(2014-01-08 08:31)robinsmidsrod Wrote: [ -> ]Well, the RAM disk needs to be somewhere, and that quote can be misinterpreted. What it means is that the memory required for the RAM disk is used only once, and when Windows loads that memory is controlled by Windows, not iPXE, which means that it is not lost for the duration of the Windows session and cannot be used for anything. But the RAM disk will occupy space in memory until the drive letter is unmounted and freed. In case of the Windows installer that is until reboot. So to install Win7 using wimboot you'll need more memory.

Thank you Robin. So this works more or less like memdisk except that memdisk boots ISO's and img's and wimboot boots wim's.
Reference URL's