2013-09-26, 13:44
Hello.
My use case:
Im work at a cyber cafe. To make Everything easier to manage (with updates, only needing to update one computer then all is updated) and prevent customers from tampering with the computers (downloading viruses and such), I want to boot the computers "read-only" from a central server containing a ISO image or some other sort of raw read-only image.
I have built a Windows 7 liveCD image using WinBuilder. The ISO boots locally perfect, in QEMU.
I put the ISO on a LAN accessible web server, and then sanboot the file.
iPXE> dhcp
"DHCP (net0 90:e6:ba:68:e8:2d)...... ok"
iPXE> sanboot http://192.168.1.11/peiso.iso
"Registered SAN device 0x80"
"Booting from SAN device 0x80"
Then it hangs there forever.
The web server log show:
192.168.1.7 - - [26/Sep/2013:14:26:17 +0200] "HEAD /peiso.iso HTTP/1.1" 200 0 "-" "iPXE/1.0.0+ (22a0)"
192.168.1.7 - - [26/Sep/2013:14:26:17 +0200] "HEAD /peiso.iso HTTP/1.1" 200 0 "-" "iPXE/1.0.0+ (22a0)"
192.168.1.7 - - [26/Sep/2013:14:26:17 +0200] "GET /peiso.iso HTTP/1.1" 206 512 "-" "iPXE/1.0.0+ (22a0)"
192.168.1.7 - - [26/Sep/2013:14:26:17 +0200] "GET /peiso.iso HTTP/1.1" 206 512 "-" "iPXE/1.0.0+ (22a0)"
192.168.1.7 - - [26/Sep/2013:14:26:17 +0200] "GET /peiso.iso HTTP/1.1" 206 2048 "-" "iPXE/1.0.0+ (22a0)"
192.168.1.7 - - [26/Sep/2013:14:26:17 +0200] "GET /peiso.iso HTTP/1.1" 206 16384 "-" "iPXE/1.0.0+ (22a0)"
192.168.1.7 - - [26/Sep/2013:14:26:17 +0200] "GET /peiso.iso HTTP/1.1" 206 2048 "-" "iPXE/1.0.0+ (22a0)"
192.168.1.7 - - [26/Sep/2013:14:26:17 +0200] "GET /peiso.iso HTTP/1.1" 206 32768 "-" "iPXE/1.0.0+ (22a0)"
192.168.1.7 - - [26/Sep/2013:14:26:17 +0200] "GET /peiso.iso HTTP/1.1" 206 2048 "-" "iPXE/1.0.0+ (22a0)"
192.168.1.7 - - [26/Sep/2013:14:26:17 +0200] "GET /peiso.iso HTTP/1.1" 206 2048 "-" "iPXE/1.0.0+ (22a0)"
192.168.1.7 - - [26/Sep/2013:14:26:17 +0200] "GET /peiso.iso HTTP/1.1" 206 2048 "-" "iPXE/1.0.0+ (22a0)"
192.168.1.7 - - [26/Sep/2013:14:26:17 +0200] "GET /peiso.iso HTTP/1.1" 206 2048 "-" "iPXE/1.0.0+ (22a0)"
192.168.1.7 - - [26/Sep/2013:14:26:17 +0200] "GET /peiso.iso HTTP/1.1" 206 2048 "-" "iPXE/1.0.0+ (22a0)"
192.168.1.7 - - [26/Sep/2013:14:26:17 +0200] "GET /peiso.iso HTTP/1.1" 206 2048 "-" "iPXE/1.0.0+ (22a0)"
192.168.1.7 - - [26/Sep/2013:14:26:17 +0200] "GET /peiso.iso HTTP/1.1" 206 2048 "-" "iPXE/1.0.0+ (22a0)"
192.168.1.7 - - [26/Sep/2013:14:26:17 +0200] "GET /peiso.iso HTTP/1.1" 206 2048 "-" "iPXE/1.0.0+ (22a0)"
192.168.1.7 - - [26/Sep/2013:14:26:17 +0200] "GET /peiso.iso HTTP/1.1" 206 2048 "-" "iPXE/1.0.0+ (22a0)"
192.168.1.7 - - [26/Sep/2013:14:26:17 +0200] "GET /peiso.iso HTTP/1.1" 206 2048 "-" "iPXE/1.0.0+ (22a0)"
192.168.1.7 - - [26/Sep/2013:14:26:17 +0200] "GET /peiso.iso HTTP/1.1" 206 2048 "-" "iPXE/1.0.0+ (22a0)"
192.168.1.7 - - [26/Sep/2013:14:26:17 +0200] "GET /peiso.iso HTTP/1.1" 206 2048 "-" "iPXE/1.0.0+ (22a0)"
192.168.1.7 - - [26/Sep/2013:14:26:17 +0200] "GET /peiso.iso HTTP/1.1" 206 65536 "-" "iPXE/1.0.0+ (22a0)"
192.168.1.7 - - [26/Sep/2013:14:26:17 +0200] "GET /peiso.iso HTTP/1.1" 206 65536 "-" "iPXE/1.0.0+ (22a0)"
192.168.1.7 - - [26/Sep/2013:14:26:17 +0200] "GET /peiso.iso HTTP/1.1" 206 65536 "-" "iPXE/1.0.0+ (22a0)"
After the third request with 65536 bytes, theres no more requests in log, even after 30 minutes of wait, so seems the boot process completely stopped.
ISO is 627 163 136 byte large (about 600MB) and the computer has 6 GB of available RAM. LAN Network is 100MBit.
Whats the problem, why does it hang? Server support Range requests so there should not be problem there, and ISO is fine (boots locally in emulator)
My use case:
Im work at a cyber cafe. To make Everything easier to manage (with updates, only needing to update one computer then all is updated) and prevent customers from tampering with the computers (downloading viruses and such), I want to boot the computers "read-only" from a central server containing a ISO image or some other sort of raw read-only image.
I have built a Windows 7 liveCD image using WinBuilder. The ISO boots locally perfect, in QEMU.
I put the ISO on a LAN accessible web server, and then sanboot the file.
iPXE> dhcp
"DHCP (net0 90:e6:ba:68:e8:2d)...... ok"
iPXE> sanboot http://192.168.1.11/peiso.iso
"Registered SAN device 0x80"
"Booting from SAN device 0x80"
Then it hangs there forever.
The web server log show:
192.168.1.7 - - [26/Sep/2013:14:26:17 +0200] "HEAD /peiso.iso HTTP/1.1" 200 0 "-" "iPXE/1.0.0+ (22a0)"
192.168.1.7 - - [26/Sep/2013:14:26:17 +0200] "HEAD /peiso.iso HTTP/1.1" 200 0 "-" "iPXE/1.0.0+ (22a0)"
192.168.1.7 - - [26/Sep/2013:14:26:17 +0200] "GET /peiso.iso HTTP/1.1" 206 512 "-" "iPXE/1.0.0+ (22a0)"
192.168.1.7 - - [26/Sep/2013:14:26:17 +0200] "GET /peiso.iso HTTP/1.1" 206 512 "-" "iPXE/1.0.0+ (22a0)"
192.168.1.7 - - [26/Sep/2013:14:26:17 +0200] "GET /peiso.iso HTTP/1.1" 206 2048 "-" "iPXE/1.0.0+ (22a0)"
192.168.1.7 - - [26/Sep/2013:14:26:17 +0200] "GET /peiso.iso HTTP/1.1" 206 16384 "-" "iPXE/1.0.0+ (22a0)"
192.168.1.7 - - [26/Sep/2013:14:26:17 +0200] "GET /peiso.iso HTTP/1.1" 206 2048 "-" "iPXE/1.0.0+ (22a0)"
192.168.1.7 - - [26/Sep/2013:14:26:17 +0200] "GET /peiso.iso HTTP/1.1" 206 32768 "-" "iPXE/1.0.0+ (22a0)"
192.168.1.7 - - [26/Sep/2013:14:26:17 +0200] "GET /peiso.iso HTTP/1.1" 206 2048 "-" "iPXE/1.0.0+ (22a0)"
192.168.1.7 - - [26/Sep/2013:14:26:17 +0200] "GET /peiso.iso HTTP/1.1" 206 2048 "-" "iPXE/1.0.0+ (22a0)"
192.168.1.7 - - [26/Sep/2013:14:26:17 +0200] "GET /peiso.iso HTTP/1.1" 206 2048 "-" "iPXE/1.0.0+ (22a0)"
192.168.1.7 - - [26/Sep/2013:14:26:17 +0200] "GET /peiso.iso HTTP/1.1" 206 2048 "-" "iPXE/1.0.0+ (22a0)"
192.168.1.7 - - [26/Sep/2013:14:26:17 +0200] "GET /peiso.iso HTTP/1.1" 206 2048 "-" "iPXE/1.0.0+ (22a0)"
192.168.1.7 - - [26/Sep/2013:14:26:17 +0200] "GET /peiso.iso HTTP/1.1" 206 2048 "-" "iPXE/1.0.0+ (22a0)"
192.168.1.7 - - [26/Sep/2013:14:26:17 +0200] "GET /peiso.iso HTTP/1.1" 206 2048 "-" "iPXE/1.0.0+ (22a0)"
192.168.1.7 - - [26/Sep/2013:14:26:17 +0200] "GET /peiso.iso HTTP/1.1" 206 2048 "-" "iPXE/1.0.0+ (22a0)"
192.168.1.7 - - [26/Sep/2013:14:26:17 +0200] "GET /peiso.iso HTTP/1.1" 206 2048 "-" "iPXE/1.0.0+ (22a0)"
192.168.1.7 - - [26/Sep/2013:14:26:17 +0200] "GET /peiso.iso HTTP/1.1" 206 2048 "-" "iPXE/1.0.0+ (22a0)"
192.168.1.7 - - [26/Sep/2013:14:26:17 +0200] "GET /peiso.iso HTTP/1.1" 206 2048 "-" "iPXE/1.0.0+ (22a0)"
192.168.1.7 - - [26/Sep/2013:14:26:17 +0200] "GET /peiso.iso HTTP/1.1" 206 2048 "-" "iPXE/1.0.0+ (22a0)"
192.168.1.7 - - [26/Sep/2013:14:26:17 +0200] "GET /peiso.iso HTTP/1.1" 206 65536 "-" "iPXE/1.0.0+ (22a0)"
192.168.1.7 - - [26/Sep/2013:14:26:17 +0200] "GET /peiso.iso HTTP/1.1" 206 65536 "-" "iPXE/1.0.0+ (22a0)"
192.168.1.7 - - [26/Sep/2013:14:26:17 +0200] "GET /peiso.iso HTTP/1.1" 206 65536 "-" "iPXE/1.0.0+ (22a0)"
After the third request with 65536 bytes, theres no more requests in log, even after 30 minutes of wait, so seems the boot process completely stopped.
ISO is 627 163 136 byte large (about 600MB) and the computer has 6 GB of available RAM. LAN Network is 100MBit.
Whats the problem, why does it hang? Server support Range requests so there should not be problem there, and ISO is fine (boots locally in emulator)