View Single Post
Posts: 23 | Thanked: 2 times | Joined on Jan 2012 @ Bulgaria, Varna
#3014
Originally Posted by pichlo View Post
http://lmgtfy.com/?q=mount+linux

Try skipping -o loop or replacing it with -t ext2. At least that's what I did the last time, IIRC.
It did the job. I used the following:
mount -t ext2 /home/user/MyDocs/tmp/ed1.img.ext2 /tmp/ed
and it has been mounted
after that
mount /dev/mmcblk0p4 /mnt/debian
cp -a /tmp/ed/* /mnt/debian/
and all was copied to the mmcblk0p4
What next?
Do I need to remove the mounting of the img file?
I mean to do:
umount /home/user/MyDocs/tmp/ed1.img.ext2 /tmp/ed

And someone was explaining need to be edited .chroot somehow