10.05.2020, 19:39
Steps to create an image from Raspberry SdCard.
The drive is in this case /dev/sdb
1. Use GParted to shrink to 2nd partition to an usefull size.
2. Open terminal window.
3. After shrinking, test the 2nd partition again with cmd:
4. Get end of sector with this cmd:
5. Take number of 2nd partition end sector and add +1. in example: 7974911 + 1 = 7974912
6. create the image into compressed format with cmd:
7. wait a long time for new output from terminal
This Thread has a german manual incl. screenshots but without double check and without compress: https://www.bmwraspcontrol.de/board/show...hp?tid=303
The drive is in this case /dev/sdb
1. Use GParted to shrink to 2nd partition to an usefull size.
2. Open terminal window.
3. After shrinking, test the 2nd partition again with cmd:
Code:
sudo e2fsck -f -y -v -C 0 /dev/sdb2
4. Get end of sector with this cmd:
Code:
fdisk -l
5. Take number of 2nd partition end sector and add +1. in example: 7974911 + 1 = 7974912
6. create the image into compressed format with cmd:
Code:
sudo dd if=/dev/sdb conv=sync,noerror bs=10M count=7974912 | gzip -c > "/media/whatever/nameofthefile.img.gz"
7. wait a long time for new output from terminal
This Thread has a german manual incl. screenshots but without double check and without compress: https://www.bmwraspcontrol.de/board/show...hp?tid=303