Active Topics

 


Reply
Thread Tools
Posts: 2,152 | Thanked: 1,490 times | Joined on Jan 2006 @ Czech Republic
#11
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
__________________
Newbies click here before posting. Thanks.

If you really need to PM me with troubleshooting question please consider posting it to the forum instead. It is OK to PM me a link to such post then. Thank you.
 
Posts: 70 | Thanked: 13 times | Joined on Nov 2007 @ Milan - Italy
#12
Originally Posted by fanoush View Post
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!!!
 
Reply


 
Forum Jump


All times are GMT. The time now is 03:51.