Add a livecd entry in network boot menu
-
i see that struct of bootmenu is changed.
How i can put a iso livecd on the server and add a bootmenu for this?
-
[url]http://fogproject.org/forum/threads/how-can-i-boot-a-live-image-with-ipxe.11940/#post-38652[/url]
There is a search bar in the forum : [url]http://fogproject.org/forum/search/7477757/?q=live&o=date[/url]
-
Search is your friend indeed.
Google is your friend too!
[url]http://fogproject.org/wiki/index.php/Advanced_Boot_Menu_Configuration_options[/url]
-
i tryed out this config, that don’t work:
#----------------------------------------
:MENU
menu
item --gap – ------------- Advanced Menu --------------
item XUBUNTU Boot to a xubuntu 14.04.1
item RETURN Return to the Top Menu
choose --default RETURN --timeout 30000 target && goto ${target}:XUBUNTU
imgfetch [url]http://${fog-ip}/fog/iso/xubuntu-14.04.1-desktop-i386.iso[/url]
boot memdisk iso raw ||
goto MENU:RETURN
boot [url]http://${fog-ip}/${fog-webroot}/service/ipxe/boot.php?mac=${net0/mac[/url]} ||
prompt
goto MENUautoboot
#----------------------------------------
where is the error?
-
What is the issue? Is it loading, not loading, what’s happening/or not happening?
-
[quote=“Tom Elliott, post: 39687, member: 7271”]What is the issue? Is it loading, not loading, what’s happening/or not happening?[/quote]
gives a error, i found many examples but none howto boot ubuntu livecd instead a windows livecd.
exist a way to boot also a minimal linux kernel that make me able to mount and chroot local disks?
-
this version downloads the iso from server but the boot fails saying: “(intramfs) Unable to find a medium containing a live file system”
:MENU
menu
item --gap – ------------- Advanced Menu --------------
item XUBUNTU Boot to a xubuntu 14.04.1
item RETURN Return to the Top Menu
choose --default RETURN --timeout 30000 target && goto ${target}:XUBUNTU
initrd [url]http://${fog-ip}/fog/iso/xubuntu-14.04.1-desktop-i386.iso[/url]
chain memdisk iso raw ||
goto MENU:RETURN
boot [url]http://${fog-ip}/${fog-webroot}/service/ipxe/boot.php?mac=${net0/mac[/url]} ||
prompt
goto MENUautoboot
-
-
finally i get a working config:
:UBUNTU
See [url]http://manpages.ubuntu.com/manpages/precise/man7/casper.7.html[/url] for casper cmdline details
kernel [url]http://192.168.0.3/fog/iso/ubuntu/casper/vmlinuz[/url]
initrd [url]http://192.168.0.3/fog/iso/ubuntu/casper/initrd.lz[/url]
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$ 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)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
administrator@fog:/var/www/fog/iso/ubuntu$