Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ubuntu livecd iso net boot
2014-12-09, 09:26
Post: #1
ubuntu livecd iso net boot
I tryed to learn usage of ipxe but i cannot get a ubuntu.iso cd image able to boot a livecd image via ipxe.

i tryed out many configs but i cannot get one working.

there are some others info: http://fogproject.org/forum/threads/live...oot.12044/
Find all posts by this user
Quote this message in a reply
2014-12-09, 14:23
Post: #2
RE: ubuntu livecd iso net boot
You can do it by using the example provided here: https://gist.github.com/robinsmidsrod/22...-ipxe-L512
Visit this user's website Find all posts by this user
Quote this message in a reply
2014-12-09, 14:25 (This post was last modified: 2014-12-09 14:41 by robinsmidsrod.)
Post: #3
RE: ubuntu livecd iso net boot
(2014-12-09 14:23)robinsmidsrod Wrote:  You can do it by using the example provided here: https://gist.github.com/robinsmidsrod/22...-ipxe-L512

finally i get a working config:

Code:
:UBUNTU
# See http://manpages.ubuntu.com/manpages/precise/man7/casper.7.html for casper cmdline details
kernel http://192.168.0.3/fog/iso/ubuntu/casper/vmlinuz
initrd http://192.168.0.3/fog/iso/ubuntu/casper/initrd.lz
imgargs vmlinuz root=/dev/nfs boot=casper netboot=nfs nfsroot=192.168.0.3:/var/www/fog/iso/ubuntu/ locale=en_US.UTF-8 keyboard-configuration/layoutcode=no mirror/country=NO
boot || goto failed
goto start

Code:
$ cat /etc/exports
/images *(ro,sync,no_wdelay,insecure_locks,no_root_squash,insecure)
/images/dev *(rw,sync,no_wdelay,no_root_squash,insecure)
/var/www/fog/iso/ubuntu/ *(ro,sync,no_wdelay,insecure_locks,no_root_squash,insecure)

Code:
administrator@fog:/var/www/fog/iso/ubuntu$ ls -la
totale 32
dr-xr-xr-x 5 root root 4096 dic 5 12:48 .
drwxr-xr-x 3 root root 4096 dic 5 12:47 ..
dr-xr-xr-x 3 root root 4096 dic 9 08:37 casper
dr-xr-xr-x 2 root root 4096 ago 9 22:19 .disk
dr-xr-xr-x 2 root root 4096 ago 9 22:19 isolinux
-r-xr-xr-x 1 root root 8351 ago 9 22:20 SHA256SUMS
Find all posts by this user
Quote this message in a reply
2015-01-31, 00:19
Post: #4
RE: ubuntu livecd iso net boot
Thank You!

I've been looking for the answer to this for quite some time. I'm not very good at understanding the parameters, but maybe one day I'll digest the man page.

Not to hijack the thread, but could someone explain why sanboot wouldn't work in this case? I thought sanboot was very versatile when it came to iso files, but maybe my understanding of sanboot is in question? When I tried to sanboot the iso it looked like smooth sailing but if you look at terminal output it can't find contents of /dev/sr0. Does sanboot not actually attach anything? Is there any link to sanboot documentation internals other than the code itself so I can get a grasp of what it actually is doing?

Thanks again
Find all posts by this user
Quote this message in a reply
2015-02-04, 09:16
Post: #5
RE: ubuntu livecd iso net boot
James: The virtual CD that sanboot gives you access to is only available until the operating system kernel starts. At that point it is no longer available. This is completely normal with most operating systems (except DOS). The OS takes over completely control over the hardware, so you need to tell it again where to find the network resources you want access to (like a mounted ISO). In most cases (unless you're dealing with DOS) it is best to unpack the ISO and boot the kernel/ramdisk directly from iPXE or another boot loader (like grub/syslinux).
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 




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