Hello everybody!
I write on this topic because i'm searching for few weeks a solution with dd command to make a disk image backup, but I don't find a conclusive solution, so...
Firstly I send dd command.
Disque /dev/mmcblk0 : 29,7 GiB, 31914983424 octets, 62333952 secteurs
Unités : secteur de 1 × 512 = 512 octets
Taille de secteur (logique / physique) : 512 octets / 512 octets
taille d'E/S (minimale / optimale) : 512 octets / 512 octets
Type d'étiquette de disque : dos
Identifiant de disque : 0x53d4dbd7
Périphérique Amorçage Début Fin Secteurs Taille Id Type
/dev/mmcblk0p1 32768 10504191 10471424 5G 83 Linux
Disque /dev/sdc : 1,8 TiB, 2000398931968 octets, 3907029164 secteurs
Unités : secteur de 1 × 512 = 512 octets
Taille de secteur (logique / physique) : 512 octets / 512 octets
taille d'E/S (minimale / optimale) : 512 octets / 512 octets
Type d'étiquette de disque : dos
Identifiant de disque : 0xa1be3216
Périphérique Amorçage Début Fin Secteurs Taille Id Type
/dev/sdc1 2048 2149556223 2149554176 1T 83 Linux
/dev/sdc2 2858452992 3907029163 1048576172 500G 7 HPFS/NTFS/exFAT
/dev/sdc3 2149556224 2858452991 708896768 338G 83 Linux
Les entrées de la table de partitions ne sont pas dans l'ordre du disque.
root@ubuntu:~# dd if=/dev/mmcblk0 of=/media/ubuntu/59C7B06D5FB30054/backup_rock.img bs=4096 conv=notrunc,noerror
7791744+0 enregistrements lus
7791744+0 enregistrements écrits
31914983424 bytes (32 GB, 30 GiB) copied, 428,454 s, 74,5 MB/s
All seems to be good! The imaged is saved on my mounting point in /dev/sda2
But after that my SD can't boot like before...
I have the following message: Press Control-D to continue
I type my password, make a fdisk -l command (see photo)
I have new partition disks mmcblk0bootX
Moreover I succeed to make disk image just after installing armbian, then I install samba (with all dependencies) and everything go wrong after dd command...
However I make my image on other computer (ubuntu) with media unmounted... Which impact this software could cause on this system? I don't understand.
I try another tool Rsync. Impossible to copy all data SD card to another SD card same size.
When it try to copy some kernel element I had a NOK in red (this tool work perfectly on my old RPI2)
I spend a lot of time on my new rock64 and I would be save it for good (if it's possible) ^^
Thanks