maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   Move files to root? Help please! (https://talk.maemo.org/showthread.php?t=40550)

Arctine 2010-01-14 19:27

Move files to root? Help please!
 
I'd like to move a file from home/user/mydocs/ to media/mmc1/ so i can extract it there but i can't find a way to do, any help please? Thanks.

Rob1n 2010-01-14 19:41

Re: Move files to root? Help please!
 
You should be able to do this in File Manager - tap & hold on the file until the popup appears, then choose Move.

Arctine 2010-01-14 19:45

Re: Move files to root? Help please!
 
you can't access root through file manager

Rob1n 2010-01-14 19:51

Re: Move files to root? Help please!
 
You said moving from /home/user/MyDocs to /media/mmc1, both of which are accessible through File Manager.

Arctine 2010-01-14 19:54

Re: Move files to root? Help please!
 
Really? I didn't know sorry. how? :)

Rob1n 2010-01-14 20:05

Re: Move files to root? Help please!
 
When you launch File Manager, you're presented with 2 starting points - if you select the phone then you're in MyDocs, and if you select the media card, you're at /media/mmc1.

Arctine 2010-01-14 20:14

Re: Move files to root? Help please!
 
I'm confused. I'm trying to install this onto the internal memory:
http://talk.maemo.org/showthread.php?t=18436


When i get to point 14, if i do as it says and enter:
mkdir /media/mmc2/raData

it comes up with an error claiming that the file or directory does not exist.

If i change it to:
mkdir /media/mmc1/raData

it works fine. I presumed the guy got it wrong and mmc1 was the internal memory.

Arctine 2010-01-14 20:18

Re: Move files to root? Help please!
 
BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso26+0m5) built-in shell (ash)
Enter 'help' for a list of built-in commands.

~ $ sudo gainroot
Root shell enabled


BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso26+0m5) built-in shell (ash)
Enter 'help' for a list of built-in commands.

/home/user # cd usr/share/games/freer
/bin/sh: cd: can't cd to usr/share/games/freer
/home/user # cd /usr/share/games/freer
/bin/sh: cd: can't cd to /usr/share/games/freer
/home/user # cd /usr/share/games/freera
/usr/share/games/freera # mkdir /media/mmc2/raData
mkdir: cannot create directory '/media/mmc2/raData': No such file or directory
/usr/share/games/freera # mkdir /media/mmc2/radata
mkdir: cannot create directory '/media/mmc2/radata': No such file or directory
/usr/share/games/freera # mkdir /media/mmc2/raData
mkdir: cannot create directory '/media/mmc2/raData': No such file or directory
/usr/share/games/freera # mkdir /media/mmc1/raData
/usr/share/games/freera # ln -s /media/mmc1/raData /use/share/games/freera/data
ln: /use/share/games/freera/data: No such file or directory
/usr/share/games/freera # ln -s /media/mmc1/raData /usr/share/games/freera/data
/usr/share/games/freera # ln -s /media/mmc2/raData /usr/share/games/freera/data
/usr/share/games/freera # cd /usr/share/games/freera/data
/media/mmc1/raData # tar -xzvf /media/mmc2/data.tar.gz
tar: can't open '/media/mmc2/data.tar.gz': No such file or directory
/media/mmc1/raData # tar -xzvf /media/mmc1/data.tar.gz
tar: can't open '/media/mmc1/data.tar.gz': No such file or directory
/media/mmc1/raData # tar -xzvf /media/mmc1/data.tar.gz

that is what i've done. if someone who knows what they're doing could help me i'd appreciate it cus i'm clueless

Rob1n 2010-01-14 20:29

Re: Move files to root? Help please!
 
/media/mmc2 was the internal memory card on the N800 (which had two memory cards). You'll definitely want to use /media/mmc1 instead.

Rob1n 2010-01-14 20:29

Re: Move files to root? Help please!
 
Oh, and you'd be better posting to that thread if you want specific help on installing it.

Arctine 2010-01-14 20:33

Re: Move files to root? Help please!
 
I'm pretty sure at this point all i need to do is move the data.tar.gz to media/mmc1/ and extract it.

So my question is how do i do that? mmc2 doesn't appear on my file manager =\

fatalsaint 2010-01-14 20:35

Re: Move files to root? Help please!
 
You mean MMC1? Thats what Rob1n already said.. the file manager calls it "Media Card".

Code:

mv /home/user/MyDocs/data.tar.gz /media/mmc1

Arctine 2010-01-14 20:40

Re: Move files to root? Help please!
 
Thanks for the code, it's extracting now :)

And yeah i meant mmc1 but in my file manager it doesn't display "media card" anywhere?

Rob1n 2010-01-14 20:49

Re: Move files to root? Help please!
 
It should display an icon of a media card, though the text depends on what the media card has been named.

Arctine 2010-01-14 20:53

Re: Move files to root? Help please!
 
It just says N900 with a picture of the phone and nothing else? Or is that what you mean? Cus i was originally on about accessing media/mmc1 in the system directory.

Rob1n 2010-01-14 21:00

Re: Move files to root? Help please!
 
Do you actually have a memory card installed? It should show up in there alongside the phone in File Manager.

Arctine 2010-01-14 21:06

Re: Move files to root? Help please!
 
Nah, i meant, media/mmc1 as in the directory in the root menu.

I've got it working now anyway so it doesn't matter. Thanks for the help guys :)


All times are GMT. The time now is 00:37.

vBulletin® Version 3.8.8