Menu

UEFI x64 PXE + GRUB2 + Clonezilla

2015-09-15
2016-12-17
  • Matthew T. Rivard

    Pretty straight forward, I need an example for launching clonezilla from a grub2 menu that is UEFI x64 PXE booted.

    We have it working dandy on legacy, which works with syslinux, but need grub2 for our uefi environment.

    Current menu entry simply hangs.

    menuentry 'CloneZilla' {
    linuxefi <path-to-clonezilla>/vmlinuz ip=dhcp boot=live config noswap nolocales edd=on nomodeset ocs_live_run="ocs-live-general" ocs_live_extra_param="" ocs_live_keymap="" ocs_live_batch="no" ocs_lang="" vga=788 nosplash noprompt fetch=ftp://<path-to-ftp-server-location-of-filesystem.squashfs>/filesystem.squashfs

    initrdefi <path-to-clonezilla>/initrd.img
    }
    The sections in < > are simply obfuscations of our physical server file layout.

     
  • Steven Shiau

    Steven Shiau - 2015-09-27

    Did you check here:
    http://clonezilla.org/livehd.php
    ?

    Steven.

     
  • ndog37

    ndog37 - 2016-12-17

    From grub2 - grubx64.efi + UEFI + pxeboot (Fedora-18-x86_64-Live-Desktop.iso)
    grub.cfg

    ..
    menuentry 'clonezillapxe' --class gnu-linux --class gnu --class os {
    linuxefi /clonezilla-live/vmlinuz fetch=http://192.168.137.1/clonezilla-live/filesystem.squashfs boot=live union=overlay keyboard-layouts=NONE locales=en_US.UTF-8
    initrdefi /clonezilla-live/initrd.img
    }
    

    From ipxe - ipxe.efi + UEFI + pxeboot (https://git.ipxe.org/ipxe.git)
    menu.ipxe

    1
    2
    3
    4
    5
    6
    set boot-url http://192.168.137.1
    imgselect ${boot-url}/clonezilla/vmlinuz
    imgfetch ${boot-url}/clonezilla/initrd.img
    imgargs vmlinuz initrd=initrd.img vga=791 boot=live union=overlay components net.ifnames=0 noprompt edd=on nomodeset nosplash username=user config locales=en_US.UTF-8 keyboard-layouts=NONE i915.blacklist=yes radeonhd.blacklist=yes nouveau.blacklist=yes vmwgfx.blacklist=yes live-netdev="eth0" fetch=${boot-url}/clonezilla/filesystem.squashfs  ocs_prerun="" ocs_live_run="" ocs_live_batch="no"
    imgstat
    boot
    

    Be careful, some default boot options will give you a kernel panic
    Hope it helps

     

    Last edit: ndog37 2016-12-18

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.