Solved - Re: Backing up an mSD image via dd

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 08/27/2017 06:18 PM, Robert Moskowitz wrote:
I want to take a 'check point' in my work. It takes ~3 hours after putting an image on the mSD card to update it...

So I was thinking of using:

dd if=/dev/sdb of=/home/rgm/arm/F26-server-minimal.img bs=4096 conv=notrunc,noerror; sync

Added;  count=867840

that is a few more sectors than 'needed' because I use a bs=4096.



But the card is 8Gb and only part is used:

Disk /dev/sdb: 7.4 GiB, 7969177600 bytes, 15564800 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: 0x337b9d3d

Device     Boot   Start     End Sectors  Size Id Type
/dev/sdb1          2048   61439   59392   29M  c W95 FAT32 (LBA)
/dev/sdb2  *      61440 1060863  999424  488M 83 Linux
/dev/sdb3       1060864 2060287  999424  488M 82 Linux swap / Solaris
/dev/sdb4       2060288 6942719 4882432  2.3G 82 Linux swap / Solaris



How can I instruct dd to only copy to that past sector so I can later put it back to another card?

thanks

_______________________________________________
arm mailing list -- arm@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to arm-leave@xxxxxxxxxxxxxxxxxxxxxxx
_______________________________________________
arm mailing list -- arm@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to arm-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux ARM (Vger)]     [Linux ARM]     [ARM Kernel]     [Fedora User Discussion]     [Older Fedora Users Discussion]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Maintainers]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [Linux Apps]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]

Powered by Linux