Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

[Linux] Bootable SD Cards

51

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
51

【Linux】 Bootable SD Cards

Posted at 8/5/2019 04:24:20      View:3057 | Replies:1        Print      Only Author   [Copy Link] 1#
I have the ROC-...UBUNTU... image working on 1 SD card.
I got some additional samsung cards at the time, and when I copy the image to them (dd if=theImage of=/dev/sdc ) they get the same data, if I read it back, I can diff that and the source file and it's the same....  but the samsung cards didn't boot.
I went to the store today and got another of the original type, (although it's a different lot but the same size) and they don't work, I also got different samsung and some patriot sd cards, and so far only 1 in 5 SD cards will boot.  
And, they all read exactly the same when reading /dev/sdc...
they all report as 32GB in size, but dd if=/dev/sdc of=testImage   only reads back exactly the size of the original image... how does it know?
On the one image that did boot,  added a bunch of stuff to the drive (presumably in the additional 26GB after the root image) how do I copy that to another stick if it only reads 2.4G?
Reply

Use props Report

1396

Credits

0

Prestige

0

Contribution

vip

Rank: 6Rank: 6

Credits
1396
Posted at 8/15/2019 16:51:54        Only Author  2#
If I understand you correctly, you flash a 2.4G image to a 32GB sdcard,
and read back 2.4G with the following command:

     dd if=/dev/sdc of=testImage

I'd like to confirm that first.

And would you give a photo of all your five SD cards?
Reply

Use props Report

You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list