maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   General (https://talk.maemo.org/forumdisplay.php?f=7)
-   -   how to change easy from one mounted micro sdhc to a new one? (https://talk.maemo.org/showthread.php?t=46426)

chrischras 2010-03-03 22:05

how to change easy from one mounted micro sdhc to a new one?
 
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 2010-03-04 16:48

Re: how to change easy from one mounted micro sdhc to a new one?
 
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

Rob1n 2010-03-04 16:53

Re: how to change easy from one mounted micro sdhc to a new one?
 
Quote:

Originally Posted by chrischras (Post 554742)
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.

chrischras 2010-03-05 08:43

Re: how to change easy from one mounted micro sdhc to a new one?
 
Quote:

Originally Posted by Rob1n (Post 555752)
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?

asyik 2010-03-05 08:58

Re: how to change easy from one mounted micro sdhc to a new one?
 
first, close chroot

check your /home/user/.chroot

make sure the image path is correct

Rob1n 2010-03-05 09:16

Re: how to change easy from one mounted micro sdhc to a new one?
 
Did you run the "Debian chroot" first? And is your debian image file actually in MyDocs or /media/mmc1?

chrischras 2010-03-05 10:51

Re: how to change easy from one mounted micro sdhc to a new one?
 
Quote:

Originally Posted by asyik (Post 556563)
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.


All times are GMT. The time now is 01:20.

vBulletin® Version 3.8.8