diff --git a/README.md b/README.md index 4d02814..c6e32dc 100644 --- a/README.md +++ b/README.md @@ -16,20 +16,48 @@ Here we take UC-8100 as illustration: #### 1. Install and modify all the applications and configurations you want on the UC-8100 -#### 2. Dump the image by `dd` command and save it to another Linux PC with enough storage -``` -# dd if= | ssh @ dd of= -``` - -The device can be checked by `lsblk` command: +#### 2. Dump the image by `dd` command. There are two methods to copy the whole system + +- 2.a - Dump via ethernet and save it to another Linux PC with enough storage + ``` + # dd if= | ssh @ dd of= + ``` + + The device can be checked by `lsblk` command: + + ![lsblk](/lsblk.PNG) + + In this example, root is mounted at "/dev/mmcblk0p2", so the device is "/dev/mmcblk0": + + ``` + # dd if=/dev/mmcblk0 | ssh user@192.168.3.100 dd of=/tmp/uc8100_dump.img + ``` + +- 2.b Dump the image to the local storage such as USB disk + ``` + # dd if= of= + ``` + + ![lsblk-usb](/lsblk_usb.PNG) + + In this example, root is mounted at "/dev/mmcblk2p2", so the device is "/dev/mmcblk2": + + ``` + # dd if=/dev/mmcblk2 of=/media/usb/uc8100_dump.img + ``` + + Most USB disk file system is FAT32, split image is recommend + + ``` + dd if=/dev/mmcblk2 bs=1M | split --verbose -b 1G - /media/usb/uc8100_dump.img. + ``` + + Merge on laptop + + ``` + cat /media/usb/uc8100_dump.img.* | dd of=/tmp/uc8100_dump.img + ``` -![lsblk](/lsblk.PNG) - -In this example, root is mounted at "/dev/mmcblk0p2", so the device is "/dev/mmcblk0": - -``` -# dd if=/dev/mmcblk0 | ssh user@192.168.3.100 dd of=/tmp/uc8100_dump.img -``` #### 3. Clone or download this repository on your Linux PC ``` @@ -58,6 +86,13 @@ The output image file will be named as "resize.img" * UC-8100-ME series: including UC-8112-ME-T-LX, UC-8112-ME-T-LX1, UC-8112-ME-T-LX-US-LTE, UC-8112-ME-T-US-LTE-LX1 + * UC-8100A-ME series: + + including UC-8112A-ME-T-LX, UC-8112-ME-LX + * UC-8410A series: + + including UC-8410A-LX, UC-8410A-NW-LX, UC-8410A-T-LX, UC-8410A-NW-T-LX + * Type B * UC-2100 series: @@ -68,3 +103,9 @@ The output image file will be named as "resize.img" * UC-5100 series: including UC-5101-LX, UC-5101-T-LX, UC-5102-LX, UC-5102-T-LX, UC-5111-LX, UC-5111-T-LX, UC-5112-LX, UC-5112-T-LX + * UC-8100A-ME series: + + including UC-8112A-ME-T-LX, UC-8112A-ME-T-US, UC-8112A-ME-T-EU, UC-8112A-ME-T-AP + * UC-8200 series: + + including UC-8210-T-LX, UC-8210-T-LX-S, UC-8220-T-LX, UC-8220-T-LX-US-S ,UC-8220-T-LX-EU-S ,UC-8220-T-LX-AP-S diff --git a/lsblk_usb.PNG b/lsblk_usb.PNG new file mode 100755 index 0000000..ece08d2 Binary files /dev/null and b/lsblk_usb.PNG differ