Skip to content

Project 1 with Raspberry Pi

In this page you'll find Raspberry Pi commands and other useful information.

Creating an Image from SD-card and vice-versa

CommandWhat does it do?
sudo fdisk -lCheck SD-card name
sudo umount /dev/mmcblk0p0Unmount the SD-card partitions
sudo dd if=/dev/mmcblk0 of=~/raspbian_backup.imgCreate an Image from an SD-card
sudo dd if=~/raspbian_backup.img of=/dev/mmcblk0Copy the image to an SD-card
sudo pishrink.sh raspbian_backup.imgShrink the Pi Image. *First install

Created using VitePress