# set pref=/boot/grub set default="1" # Load graphics (only corresponding ones will be found) # (U)EFI insmod efi_gop insmod efi_uga # legacy BIOS # insmod vbe if loadfont $pref/unicode.pf2; then set gfxmode=auto insmod gfxterm terminal_output gfxterm fi set timeout="5" set hidden_timeout_quiet=false insmod png if background_image $pref/ocswp-grub2.png; then set color_normal=black/black set color_highlight=magenta/black else set color_normal=cyan/blue set color_highlight=white/blue fi insmod play play 960 440 1 0 4 440 1 # Since no network setting in the squashfs image, therefore if ip=, the network is disabled. menuentry "Clonezilla live (Default settings, VGA 800x600)"{ search --set -f /live/vmlinuz linux /live/vmlinuz boot=live union=overlay username=user config components quiet noswap edd=on nomodeset enforcing=0 locales= keyboard-layouts= ocs_live_run="ocs-live-general" ocs_live_extra_param="" ocs_live_batch="no" vga=788 ip= net.ifnames=0 splash i915.blacklist=yes radeonhd.blacklist=yes nouveau.blacklist=yes vmwgfx.enable_fbdev=1 initrd /live/initrd.img } menuentry --hotkey=l "Clonezilla live (Default settings, KMS with large font)"{ search --set -f /live/vmlinuz linux /live/vmlinuz boot=live union=overlay username=user config components quiet noswap edd=on enforcing=0 locales= keyboard-layouts= ocs_live_run="ocs-live-general" ocs_live_extra_param="" ocs_live_batch="no" vga=791 toram=live,syslinux,EFI,boot,.disk,utils ip= net.ifnames=0 splash live_console_font_size=16x32 initrd /live/initrd.img } menuentry --hotkey=s "Clonezilla live (Speech synthesis)"{ search --set -f /live/vmlinuz linux /live/vmlinuz boot=live union=overlay username=user config components quiet noswap edd=on nomodeset enforcing=0 locales= keyboard-layouts= ocs_live_run="ocs-live-general" ocs_live_extra_param="" ocs_live_batch="no" vga=788 ip= net.ifnames=0 splash i915.blacklist=yes radeonhd.blacklist=yes nouveau.blacklist=yes vmwgfx.enable_fbdev=1 speakup.synth=soft --- initrd /live/initrd.img } submenu 'Other modes of Clonezilla live' { menuentry "Clonezilla live (Default settings, VGA 1024x768)"{ search --set -f /live/vmlinuz linux /live/vmlinuz boot=live union=overlay username=user config components quiet noswap edd=on nomodeset enforcing=0 locales= keyboard-layouts= ocs_live_run="ocs-live-general" ocs_live_extra_param="" ocs_live_batch="no" vga=791 ip= net.ifnames=0 splash i915.blacklist=yes radeonhd.blacklist=yes nouveau.blacklist=yes vmwgfx.enable_fbdev=1 initrd /live/initrd.img } menuentry "Clonezilla live (Default settings, VGA 640x480)"{ search --set -f /live/vmlinuz linux /live/vmlinuz boot=live union=overlay username=user config components quiet noswap edd=on nomodeset enforcing=0 locales= keyboard-layouts= ocs_live_run="ocs-live-general" ocs_live_extra_param="" ocs_live_batch="no" vga=785 ip= net.ifnames=0 splash i915.blacklist=yes radeonhd.blacklist=yes nouveau.blacklist=yes vmwgfx.enable_fbdev=1 initrd /live/initrd.img } menuentry --hotkey=K "Clonezilla live (Default settings, KMS)"{ search --set -f /live/vmlinuz linux /live/vmlinuz boot=live union=overlay username=user config components quiet noswap edd=on enforcing=0 locales= keyboard-layouts= ocs_live_run="ocs-live-general" ocs_live_extra_param="" ocs_live_batch="no" vga=791 ip= net.ifnames=0 splash initrd /live/initrd.img } menuentry --hotkey=R "Clonezilla live (To RAM, boot media can be removed later)"{ search --set -f /live/vmlinuz linux /live/vmlinuz boot=live union=overlay username=user config components quiet noswap edd=on nomodeset enforcing=0 locales= keyboard-layouts= ocs_live_run="ocs-live-general" ocs_live_extra_param="" ocs_live_batch="no" vga=788 toram=live,syslinux,EFI,boot,.disk,utils ip= net.ifnames=0 splash i915.blacklist=yes radeonhd.blacklist=yes nouveau.blacklist=yes vmwgfx.enable_fbdev=1 initrd /live/initrd.img } menuentry "Clonezilla live Safe graphic settings (vga=normal)"{ search --set -f /live/vmlinuz linux /live/vmlinuz boot=live union=overlay username=user config components quiet noswap edd=on nomodeset enforcing=0 locales= keyboard-layouts= ocs_live_run="ocs-live-general" ocs_live_extra_param="" ocs_live_batch="no" ip= net.ifnames=0 nomodeset vga=normal nosplash initrd /live/initrd.img } menuentry "Clonezilla live (Failsafe mode)"{ search --set -f /live/vmlinuz linux /live/vmlinuz boot=live union=overlay username=user config components quiet noswap edd=on nomodeset enforcing=0 locales= keyboard-layouts= ocs_live_run="ocs-live-general" ocs_live_extra_param="" ocs_live_batch="no" acpi=off irqpoll noapic noapm nodma nomce nolapic nosmp ip= net.ifnames=0 nomodeset vga=normal nosplash initrd /live/initrd.img } } menuentry "Local operating system (if available)" --id local-disk { echo "Booting first local disk..." # Generate boot menu automatically configfile /boot/grub/boot-local-efi.cfg # If not chainloaded, definitely no uEFI boot loader was found. echo "No uEFI boot loader was found!" sleep 15 } #menuentry "memtest"{ # search --set -f /live/memtest # linux16 /live/memtest #} #menuentry "FreeDOS"{ # linux16 memdisk # initrd /live/freedos.img #} menuentry "Network boot via iPXE" { search --no-floppy --set=root -f /live/ipxe.efi chainloader /live/ipxe.efi + 1 } menuentry 'uEFI firmware setup' 'uefi-firmware' { echo "Entering uEFI firmware setup..." fwsetup } menuentry "Clonezilla live 2.6.4-10-amd64 info"{ echo Clonezilla, the OpenSource Clone System. echo NCHC Free Software Labs, Taiwan. echo clonezilla.org, clonezilla.nchc.org.tw echo \* Boot menu for EFI machine echo \* Clonezilla live version: 2.6.4-10-amd64. (C) 2003-2019, NCHC, Taiwan echo \* Disclaimer: Clonezilla comes with ABSOLUTELY NO WARRANTY sleep --verbose --interruptible 10 }