Skip to content

Instantly share code, notes, and snippets.


Matthew Sebolt msebolt

Block or report user

Report or block msebolt

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
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.