Active Topics

 


Reply
Thread Tools
Posts: 29 | Thanked: 19 times | Joined on Feb 2010 @ Germany, Wolfenbuettel
#1
Hello,

i want to switch from one mounted micro-sdhc to a new bigger one. If i do 'mount', there are much different mounted points to this card because of the installed debian-chroot-packet. Are there any hints for an easy way like
- 'umount/deactivate xyz',
- 'mount whole card at one point',
- 'tar cfz mountpoint to local place in N900',
- umount card,
- insert new,
- mount new,
- tar cvf to mountpoint, and
- remount whatever necessary for debian-chroot
?
 
Lord Raiden's Avatar
Posts: 1,562 | Thanked: 349 times | Joined on Jun 2008
#2
Wait a second. What exactly did you install that's messing you up, and how does it change the way the cards mount? I'm confused. o_0
__________________
Popular Sci-Fi author and creator of the Earthfleet Series.
www.realmsofimagination.net
 
Posts: 3,617 | Thanked: 2,412 times | Joined on Nov 2009 @ Cambridge, UK
#3
Originally Posted by chrischras View Post
Hello,

i want to switch from one mounted micro-sdhc to a new bigger one. If i do 'mount', there are much different mounted points to this card because of the installed debian-chroot-packet. Are there any hints for an easy way like
- 'umount/deactivate xyz',
- 'mount whole card at one point',
- 'tar cfz mountpoint to local place in N900',
- umount card,
- insert new,
- mount new,
- tar cvf to mountpoint, and
- remount whatever necessary for debian-chroot
?
Run the "Close Debian" program (there should be an icon in the program list) to shutdown the chroot. You can then tar up the contents of /media/mmc1 to /home/user/MyDocs, unmount, swap, and untar. Then run the "Debian chroot" program to restart the chroot.
 
Posts: 29 | Thanked: 19 times | Joined on Feb 2010 @ Germany, Wolfenbuettel
#4
Originally Posted by Rob1n View Post
Run the "Close Debian" program (there should be an icon in the program list) to shutdown the chroot. You can then tar up the contents of /media/mmc1 to /home/user/MyDocs, unmount, swap, and untar. Then run the "Debian chroot" program to restart the chroot.
Hi,

done the following:
close debian
cd /home/user/MyDocs
tar cvf ./mmcq.tar /media/mmc1/.
# ... after two hours taring ...
umount /media/mmc1
# change card
# new card was automounted to /media/mmc1
cd /
tar xvf /home/user/MyDocs/mmcq.tar
# one hour later ... there was something on /media/mmc1
# but a "Debian LXDE" showed a
# Mount failure!
# /home/user/MyDocs/debian-m5-v2.img.ext2.bz2 failed to mount on loop0
# mount: mounting /dev/loop0 on /.debian failed: Invalid argument!

any suggestions to this?
 
Posts: 43 | Thanked: 8 times | Joined on Feb 2008
#5
first, close chroot

check your /home/user/.chroot

make sure the image path is correct
 
Posts: 3,617 | Thanked: 2,412 times | Joined on Nov 2009 @ Cambridge, UK
#6
Did you run the "Debian chroot" first? And is your debian image file actually in MyDocs or /media/mmc1?
 
Posts: 29 | Thanked: 19 times | Joined on Feb 2010 @ Germany, Wolfenbuettel
#7
Originally Posted by asyik View Post
first, close chroot

check your /home/user/.chroot

make sure the image path is correct

thanks, that was the solution, the path IMAGE=/media/mmc1/debian-m5-v2.img.ext2 was not there anymore.
Unbelievably, I don't know why this changed or did not work this time after the changing.
 
Reply


 
Forum Jump


All times are GMT. The time now is 08:04.