Restoring a dd backup #948
ThierryS75
started this conversation in
Questions
Replies: 2 comments
-
|
Your command is OK.
Your target SD card is smaller than the source SD card 😉 See here for details. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
That did it. Thank you so much for pointing me in the right direction! Thierry |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi All,
Sorry if this a newbie question! I'm trying to restore a dd raspiBackup to an SD card using dd only, not raspiBackup.sh. The dd seems to (mostly) work fine, but the Raspberry Pi won't boot. The documentation for manual restore shows only an rsync restore. Is my dd command below correct? Are there additional steps needed to make the restored SD card bootable?
Many thanks for any help with this,
All the best!
pi@raspi3:/mnt/pibackups/raspi1/raspi1-dd-backup-20250701-030001 $ sudo dd if=raspi1-dd-backup-20250701-030001.img bs=1M of=/dev/mmcblk0 status=progress
15642656768 bytes (16 GB, 15 GiB) copied, 386 s, 40.5 MB/s
dd: error writing '/dev/mmcblk0': No space left on device
14951+0 records in
14950+0 records out
15676211200 bytes (16 GB, 15 GiB) copied, 409.714 s, 38.3 MB/s
pi@raspi3:/mnt/pibackups/raspi1/raspi1-dd-backup-20250701-030001 $ sudo fdisk -l | grep mmc
Disk /dev/mmcblk0: 14.6 GiB, 15676211200 bytes, 30617600 sectors
/dev/mmcblk0p1 8192 2804687 2796496 1.3G e W95 FAT16 (LBA)
/dev/mmcblk0p2 2804688 31116287 28311600 13.5G 5 Extended
/dev/mmcblk0p5 2809856 2875389 65534 32M 83 Linux
/dev/mmcblk0p6 2875392 3022845 147454 72M c W95 FAT32 (LBA)
/dev/mmcblk0p7 3022848 31116287 28093440 13.4G 83 Linux
pi@raspi3:/mnt/pibackups/raspi1/raspi1-dd-backup-20250701-030001 $
Beta Was this translation helpful? Give feedback.
All reactions