Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment