iPXE discussion forum
Boot Ubuntu 15 over http - Printable Version

+- iPXE discussion forum (https://forum.ipxe.org)
+-- Forum: iPXE user forums (/forumdisplay.php?fid=1)
+--- Forum: General (/forumdisplay.php?fid=2)
+--- Thread: Boot Ubuntu 15 over http (/showthread.php?tid=7859)



Boot Ubuntu 15 over http - wayne.workman2012 - 2015-11-06 02:03

Hello,

I've been browsing around here for a few hours now and have only found one relevant thread that talks about using httpd to load a linux live iso.

At home, I have a Fedora 21 server in the basement, it's setup as a FOG server. I have the Ubuntu 15 x64 iso mounted as read-only in the web-root here: /var/www/html/ubuntu

when I use a web browser to browse to x.x.x.x/ubuntu I can see the contents of the iso.

for my ipxe menu entry, this is what I have so far but it's not working out...

Code:
:ubuntu
kernel ${boot_url}/ubuntu/casper/vmlinuz.efi
initrd ${boot_url}/ubuntu/casper/initrd.lz
imgargs vmlinuz root=${boot_url}/ubuntu boot=casper netboot=http
boot

The computer I've been trying to boot using this method has 3 gigs of ram and is a dual core.

With Google, I couldn't find a good list of parameters with examples. For instance, I simply guessed to use netboot=http but I'm not sure if this is right or not.

It appears that the kernel and init are pulled and loaded, and then I simply get a PXE-M0F error, it looks like it's tftp related.

What's going wrong here? Any help would be appreciated.


RE: Boot Ubuntu 15 over http - mcb30 - 2015-11-08 00:43

(2015-11-06 02:03)wayne.workman2012 Wrote:  
Code:
:ubuntu
kernel ${boot_url}/ubuntu/casper/vmlinuz.efi
initrd ${boot_url}/ubuntu/casper/initrd.lz
imgargs vmlinuz root=${boot_url}/ubuntu boot=casper netboot=http
boot

I'm not aware of Ubuntu including any support for mounting the root filesystem via HTTP. You can export the root filesystem via NFS and boot using something like:

Code:
kernel ${boot_url}/ubuntu/casper/vmlinuz.efi initrd=initrd.lz \
       boot=casper netboot=nfs nfsroot=${nfs_root}/ubuntu
initrd ${boot_url}/initrd.lz
boot

Michael


RE: Boot Ubuntu 15 over http - wayne.workman2012 - 2015-11-08 04:31

(2015-11-08 00:43)mcb30 Wrote:  Michael

Thank you, I'll try this out and report back!