Quote:
Originally Posted by donB006
This is probably too late so maybe this will help others.
When upgrading the OS why not make a backup along the way:
Code:
dd if=/dev/mmcblk0p1 of=/mnt/us/rootfs-3.3-dx.img conv=sync
dd if=/dev/mmcblk0p1 of=/mnt/us/rootfs-3.4-dx.img conv=sync
dd if=/dev/mmcblk0p1 of=/mnt/us/rootfs-3.4.2-dx.img conv=sync
Somebody else also suggested turning these services off before beginning:
Code:
/etc/init.d/powerd stop
/etc/init.d/netwatchd stop
When finished these services should be started again or just reboot.
|
A horrible example.
You are erasing and re-programming every erase block 4096 times for each block written.
The 'conv' option to dd does text file conversions, these are binary files, so 'conv=' is a sure way to trash the image.
Quote:
|
Originally Posted by man dd
sync pad every input block with NULs to ibs-size; when used with block or unblock, pad with spaces rather than NULs
|
And since the ibs default size is one byte ...
Translation:
Remove the 'conv=sync' option -
Add the bs=4096 option