Reply
Thread Tools
Posts: 17 | Thanked: 0 times | Joined on Oct 2011
#21
Code:
Nokia-N900:~# umount /dev/mmcblk0p1  
Nokia-N900:~# cp -ax /home/user/MyDocs /media/mmc1
cp: invalid option -- x
BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) multi-call binary

Usage: cp [OPTION]... SOURCE DEST

Nokia-N900:~# cp -a /home/user/MyDocs /media/mmc1 
cp: cannot preserve ownership of '/media/mmc1/MyDocs/Downloads/ubuntu-11.04-desktop-i386.iso': Operation not permitted
cp: cannot preserve ownership of '/media/mmc1/MyDocs/Downloads': Operation not permitted
cp: cannot preserve ownership of '/media/mmc1/MyDocs/DCIM': Operation not permitted
cp: cannot preserve ownership of '/media/mmc1/MyDocs': Operation not permitted
Nokia-N900:~# rm -rf /home/user/MyDocs/*
Nokia-N900:~# sudo
usage: sudo -K | -L | -V | -h | -k | -l | -v
usage: sudo [-HPSb] [-p prompt] [-u username|#uid]
            { -e file [...] | -i | -s | <command> }
Nokia-N900:~# sudo gainroot
root is not in the sudoers file.  This incident will be reported.
Nokia-N900:~#
I tried to follow the command after deleting everything in mydocs, but another error popped up. What are my options now ?
 
Posts: 2,102 | Thanked: 1,937 times | Joined on Sep 2008 @ Berlin, Germany
#22
Nokia-N900:~# sudo
usage: sudo -K | -L | -V | -h | -k | -l | -v
usage: sudo [-HPSb] [-p prompt] [-u username|#uid]
{ -e file [...] | -i | -s | <command> }
Nokia-N900:~# sudo gainroot
root is not in the sudoers file. This incident will be reported.
Nokia-N900:~#
You already had root rights, just neglect it. What does
Code:
df
report now. If numbers are okay, which they should remount the partition for MyDocs, /dev/mmcblk0p1.

Try later to get rid of the install issue
Code:
sudo gainroot
mkdir /usr/share/doc/libsmpeg0
dpkg --configure -a
 

The Following User Says Thank You to michaaa62 For This Useful Post:
Posts: 17 | Thanked: 0 times | Joined on Oct 2011
#23
Originally Posted by michaaa62 View Post
You already had root rights, just neglect it. What does
Code:
df
report now. If numbers are okay, which they should remount the partition for MyDocs, /dev/mmcblk0p1.

Try later to get rid of the install issue
Code:
sudo gainroot
mkdir /usr/share/doc/libsmpeg0
dpkg --configure -a
Code:
Nokia-N900:~# sudo gainroot
root is not in the sudoers file.  This incident will be reported.
Nokia-N900:~# mount -o noauto,nodev,noexec,nosuid,noatime,nodiratime,utf8,uid=29999,shortname=mixed,dmask=000,fmask=0133,rodir /dev/mmcblk0p1 /home/user/MyDocs
Nokia-N900:~# df
Filesystem           1k-blocks      Used Available Use% Mounted on
rootfs                  233224    187416     41524  82% /
ubi0:rootfs             233224    187416     41524  82% /
tmpfs                     1024        76       948   7% /tmp
tmpfs                      256        84       172  33% /var/run
none                     10240        84     10156   1% /dev
tmpfs                    65536         4     65532   0% /dev/shm
/dev/mmcblk0p2         2064208   1197012    762340  61% /home
/home/opt              2064208   1197012    762340  61% /opt
/opt/pymaemo/usr/lib/python2.5
                       2064208   1197012    762340  61% /usr/lib/python2.5
/opt/pymaemo/usr/share/pyshared
                       2064208   1197012    762340  61% /usr/share/pyshared
/opt/pymaemo/usr/lib/pyshared
                       2064208   1197012    762340  61% /usr/lib/pyshared
/opt/pymaemo/usr/share/python-support
                       2064208   1197012    762340  61% /usr/share/python-support
/opt/pymaemo/usr/lib/python-support
                       2064208   1197012    762340  61% /usr/lib/python-support
/dev/mmcblk1p1        15541408   2757768  12783640  18% /media/mmc1
/dev/mmcblk0p1        28312128  18899328   9412800  67% /home/user/MyDocs
Nokia-N900:~#
This is the output for df.

Should I proceed with the next step or is there anything else that needs to be done ?

Should i reboot my phone before attempting to fix the update issues ?
 
Posts: 2,102 | Thanked: 1,937 times | Joined on Sep 2008 @ Berlin, Germany
#24
Just go ahead
/dev/mmcblk0p2 2064208 1197012 762340 61% /home
/home/opt 2064208 1197012 762340 61% /opt
Looks quite well!
 

The Following User Says Thank You to michaaa62 For This Useful Post:
Posts: 17 | Thanked: 0 times | Joined on Oct 2011
#25
Originally Posted by michaaa62 View Post
Just go aheadLooks quite well!
Do I need to go through the official program to update, or is there a terminal command that might do the job ?
 
Posts: 2,102 | Thanked: 1,937 times | Joined on Sep 2008 @ Berlin, Germany
#26
Code:
sudo gainroot
mkdir /usr/share/doc/libsmpeg0
dpkg --configure -a
apt-get update
apt-get install -f
apt-get upgrade
 

The Following User Says Thank You to michaaa62 For This Useful Post:
Posts: 17 | Thanked: 0 times | Joined on Oct 2011
#27
Cheers, it worked perfectly

Thanks for all your time and help guys, and making it so easy for a relative newb such as myself.

For anybody else who may stumble upon this thread :

If your n900 doesnt boot up after the installs, try booting the original kernel, and then use the following terminal commands:

Code:
root
apt-get update
apt-get install kernel-power-bootimg
That should fix the 'cant flash kernel/guru meditation errors' you may have.
 
Posts: 42 | Thanked: 0 times | Joined on Apr 2013
#28
heyi ..... i have n900 got error insufficient memory when i try log to any application and have no partition and can't install or remove anything ...how i can fix it if its possible thanks
 
Posts: 2,102 | Thanked: 1,937 times | Joined on Sep 2008 @ Berlin, Germany
#29
For starters you could provide these informations...
Please copy and paste the complete output of these commands in X-Terminal application:
Code:
mount
df
free
Do you have rootsh installed?
 

The Following User Says Thank You to michaaa62 For This Useful Post:
Posts: 42 | Thanked: 0 times | Joined on Apr 2013
#30
well i been told that the phone has now a hidden memory and no partition because of trying install android on it ,,,,
 
Reply


 
Forum Jump


All times are GMT. The time now is 09:31.