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)

fanoush 2007-11-09 13:20

Re: [N800] Problem with root
 
Umm, seems like there is a lot of confusion here. What I understood is that something broke and you have that permission problem with system in internal flash and you can boot from mmc which is still OK, right?

If this is true, than you can boot from mmc, mount internal flash and copy /etc/sudoers or whatever to internal flash, unmount it and try to boot from internal flash again. Something like

1. boot from mmc, open xterm, sudo gainroot
2.
Code:

mount -t jffs2 /dev/mtdblock4 /opt
cp -a /etc/sudoers /opt/etc/
umount /opt

3. reboot and boot from internal flash

Lupin3d 2007-11-09 13:27

Re: [N800] Problem with root
 
Quote:

Originally Posted by fanoush (Post 92557)
Umm, seems like there is a lot of confusion here. What I understood is that something broke and you have that permission problem with system in internal flash and you can boot from mmc which is still OK, right?

If this is true, than you can boot from mmc, mount internal flash and copy /etc/sudoers or whatever to internal flash, unmount it and try to boot from internal flash again. Something like

1. boot from mmc, open xterm, sudo gainroot
2.
Code:

mount -t jffs2 /dev/mtdblock4 /opt
cp -a /etc/sudoers /opt/etc/
umount /opt

3. reboot and boot from internal flash

G R E A T !!!! this fix my first (big) problem (user that not became root)

now i can work to fix the other problems...

THANKS fanoush!!!


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

vBulletin® Version 3.8.8