maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Troubleshooting (https://talk.maemo.org/forumdisplay.php?f=6)
-   -   [N800] Problem with root (https://talk.maemo.org/showthread.php?t=11501)

Lupin3d 2007-11-08 23:39

[N800] Problem with root
 
After removing libmissioncontrol the N800 became very unstable....

now when i try to write in xterm "sudo su -" appear "Sorry, user user is not allowed to execute '/bin/su -' as root on Nokia-N800-39."
o_O coooool
everything I try to to is a "permission denied" (cat: /etc/sudoers: Permission denied)

I rember that I did from my pc via ssh (after logging in as root/rootme) "passwd -l root"....

I'm really stuck!!!

P.s. i cannot reboot to reach the bootmenu I can only poweroff with the power button!!!!
and "apt-get update" gives to me:
E: Could not open lock file /var/lib/apt/lists/lock - open (13 Permission denied)
E: Unable to lock the list directory

help :(

Milhouse 2007-11-08 23:49

Re: [N800] Problem with root
 
What about "sudo gainroot" ?

Lupin3d 2007-11-08 23:52

Re: [N800] Problem with root
 
Quote:

Originally Posted by Milhouse (Post 92373)
What about "sudo gainroot" ?

Sorry, user user is not allowed to execute '/usr/sbin/gainroot' as root on Nokia-N800-39.

:(

Lupin3d 2007-11-09 08:59

Re: [N800] Problem with root
 
I thougth to reflash my N800 but when I connect the usb cable to my pc the boot menu (magically for me) appears and I cannot use the nokia wizard application to reload the latest firmware.
Now I'm using my IT booting from the mmc2.

1) Is there a way to restore the corrupted/missing file from mmc2 to flash?
2) It's a good procedure disable the bootmenu so I can reload the firmware?

Milhouse 2007-11-09 11:40

Re: [N800] Problem with root
 
Have you held down the Home key while powering on the device?

Lupin3d 2007-11-09 11:47

Re: [N800] Problem with root
 
ok...don't know why but seems that the bootmenu is fixed...but the "permission denied" problem still exists booting from flash

:(

fanoush 2007-11-09 12:15

Re: [N800] Problem with root
 
Quote:

Originally Posted by Lupin3d (Post 92370)
P.s. i cannot reboot to reach the bootmenu I can only poweroff with the power button!!!!

??? I don't understand what is the problem here.
Quote:

Originally Posted by Lupin3d (Post 92370)
1) Is there a way to restore the corrupted/missing file from mmc2 to flash?

yes just mount your flash partition and copy the file over,
mounting steps are described in
http://maemo.org/community/wiki/howt..._from_mmc_card
Quote:

Originally Posted by Lupin3d
2) It's a good procedure disable the bootmenu so I can reload the firmware?

There is no need to disable it. It gets overwritten with full firmware flash. It is quite harmless so you can also keep it and just reflash rootfs (with linux flasher).

Lupin3d 2007-11-09 12:22

Re: [N800] Problem with root
 
Quote:

Originally Posted by fanoush (Post 92538)
??? I don't understand what is the problem here.

Now seems fixed.
Quote:

Originally Posted by fanoush (Post 92538)
yes just mount your flash partition and copy the file over,
mounting steps are described in
http://maemo.org/community/wiki/howt..._from_mmc_card

i will take a look. tnx

Quote:

Originally Posted by fanoush (Post 92538)
There is no need to disable it. It gets overwritten with full firmware flash. It is quite harmless so you can also keep it and just reflash rootfs (with linux flasher).

i can reflash rootfs only afte booting from mm2...I will try


Thanks fanoush :)

Lupin3d 2007-11-09 12:28

Re: [N800] Problem with root
 
Quote:

Originally Posted by fanoush (Post 92538)
yes just mount your flash partition and copy the file over,
mounting steps are described in
http://maemo.org/community/wiki/howt..._from_mmc_card

I cannot mount the mmcblk0p2 partition...I need to be root and I cannot do sudo or su ("user user is not allowed to execute '/bin mount /dev/mmcblk0p2 /opt' as root on Nokia.....

:(

Lupin3d 2007-11-09 12:59

Re: [N800] Problem with root
 
Quote:

Originally Posted by fanoush (Post 92538)
yes just mount your flash partition

ehm...how can I mount the flash? It is in /dev/???...

:)


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

vBulletin® Version 3.8.8