Skip to content

Instantly share code, notes, and snippets.

View Tfindelkind's full-sized avatar

Thomas Findelkind Tfindelkind

  • Microsoft
  • Germany
View GitHub Profile
@Tfindelkind
Tfindelkind / Clonezilla-EFI-boot-grub.cfg
Last active June 21, 2018 12:38
A Grub menu entry which automaticly backups the full disk /dev/sda2 to an imagine on an external USB drive (NTFS /dev/sdb1)
menuentry "Clonezilla - Backup /dev/sda (LinTop OS disk) as an image to /dev/sdb1 (backup USB drive)"{
search --set -f /live/vmlinuz
linux /live/vmlinuz boot=live union=overlay username=user config components quiet noswap edd=on nomodeset nodmraid noeject locales= keyboard-layouts=NONE ocs_prerun="mount /dev/sdb1 /home/partimag/" ocs_live_run="ocs-sr -q2 -j2 -z1p -sc -p poweroff savedisk autoname sda" ocs_live_extra_param="" ocs_live_batch=no vga=785 ip= nosplash i915.blacklist=yes radeonhd.blacklist=yes nouveau.blacklist=yes vmwgfx.enable_fbdev=1
initrd /live/initrd.img
}