iPXE discussion forum
Sanboot help - Printable Version

+- iPXE discussion forum (https://forum.ipxe.org)
+-- Forum: iPXE user forums (/forumdisplay.php?fid=1)
+--- Forum: General (/forumdisplay.php?fid=2)
+--- Thread: Sanboot help (/showthread.php?tid=3246)



Sanboot help - nORKy - 2012-05-07 12:00

Hi,

I try to boot some iso installer (windows 2008r2, debian, ..)

With sanboot ... http://

ipxe start the iso installer, but, OS doen't find its cd installer.

for exemple, when ipxe start windows2008r2.iso, windows says :
"An error occured while attempting to read the boot configuration data, File:\Boot\BCd"

For exemple, debian didn't find any CD reader to get its packages.

Thanks for your help


RE: Sanboot help - robinsmidsrod - 2012-05-08 16:32

That is completely normal. The CD is not designed to be booted off the network, and when it searches for the CD/DVD it can't find it. Only CDs that load their entire boot environment into RAM before their kernel start, or CDs specifically designed for booting off the network (e.g. NFS, iSCSI or something like that) will work.

In this iPXE script you can see how I boot various kinds of LiveCDs off the network: https://gist.github.com/2234639

It's not trivial, but it's not ridiculously hard either. The hardest one is usually Windows.


RE: Sanboot help - nORKy - 2012-05-09 07:28

Thanks you

I understand NFS for linux OS.
But, for windows, I see your exemple, but, how can you do that if your iso is not entirtrly loaded i[/code]n RAM ?

Code:
:windows7-install
set root-path ${base-iscsi}:${hostname}.boot.windows7
sanhook ${root-path} || goto failed
# Start Windows 7 installer DVD
sanboot --no-describe --drive 0x81 http://boot.smidsrod.lan/windows-7/ultimate-x64.iso || goto failed



RE: Sanboot help - robinsmidsrod - 2012-05-09 08:04

Look at the :winpe example. That one uses a smaller (~160MB) WinPE boot image that does not contain the installer, only the boot environment. You then load the installer from a normal CIFS network share. See the comments in that entry. There is also a link to a Microsoft article on how to create this smaller boot environment from your Windows install disc.


RE: Sanboot help - nORKy - 2012-05-10 08:26

ok, thanks you !


RE: Sanboot help - rebit - 2012-06-26 02:33

You can try my how-to

http://windowsdiskless.wordpress.com

With ipxe.iso