Download here: http://gg.gg/vhhgv
Aug 26, 2019 1. Select a new device (SD/USB/external hard drive/hard drive) as target disk, click ’Next’. Click ’OK’ to continue. The Subscriber Identity Module aka SIM Card is the transmitter of the signal to the mobile and tower. Our SIM cards contain two secret codes or keys called IMSI (International Mobile Subscriber Identity) and Ki (Authentication Key ), which enables the operator to know the mobile number and authenticate the customer, these codes are related to our mobile numbers which the operators store in.Introduction
We had a dying RaspPi Micro SD card on our hands and only option was to copy or clone Micro SD Card. Although this cloning approach can be used for any type of drive (HDD, SDD, SD Cards), here we’re going to try and use it to clone Micro SD Card.Clone Micro SD Card with DD
Insert the SD card and check the name of the device (usually sdX):
or
You’ll see something like (64 GB SDCard in this case):
or (in case lsblk):
Here, SD Card is /dev/sdc, sdc1 & sdc2 are the partitions. Just in case it got mounted automatically, unmount the device:
To create an image of the device: Stanko drill manual.
This can take a while. In our case, for 64 GB card (Metoo HC), it took around an hour (USB3):Clone Sd Card Serial Number
Once copying is finished, insert an empty SD Card. Do the previous steps (validate the name, device file) and be certain it’s unmounted. We used the same sized card:
Write the previously generated copy (image) to the device:
This is even worse, much slower ( ~4 hours):
As you can see, it’s not a same amount of bytes, and it’s due to “lack of space”:
If we look at the lsblk:
We can see that the size of the new card is 59.5 G, 200 MB less compared to old one (59.7 G). Damn, this didn’t work out.Note: If you try an put that card into RaspPi, you’ll understandably end up with:
In general, that might be strange since we used a better SD Card of the “same” size for the destination (SanDisk Extreme, class 10), but the fact is that each SD Card (even of the same brand sometime) can have a different number of blocks and a slightly different capacity (enough to mess things up).Cloning a larger Micro SD Card to a smaller one (PiShrink)
Trying to shrink the image with PiShrink did work. PiShrink reduced the size from 59 G to 14 G in only 6 minutes. Writing now took 70 minutes.
Writing:
One thing you’ll notice is the partition size. Check df -h :
PiShrink made those adjustments and now we need to expand it. Type:
and follow the instructions below:Raspi-config – Root partition resized Format with DDHow To Clone Sd Card Serial Number Lookup
Just in case you need it:Direct Micro SD Card cloning
Same thing as before, but in this case data from the source card is directly written to destination card:
notrunc – do not truncate the output file
noerror – continue after read errors ConclusionHow To Clone Sd Card Serial Number Iccid
This is somewhat a mixed post, covering SD Card or drive scaling, RaspPi adjustments, few tools & commands. It’s not what we had in mind, basics, but it might be useful as a reminder. If you forget it, you’ll know where to find it.
Download here: http://gg.gg/vhhgv

https://diarynote-jp.indered.space

コメント

最新の日記 一覧

<<  2025年7月  >>
293012345
6789101112
13141516171819
20212223242526
272829303112

お気に入り日記の更新

テーマ別日記一覧

まだテーマがありません

この日記について

日記内を検索