adding iso to boot menu to boot from this iso

  • Hello,

    i have fog 1.20. on ubuntu 14.04 LTS.
    now i want boot a iso (trinity boot cd).
    how can i add an additional entry into the boot menu.

    i have no experience to modify the bootmenu

  • Trinity rescue CD 3.4 : NOT WORKING : kernel panic

    kernel http://IP-FOG/fog/service/ipxe/trinity3.4/kernel.trk || read void
    initrd http://IP-FOG/fog/service/ipxe/trinity3.4/initrd.trk || read void
    imgargs initrd.trk ramdisk_size=65536 root=/dev/nfs vga=788 trknfs=IP-FOG:/home/tftpboot/trinity3.4/ ip=dhcp  splash=verbose pci=conf1 trkmenu timeout 100 || read void
    boot || read void

    UDF-fs : No partition found(1)
    No filesystem could mount root , tried ext3 ext2 ext4 cramfs squashfs vfat …
    kernel panic - not syncing : VFS: Unable to mount root fs on unknown-block(8,1)

  • @Quazz
    It’s good to have severals way to do

  • Hiren’s boot cd 15.2 : OK

    initrd http://IP-FOG/fog/service/ipxe/ISO/Hirens.BootCD.15.2.iso
    chain memdisk iso raw ||
    goto MENU

    But, I don’t success to boot with :
    mango 1.3 , trinity rescue cd 3.4 , GRML64 2014.11

    If you have it of the same kind , don’t hesitate

  • Systeme rescue CD 4.7.2 : OK

    (Put and rename rescue32 and initram.igz files in ipxe folder )

    kernel srcd-rescue32 scandelay=1 docache netboot=http://IP-FOG/fog/service/ipxe/srcd/sysrcd.dat
    initrd srcd-initram.igz
    boot || goto MENU

    Parted magic 2012 : OK

    kernel pmagic/bzImage
    initrd pmagic/initrd.img
    boot || goto MENU

    Ultimate Boot CD 5.35 : OK

    initrd http://IP-FOG/fog/service/ipxe/ISO/ubcd535.iso
    chain memdisk iso raw ||
    goto MENU

  • Ubuntu 16.04 : OK for me !

    set path /var/www/html/fog/ubuntu16.04
    set nfs_path /var/www/html/fog/ubuntu16.04
    kernel http://IP-FOG/fog/service/ipxe/ubuntu16.04/casper/vmlinuz || read void
    initrd http://IP-FOG/fog/service/ipxe/ubuntu16.04/casper/initrd.lz || read void
    imgargs vmlinuz root=/dev/nfs boot=casper netboot=nfs nfsroot=IP-FOG:/var/www/html/fog/service/ipxe/ubuntu16.04 ip=dhcp splash quiet || read void
    boot || read void

  • Moderator


    This is what I have for my ubuntu entry

    set ubuntu-url
    set nfs-url
    kernel ${ubuntu-url}/casper/vmlinuz.efi
    initrd ${ubuntu-url}/casper/initrd.lz
    imgargs vmlinuz.efi boot=casper vga=normal root=/dev/nfs netboot=nfs nfsroot=${nfs-url} fetch=${ubuntu-url}/casper/filesystem.squashfs external-persistent locale=nl_BE.UTF-8 keyboard-configuration/layoutcode=be mirror/country=BE
    boot || echo failed to boot
    goto MENU

    Also useful is

    chain --autofree

    Allowing you to boot livecds hosted online.

  • Hi,

    I try as well to add linux live or other iso on my fog server…
    It’s difficult…
    Maybe we could shared here our searches to see what works or not !?

  • Moderator

    Trinity kit is very difficult to add to ipxe boot, I had to give up after trying several times because it would never work properly.

  • @MaMu

    Do you have still problems ?
    Do you want my menu ?

  • Moderator

    If you would upgrade to the trunk build of FOG (i.e. pre-1.3.0) It is much easier to edit the pxe boot menu.

    I did write a tutorial for the trunk build to boot MDT from an iso image. Its the same concept as what you want to boot. You will need to have some basic linux skills to make it work since you will have to interact with linux to create a few directories, copy the iso image and change file permissions.

  • sorry. this doesn´t work for me.
    does anyone has a step by step guide howto ad a iso or other programm to fog 1.2.0
    i´m a beginner with fog and i don´t understand how the boot process works.

  • Moderator