Skip to content

Instantly share code, notes, and snippets.

program writing...

Matthew Sebolt msebolt

program writing...
View GitHub Profile
msebolt / backup.txt
Created Mar 2, 2018
(Pi) Server Image Backup Process
View backup.txt
dd if=/dev/zero of=test.img bs=4096 count=10240 (can make larger)
fdisk test.img
use 'o'
then 'n', 'p', '1', '8192', '122879'
then 't', '1', 'c'
look up 'End' sector number of first partition, add 1
then 'n', 'p', '2', 'number calculated above', default full space end
then 'w'
You can’t perform that action at this time.