User Tools

Site Tools


converting_a_partition_image_to_a_disk_image

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
converting_a_partition_image_to_a_disk_image [2009/12/10 22:49]
Michael Fenn Added language to code tags
converting_a_partition_image_to_a_disk_image [2010/03/16 15:08]
Michael Fenn
Line 18: Line 18:
 Now mount the both the new and old filesystems and copy the files. Now mount the both the new and old filesystems and copy the files.
 <code bash> <code bash>
-mount -o loop starworker_partimg ​/​mnt/​looppart/​+mount -o loop starworker_part.img ​/​mnt/​looppart/​
 mount -o loop,​offset=$(( $START * $UNITS )) starworker.img /​mnt/​loopdisk/​ mount -o loop,​offset=$(( $START * $UNITS )) starworker.img /​mnt/​loopdisk/​
 cp -a /​mnt/​looppart/​* /​mnt/​loopdisk cp -a /​mnt/​looppart/​* /​mnt/​loopdisk
converting_a_partition_image_to_a_disk_image.txt ยท Last modified: 2011/09/10 17:37 (external edit)