Load ISO with MEMDISK using HTTP not TFTP
#1
Posted 11 June 2010 - 05:18 AM
The Tftp server, Webserver, and Samba server are hosted on a freenas box
The DHCP is my dd-wrt router with "dhcp-boot=pxelinux.0,,192.168.5.116" in the additional dnsmasq options.
Default config
DEFAULT menu.c32
TIMEOUT 300
ALLOWOPTIONS 0
PROMPT 0
MENU TITLE PXE Boot System
LABEL WinPE
MENU LABEL ^WinPE
KERNEL memdisk
APPEND iso initrd=http://192.168.5.116/images/winpe.iso
LABEL Parted_Magic
MENU LABEL ^Parted Magic
KERNEL memdisk
APPEND iso initrd=http://192.168.5.116/images/pmagic-4.10.iso
I checked the paths for the web-server and they are correct, the filenames are correct i just don't know whats wrong.
if i need to give you more info please tell me
#2
Posted 11 June 2010 - 05:41 AM
- gPXE (the undionly.kkpxe build)
- Embedded PXELINUX (pxelinux.0)
So when you boot gpxelinux.0, you're actually booting gPXE -> PXELINUX. PXELINUX then takes advantage of gPXE-provided protocols, such as HTTP. Good luck.
#3
Posted 11 June 2010 - 06:31 AM
Ill wait for a reply before i change anything.
#4
Posted 11 June 2010 - 06:37 AM
#5
Posted 11 June 2010 - 06:52 AM
I changed the setup as stated above but now i seem to run into another problem, after i select to boot WinPE it says loading memdisk then it does nothing after, it has been like this for 5 mins the tftp logs show that it did load memdisk. Could this be a problem with the http part or is it something else entirely.
#6
Posted 11 June 2010 - 06:56 AM
DEFAULT menu.c32TIMEOUT 300ALLOWOPTIONS 0PROMPT 0MENU TITLE PXE Boot SystemLABEL WinPE MENU LABEL ^WinPE KERNEL memdisk APPEND iso INITRD [url="http://192.168.5.116/images/winpe.iso"]http://192.168.5.116/images/winpe.iso[/url]LABEL Parted_Magic MENU LABEL ^Parted Magic KERNEL memdisk APPEND iso INITRD [url="http://192.168.5.116/images/pmagic-4.10.iso"]http://192.168.5.116/images/pmagic-4.10.iso[/url]
What is the very last line printed on-screen?
#7
Posted 11 June 2010 - 08:52 PM
I will try a different webserver since the one i'm using does not post logs correctly, i will post my results if the error repeats with the new webserver.
***UPDATE***
I tried again using an alternative webserver but it still hangs after saying loading memdisk, In the new webserver it show that no connection is made from the system pxe booting, what do you think.
#8
Posted 18 June 2010 - 03:17 AM
Didn't see your update, unfortunately.***UPDATE***
I tried again using an alternative webserver but it still hangs after saying loading memdisk, In the new webserver it show that no connection is made from the system pxe booting, what do you think.
Only thing I could guess is that a firewall might be interfering with the HTTP transfer. Turn off the TFTP service so that there's no chance for MEMDISK to be fetched by TFTP. Have a look in the HTTP service logs. Put the appropriate http://192.168.5.116/ before MEMDISK so that it's fetched via HTTP. Temporarily remove menu.c32 from the mix.
#9
Posted 18 June 2010 - 05:24 AM
This would load.
LABEL Clonezilla
MENU LABEL ^Clonezilla
KERNEL vmlinuz
APPEND initrd=initrd.img boot=live union=aufs noswap noprompt ip=frommedia
fetch=http://192.168.5.116/filesystem.squashfs
But this won't
LABEL WinPE
MENU LABEL ^WinPE
KERNEL memdisk
APPEND iso initrd=http://192.168.5.116/images/winpe.iso
#10
Posted 18 June 2010 - 05:33 AM
Please follow the suggestions and use the following:
LABEL WinPE KERNEL http://192.168.5.116/memdisk APPEND iso INITRD http://192.168.5.116/images/winpe.isoGet Wireshark or tcpdump and see what's happening on the wire. See if there's an HTTP request at all. Where did you get gpxelinux.0 from? Is it the latest version? Did you try removing menu.c32? COMBOOT32 modules must match the Syslinux version. So remove it in case it's causing a problem.
#11
Posted 19 June 2010 - 04:17 PM
The syslinux version I'm using is syslinux-4.00-pre49, i also removed menu.c32
#12
Posted 19 June 2010 - 05:54 PM
#13
Posted 19 June 2010 - 09:05 PM
#14
Posted 19 June 2010 - 09:52 PM
#15
Posted 20 June 2010 - 01:10 AM
#16
Posted 20 June 2010 - 02:31 AM
#17
Posted 20 June 2010 - 07:03 AM
#18
Posted 20 June 2010 - 07:34 AM
show net0/busidto see about the IDs.
#20
Posted 25 June 2010 - 01:01 AM
#21
Posted 25 June 2010 - 01:08 AM
#22
Posted 25 June 2010 - 01:22 AM
- VirtualBox VM
- PXE-boot to gpxelinux.0 from Syslinux 4.00-pre46
- MEMDISK from Syslinux 4.00-pre46
- Config-file includes:
LABEL memdisk KERNEL http://192.168.5.116/memdisk INITRD http://192.168.5.116/images/dban.iso APPEND iso
#23
Posted 25 June 2010 - 02:59 AM
I tried 3.86 again but sadly i ran into the same result, the thing is that dban booted this time without giving me the error: boot sector missing or corrupt.
#24
Posted 28 February 2013 - 01:05 PM
Hello All!
I will post my problem my problem here, and if somebody have suggestion, please, take some free to write something.
Having TFTPServer32 on Windows XP (using like windows server) and grubdos with menu for booting ISO files via network and it is working fine.
But because of luck of licenses for Windows XP (Windows 7 and Windows Server) I am moving it to Linux, CentOS.
Installed everything needed, TFTP-server, DHCP, and HTTP server too.
Linux server gives the IPs to the clients and menu appers. ISO files are downloaded just fine, but what ever to boot from TFTP using PXELINUX, just crashed. Acronis Disk Director (Linux version) restarts computer after starting and Windows XP from HBCD (know it is unlegal but saying for explanation purpose) just had an error "TRAP 00000006 EXCEPTION...".
Tryed with GPXELINUX via HTTP, which is preety fast than TFTP, just crashed like TFTP.
Changed computer too.
Dont know what is the problem. If somebody have some idea... Thanx in advice.
EDIT: it is double post... admin, please, delete what needs to be deleted. Thanx.
#25
Posted 28 February 2013 - 02:22 PM
SOLVED...
For others who needs something like this...
when on PXELINUX menu having kernel part like
kernel memdisk
I just put
kernel memdisk raw
and every ISO file booted fine.
Dont know what is raw related to memdisk, but didnt know either that it is memdisk problem.
If somebody have info about memdisk and raw, please explain for me and others...
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users