Adding options to bootmenu.

  1. 2 years ago

    Could anyone help or explain to me how one adds an option to the pxeboot menu.
    For example adding memtest to the menu...
    Could one use the folllowing guide or does clonedeploy handle the code differently in the editor?

    http://www.thenoccave.com/2012/03/28/pxe-boot-memtest/

  2. clonedeploy

    1 Nov 2016 Administrator

    You would just create a new boot menu entry.
    Global->Boot Menu Templates->New Entry
    Your example is for a syslinux menu so select syslinux/pxelinux for the type
    In the contents just put

    root (hd0,0)
    kernel memtest

    CloneDeploy will take care of the label and menu label.
    Mark it active and save it.
    Create a new default boot menu
    Admin->Boot Menu->Default Boot Menu->Create Boot Files

  3. Is it possible to also add other types of bootable isos such as Kaspersky Rescue Disc; Trinity; or even Live-cds (ubuntu live cd) ? not only to the pxe but iso/pen ?

  4. clonedeploy

    7 Nov 2016 Administrator

    It is possible but there is no universal method. The pxe menu supports pxelinux/ipxe/grub, it is best to find documentation for the bootloader you are using and incorporate it into CloneDeploy. A google search for your bootloader and what you are trying to load will usually give you some pointers. For example some isos can be loaded via memdisk and others cannot. Some linux versions require extracting the kernel and initrd outside of the iso, etc. The same can be said for the usb/iso except that it only support syslinux/grub.

  5. Creating a new option to the bootmenu has not been a problem but linking the program to the new option however >.<

    But Thank you for the information, will go ahead and look arround now i know what im looking for.

  6. last year

    Old thread but thought I'd post my findings for the boot menu:

    I extracted the contents of the ubuntu isos into in tftpboot and pointed isolinux to the right file.
    LiveCD I'd rather put it into memory than loading over network but it works, had to set up NFS share for it.
    Please let me know if this should be done a better way!
    Boot menu entries copied below:

    LABEL Ubuntu 16.04.1 Desktop installer
    kernel ubuntu16041desktopinstall/ubuntu-installer/amd64/linux
    append initrd=ubuntu16041desktopinstall/ubuntu-installer/amd64/initrd.gz root=/dev/ram0 rw ramdisk_size=20000 web=http://192.168.1.103/clonedeploy/service/client.asmx/ USER_TOKEN= task=desktopinstall consoleblank=0
    MENU LABEL Ubuntu 16.04 desktop installer

    LABEL Ubuntu 16.04.1 LiveCD
    MENU DEFAULT
    kernel ubuntu16041desktoplive/casper/vmlinuz.efi
    append root=/dev/nfs boot=casper netboot=nfs nfsroot=192.168.1.101:/mnt/tank/jails/clonedeploy_1/usr/pbi/clonedeploy-amd64/tftpboot/ubuntu16041desktoplive initrd=ubuntu16041desktoplive/casper/initrd.lz --- web=http://192.168.1.103/clonedeploy/service/client.asmx/ USER_TOKEN= task=livecd consoleblank=0
    MENU LABEL Ubuntu 16.04 LiveCD

    LABEL Ubuntu 16.04.1 Server installer
    kernel ubuntu16041server/install/netboot/ubuntu-installer/amd64/linux
    append initrd=ubuntu16041server/install/netboot/ubuntu-installer/amd64/initrd.gz root=/dev/ram0 rw ramdisk_size=20000 web=http://192.168.1.103/clonedeploy/service/client.asmx/ USER_TOKEN= task=serverinstall consoleblank=0
    MENU LABEL Ubuntu 16.04 Server installer

    LABEL Memtest86-7.2
    kernel memtest8672/ISOLINUX/MEMTEST
    MENU LABEL Memtest86-7.2

  7. clonedeploy

    14 Feb 2017 Administrator

    Thanks, it looks fine to me. I believe there are many ways to accomplish this. Whatever works is what you should use.

 

or Sign Up to reply!