Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I have a server which hosts mirrors for FreeBSD, CentOS and Scientific Linux. It includes .iso files.

Is it possible to use pxelinux to boot this ISO over the network? Must I use gPXE or iPXE instead?

I have seen some indication that this is possible, but I'm not sure that I trust that forum post, as I have not gotten this to work.

I have the following configuration:

LABEL freebsd-install-net
  MENU LABEL Netboot FreeBSD-8.2-RELEASE-amd64-disc1.iso
  KERNEL memdisk
  APPEND iso raw initrd=http://192.168.1.100/freebsd82-disc1.iso

But pxelinux tells me the following:

Loading memdisk....
Could not find ramdisk image: http://192.168.1.100/freebsd82-disc1.iso
share|improve this question
add comment

1 Answer

g/iPXE will definitely do it, over TFTP (slow) or HTTP (at least twice as fast as TFTP in my own experiments).

From my notes (so i'm not 100% that it will work, but it should):

KERNEL ipxe.lkrn dhcp && chain http://1.0.0.1/pmagic_http.php

and then the contents of pmagic_tftp.php, residing on a http server on 1.0.0.1:

#!ipxe

kernel pmagic/bzImage edd=off load_ramdisk=1 prompt_ramdisk=0 rw loglevel=9 max_loop=16

initrd pmagic/initrd.img 
boot

I'll post later the exact details, gotta finish working :(

share|improve this answer
2  
Well - that is not booting an ISO-image. That is booting a kernel and initrd by a indirect call to a http-URL. But for this there has to be http support in PXE. So is there a statement where you can chainload an ISO via http? –  Nils Feb 16 '12 at 16:07
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.