D
D
doroninvq2019-04-27 07:27:06
MBR
doroninvq, 2019-04-27 07:27:06

How to burn a memory card image with two partitions?

Hello!
Faced such a problem.
There is a Raspberry OS on the memory card, you need to make an image using dd.
The fdisk -l command shows that there are two partitions on the memory card:
Device Boot Start End Sectors Size Id Type
/dev/mmcblk0p1 204800 729087 524288 256M c W95 FAT32 (LBA)
/dev/mmcblk0p2 729088 14940159 14211072 6.8G 83
Linux write mbr
sudo dd if=/dev/mmcblk0p1 if=/dev/mmcblk0p2 of=/media/root/mbr_1.img count=1 bs=512
and the command to burn the disk image:
sudo dd if=/dev/mmcblk0p1 if= /dev/mmcblk0p2 of=/media/root/Rasp_1.img bs=1M
but unfortunately nothing works.
Help me please!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Melkij, 2019-04-27
@melkij

If you need an image of the entire flash drive, then why do you need to copy sections separately? Copy the entire flash drive.
And if you need sections separately, then copy them each separately.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question