Skip to content

Instantly share code, notes, and snippets.

@n0b0dy
Created March 22, 2013 11:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save n0b0dy/5220723 to your computer and use it in GitHub Desktop.
Save n0b0dy/5220723 to your computer and use it in GitHub Desktop.
snippet
partclone.ntfs -c -s /dev/sda7 | lzop -3 -c > /media/archive/fs_backup/part.img.lzo
lzop -d win7.pci.lzo -c | partclone.ntfs -r -o /dev/sda7
#ubuntu efi
sudo efibootmgr --create --gpt --disk /dev/sda --part 1 --write-signature --label "Ubuntu 12.04" --loader '\EFI\Ubuntu\grubx64.efi'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment