Clone SD card -

Rick Stevens ricks at alldigital.com
Mon Jun 8 17:38:56 UTC 2015


On 06/08/2015 10:33 AM, Bob Goodwin - Zuni, Virginia, USA wrote:
>
>
> On 08/06/15 13:06, Rick Stevens wrote:
>> BTW, this should be virtually identical to the way you created the
>> bootable SD card in the beginning, not so? :-)
> .
>
> That's pretty much what I did but it only copied the contents of the
> first partition? IT started  the boot screen and protested about the
> missing o/s.
> Ok, going back though history it looks like I used /dev/sdf1, dunno why
> I did that?

Force of habit, probably. I'd say 90% of the time you do work with
partitions and not whole drives so it'd be easy to type that in.
I mean, look at my restore command (I said "/dev/sdaX" as the target. 
D'oh!)

# I'll give it another try with: #  dd if=/dev/sdf
> of=/home/bobg/sdimage.img bs=1M .
>
> This is what fdisk sees:
>
> Disk /dev/sdf: 14.9 GiB, 15931539456 bytes, 31116288 sectors
> Units: sectors of 1 * 512 = 512 bytes
> Sector size (logical/physical): 512 bytes / 512 bytes
> I/O size (minimum/optimal): 512 bytes / 512 bytes
> Disklabel type: dos
> Disk identifier: 0x00000000
>
> Device     Boot  Start      End  Sectors  Size Id Type
> /dev/sdf1         2048   262143   260096  127M  e W95 FAT16 (LBA)
> /dev/sdf2       262144 31116287 30854144 14.7G 83 Linux

Yeah, that looks like a pretty standard RPI disk (~128M boot, the rest
of it the root filesystem).

----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, AllDigital    ricks at alldigital.com -
- AIM/Skype: therps2        ICQ: 226437340           Yahoo: origrps2 -
-                                                                    -
-    If Windows isn't a virus, then it sure as hell is a carrier!    -
----------------------------------------------------------------------


More information about the users mailing list