[Arm-dev] Making an image
Robert Moskowitz
rgm at htt-consult.comThu Mar 2 22:39:32 UTC 2017
- Previous message: [Arm-dev] Making an image
- Next message: [Arm-dev] Solved Re: Making an image
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I looked at output from writing the image: sudo dd of=/dev/sdb bs=4M; sync 0+346813 records in 0+346813 records out 3221225472 bytes (3.2 GB, 3.0 GiB) copied, 147.907 s, 21.8 MB/s Would this be what I want: dd if=/dev/sdb of=cubietruck.img bs=4M count=346813 On 03/02/2017 04:33 PM, Robert Moskowitz wrote: > Can I have a little help making an image via dd, and then compressing it? > > I want to save 'checkpoints' of my build process, so that when I have > to go back, I do not have to go all the way back to the base image. > > I have built my basic image (I will be updating my howto, found a few > bugs), and fdisk reports: > > Disk /dev/sda: 120.0 GB, 120034124288 bytes, 234441649 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 > Disk label type: dos > Disk identifier: 0x0000c89d > > Device Boot Start End Blocks Id System > /dev/sda1 2048 1026047 512000 83 Linux > /dev/sda2 1026048 2074623 524288 82 Linux swap / > Solaris > /dev/sda3 2074624 6268927 2097152 83 Linux > > Obviously, I do not want to dd the whole 120GB, as I am still only > using 4GB, though I will probably have to enlarge sda3 a bit to hold > all the software I need. I did this a couple years back, but can't > find my notes. :( > > thanks > > _______________________________________________ > Arm-dev mailing list > Arm-dev at centos.org > https://lists.centos.org/mailman/listinfo/arm-dev >
- Previous message: [Arm-dev] Making an image
- Next message: [Arm-dev] Solved Re: Making an image
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Arm-dev mailing list