forked from Fredd-30/RonR-RaspberryPi-image-utils
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.txt
50 lines (23 loc) · 2.23 KB
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
image-backup:
image-backup creates a backup of a running Raspbian system to a standard 'raw' image file that can be written to an SD card or a USB device with Etcher, imageUSB, etc. It will also perform incremental updates to an existing backup image file.
Running image-backup with no parameters will create a full backup. image-backup will prompt for an "Initial image file ROOT filesystem size (MB)", which can be any size as long as (1) it's large enough to hold the data contained on the device being backed up and (2) that amount of space is available on the destination device. image-backup will also prompt for an "Added space for incremental updates after shrinking (MB)" which will be added to the image file size after the full backup completes and the image file has been shrunk to the smallest size possible. The resulting image file will auto-expand the first time it's run.
Running image-backup with a parameter of an existing image filename will incrementally update that image file.
Image-check:
image-check will check the integrity of a standard 'raw' image file. Usage is:
image-check imagefile [W95|Linux]
where W95 checks the BOOT partition and Linux checks the ROOT partition. If neither is specified, Linux is assumed.
image-compare:
image-compare compares a running Raspbian system to an existing standard 'raw' image file and displays the incremental changes that image-backup would perform if run. Usage is:
image-compare [imagefile]
image-mount:
image-mount mounts a standard 'raw' image file to allow it to be read or written as if it were a device. Usage is:
image-mount imagefile mountpoint [W95|Linux]
where W95 mounts the BOOT partition and Linux mounts the ROOT partition. If neither is specified, Linux is assumed.
image-set-ptuuid:
image-set-ptuuid sets the Partition Table UUID value of a standard 'raw' image file. Usage is:
image-set-ptuuid imagefile ptuuid
where ptuuid is 8 hex digits
image-shrink:
image-shrink shrinks a standard 'raw' image file to its smallest possible size (plus an optional additional amount of free space). Usage is:
image-shrink imagefile [Additional MB]
where Additional MB is an optional additional amount of free space to be added.