adding ISO
-
can I add an iso? I googled and found some guides but they are for older version of fog, I’ve no /tftpboot/pxelinux.cfg/default file
thanks -
Try this: https://wiki.fogproject.org/wiki//index.php/Include_any_ISO_in_the_FOG_Bootmenu There should also be a Forum post out there that I used. I haven’t found it yet though.
-
seen, but as I said I’ve no /tftpboot/pxelinux.cfg/default and /tftpboot/fog/memdisk files
-
What version of fog are you using the method varies from .32, 1.2, and SVN.
-
I’ve downloaded this: http://heanet.dl.sourceforge.net/project/freeghost/FOG/fog_1.2.0/fog_1.2.0.tar.gz
-
-
uhm ok thanks, but is it not possible to use web interface? I installed FOG in order to not use shell… thanks again
-
Found what I used try this:
-
In version 1.2 release it was noted that adding Menu items was difficult and needed to be cleaned up. This is the way to add a menu item using 1.2.
@Joseph-Hales said:
Try this thread https://forums.fogproject.org/topic/4212/add-a-livecd-entry-in-network-boot-menu
HOWEVER:
If you update to SVN(trunk) you will find that adding menu items has become a little less complicated. To my knowledge a wiki has not yet been created to accommodate 1.3’s update but it is currently being worked on.
-
FOG Trunk has features that allow easily adding items to the menu via the Web UI…
Read through this article (especially at the bottom): https://wiki.fogproject.org/wiki/index.php/SVN
-
I tried but:
Configuring (net0 00:24:etc)… ok
/default.ipxe… okand after nothing happens
thanks -
@mmiat What did you try?
-
check your permissions on the dir that contains your isos if it correctly set ups you should be able to hit it with a web browser like this. http://fog ip/fog/iso
-
@mmiat What FOG version are you running? What Linux Distro? Where are you getting the error above? i.e. are you getting to the normal FOG Boot Menu then choosing Advanced Menu fails?
-
this morning I resumed original default.ipxe and it works, but how can I add iso using web GUI?
instead, if I try to create a custom default.ipxe as you said I have "could not start download: operation not supported (http://ipxe.org/3c062003)
FOG 1.2
Debian 7.8
permissions are ok, files are accessible using web interface -
@mmiat can you post your config for the menu?
-
last version, I’ve modified it many times, always with no results
:MENU menu item debian7.8_64 Debian 7.8 64 Bits item debian8.1_64 Debian 8.1 64 Bits item Mint_Cinnamon choose --default debian7.8_64 target && goto ${target} :debian7.8_64 initrd http://${fog-ip}/${fog-webroot}/iso/debian/debian-7.4.0-amd64-netinst.iso chain memdisk iso raw || goto MENU :debian8.1_64 initrd http://${fog-ip}/${fog-webroot}/iso/debian/debian-8.1.0-amd64-netinst.iso chain memdisk iso raw || goto MENU :Mint_Cinnamon initrd http://${fog-ip}/${fog-webroot}/iso/mint_cinnamon/lmde-2-201503-cinnamon-64bit.iso chain memdisk iso raw || goto MENU autoboot
-
DONE!
but it’s not so clear how to do…
- access fog web interface, go to “FOG Configuration” > “PXE Boot Menu” > “Advanced Configuration Options” and add the code I posted
- create iso folder in /var/www/fog/ and copy iso there
BUT
after install starts it says “no cdrom found” and installation process hangs
-
@mmiat I’m glad you were able to get it to boot, even if it is just a failure to load further than the scan of the CD/DVD drive.
The particular problem, now, that you’re facing is due to how many installation ISO’s operate. These kinds of CDs are not designed to be booted and run from the network. They’re designed to run off a CD which is why it fails when it can’t find the cd.
To get things to boot/install, you need to mount the ISO and load the kernel and initrd files outside of the scope of the ISO itself.
Linux is pretty sweet in that you can mount ISO files directly without having to burn the files to a disk.
Something such as:
mount -o loop /path/to/iso/isofile.iso /location/to/mount/iso/to
Then you would create the menu entry to load its relevant kernel, usually vmlinuz, and initrd, usually initrd.gz
-
For an example of how to load see this link: