View Single Post
Posts: 212 | Thanked: 66 times | Joined on May 2010 @ India
#2606
Originally Posted by eight View Post
I guess you want to copy the estel-image to mmcblk0p4?

First mount the image and the partition mmcblk0p4 to a directory:
Code:
mount -o loop /home/user/MyDocs/ed-squeeze-final.ext3 /media/ed

mkdir /mnt/debian-tmp
mount /dev/mmcblk0p4 /mnt/debian-tmp
Then your copy command should look like this:


With your command above, you copy from (empty?) mmcblk0p4 to the mounted ed-image.
----> the general principle is alwas: cp <-opt> <source> <destination>
You can also copy/backup directly from partition (mmcblkXpY) to image file and verse visa with dd.

Example:
Code:
dd if=/dev/mmcblk0p4 of=/home/user/MyDocs/part0p4.ext3
Code:
dd if=/home/user/MyDocs/part0p4.ext3 of=/dev/mmvblk0p4
Everything worked except copy command.As soon as i issued that command my device froze for sometime and gave some error messages about epiphany.After that It got switched of itself.When I edited chroot and started ED it complained of non existing image in said partition.Anyways Thank you.I will patiently wait for a new thread and dedicated partition related tutorial.