Active Topics

 



Notices


Reply
Thread Tools
Posts: 19 | Thanked: 1 time | Joined on Jan 2011
#1
I installed nitdroid, my files where there on the SD card, and I did these magic commands:
(from here: http://www.youtube.com/watch?v=WY839T78qcY)

root
cd /home/user/MyDocs
bzip2 -d gingerbread_superuser.tar.bz2
cd /
mount /home /and
cd /and
tar xvf /home/user/MyDocs/gingerbread_superuser.tar

Cuz I wanted to overclock nitdroid, now there is not one file on my SD, it appears as a 5GB in windows explorer but it is a *GB SD card, did I delete my sd card or just unmounted it?
If so how do I go back?
Will the overclocking be affected?
 
Posts: 915 | Thanked: 3,209 times | Joined on Jan 2011 @ Germany
#2
No, you didn't erase anything. Actually you didn't do anything with your SD card.
According to the commands you provided and asuming they all were successful you now should have the contents of the archive in: /and

But there are two things that might have gone wrong:
1.
Code:
mount /home /and
Do you have a mount point called /ant? By default you don't. So if you didn't create it this didn't work. I that case you should have seen an error message here about a missing directory. As a consequence the subsequent cd command didn't work either and the contents of the archive should be directly in / now.

2.
Code:
tar xvf /home/user/MyDocs/gingerbread_superuser.tar
Regardless of the outcome of 1. you most likely don't have enough space in / or /ant (you don't have it on an unmodified N900). So you should have received an error message about insufficient disk space.

The worst thing that might have happened is that your / or /home partition is full now.

btw:
There's nothing "magic" about these commands. These are basic unix shell commands. I'd suggest to get familiar with them and understand what they are doing first before you try any further "magic".
 
erendorn's Avatar
Posts: 738 | Thanked: 983 times | Joined on Apr 2010 @ London
#3
Originally Posted by radical7dreamer View Post
root
cd /home/user/MyDocs
bzip2 -d gingerbread_superuser.tar.bz2
cd /
mount /home /and
cd /and
tar xvf /home/user/MyDocs/gingerbread_superuser.tar
translation so that the magic disappear:

get admin rights
Change Directory to /home/user/MyDocs
use bzip2 with option Decompres on the file gingerbread_superuser.tar.bz2
Change Directory to /
attach filesystem from /home folder in the /and folder
Change Directory to /and
use tar with options eXtract, Verbose, File on the file /home/user/MyDocs/gingerbread_superuser.tar
 
Posts: 19 | Thanked: 1 time | Joined on Jan 2011
#4
Well I understood the code, exept for some parts like xvf. The magic comes when they mix together
I actually did not receive any warnings in the terminal, witch puzzles me. So how would I go and remount my sd card? Thanks for your help
 
Reply


 
Forum Jump


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