E
E
ErshoFF2014-04-27 10:15:18
linux
ErshoFF, 2014-04-27 10:15:18

How to make an image of an SD card (linux distribution on the card)?

There is an SD card from which the device boots, you need to make an image of this card for distribution.
dd is not suitable because it makes an image of the entire card, the image is equal to the size of the entire SD card.
fsarchiver - makes a correct (small) image, but can only be restored through fsarchiver.
Partimage, partclone - the same.
I would like to get an image that could be flashed under Linux and Windows.
Whining didn't help...

Answer the question

In order to leave comments, you need to log in

8 answer(s)
P
proDOOMman, 2014-04-27
@proDOOMman

Look at Partition-Saving.
Or another option is to fill the free space on the flash drive with zeros, create an image via dd and compress it.

O
oia, 2014-04-27
@oia

clonezilla live

E
ErshoFF, 2014-04-27
@ErshoFF

As a result, you need a file that can be simply and easily flashed on linux and windows, it looks like it should be a file with an img extension.
The device runs on an arm processor and there is no way to run the application under x86.
Partition-Saving and clonezilla live are not suitable.
So far no solution has been found.

M
Melkij, 2014-04-27
@melkij

> The device works on an arm processor
I will suggest to see how others coped with this task.
Given the large enough raspberry pi community, I think they would have found something more suitable, but they use dd.
www.raspberrypi.org/documentation/installation/ins...
A compressed image of the minimum required size of an sd card is distributed, asks for permission at the first boot and expands to the entire capacity of the card.

E
ErshoFF, 2014-04-27
@ErshoFF

Thanks for the link, I saw there is no way to create.
It is necessary to create an image of the existing flash drive, so that later in a similar way you can restore the flash drive.

E
ErshoFF, 2014-04-28
@ErshoFF

The last option is very difficult to reproduce on Windows - therefore it is not suitable.

S
Snow Dimon, 2014-04-28
@Snowdimon

Create mbr and throw files from the flash drive.

N
Nikolay Shamanovich, 2014-05-06
@Shm13

I don't remember exactly the script, but I did something like this:
dd if=/dev/sd** | xz -c %filename.iso.xz
Makes the image like normal dd and presses all null blocks. To deploy the image on Windows, you need the same archiver (xz)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question