Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Boot Ubuntu 15 over http
2015-11-06, 02:03
Post: #1
Boot Ubuntu 15 over http
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.
Find all posts by this user
Quote this message in a reply
2015-11-08, 00:43
Post: #2
RE: Boot Ubuntu 15 over http
(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
Visit this user's website Find all posts by this user
Quote this message in a reply
2015-11-08, 04:31 (This post was last modified: 2015-11-08 04:31 by wayne.workman2012.)
Post: #3
RE: Boot Ubuntu 15 over http
(2015-11-08 00:43)mcb30 Wrote:  Michael

Thank you, I'll try this out and report back!
Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)