Last active
June 21, 2018 12:38
-
-
Save Tfindelkind/59ee4b9698f57d1c7ae7 to your computer and use it in GitHub Desktop.
A Grub menu entry which automaticly backups the full disk /dev/sda2 to an imagine on an external USB drive (NTFS /dev/sdb1)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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