Sep 062013
 

needed :
ipxe
tiny pxe server
winnfsd
ubuntu

1/open ubuntu.iso in winrar or 7zip (or any other iso reading capable tool).
extract casper folder to x:\pxe\iso\ubuntu.13.04 (or any path that suit you)

2/launch winnfsd with the following :
winnfsd.exe -id 0 0 x:\pxe\iso\ubuntu.13.04
note : adapt the above path with your own path

3/use the below ipxe script :

#!ipxe
set boot-url http://${dhcp-server}
kernel ${boot-url}/ISO/ubuntu.13.04/casper/vmlinuz root=/dev/nfs boot=casper netboot=nfs nfsroot=${dhcp-server}:/x/ISO/ubuntu.13.04 ip=dhcp ro
initrd ${boot-url}/ISO/ubuntu.13.04/casper/initrd.lz
boot

note : adapt /x/pxe/ISO/ubuntu.13.04 to your own path.
name it ubuntu.ipxe and put it in x:\pxe

4/put ipxe-undionly.kpxe in x:\pxe

5/launch tiny pxe server with the following settings (leave other settings untouched) :
tick « httpd »
boot filename = ipxe-undionly.kpxe (use the browse files and folders « … » button)
tick « filename if user-class=gPXE or iPXE » = http://${dhcp-server}/ubuntu.ipxe
push the online button

6/pxe boot your computer and here we go

 Posted by at 22 h 43 min

  5 Responses to “Boot Ubuntu (live) over iPXE and NFS”

  1. […] already saw earlier how to boot ubuntu over ipxe with […]

  2. I dont know what to do there:
    3/use the below ipxe script :

    #!ipxe
    set boot-url http://${dhcp-server}
    kernel ${boot-url}/ISO/ubuntu.13.04/casper/vmlinuz root=/dev/nfs boot=casper netboot=nfs nfsroot=${dhcp-server}:/x/ISO/ubuntu.13.04 ip=dhcp ro
    initrd ${boot-url}/ISO/ubuntu.13.04/casper/initrd.lz
    boot

    WHAT? « #!ipxe » – this is a command??? from website, ipxe is az iso- file. That contain files « boot » « ipxe » « isolinux » etc… there is no exe-s or any kind of operable batch file or anything. The command you write is aint work on normal windows command prompt. And there is nothing to do with the ipxe.iso . I try to boot the iso file on virtualbox, bot nothing. Even i a windows user, linux commands for me too complex. So please next time an example, or whatever if it possible. Thx

    • Hi,

      This is a script you will execute under linux or windows.
      This is a script that will be executed by the ipxe firmware.

      You may have to review the basics of network pxe booting before attempting to use ipxe.

      Regards,
      Erwan

  3. I found a typo in your easy pxe server. When you press the online button it says tfpt instead of tftp

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)