View Single Post
Posts: 2,152 | Thanked: 1,490 times | Joined on Jan 2006 @ Czech Republic
#5
well if broken system is on mmc2 the first mount command should be
Code:
mount -t ext2 /dev/mmcblk0p2 /opt
but you need to insert mbcache and ext2 kernel modules first, see beginning of http://maemo.org/community/wiki/howt...8dc271168d2489. Or do as Milhouse says, his 'nupgrade.sh 1' step probably does exactly that.

after you have /dev/mmcblk0p2 mounted to /opt you can run
Code:
cd /opt/etc
cp -a sudoers~ sudoers
cd
umount /opt
and reboot. This will work if the sudoers~ backup is sane. If not, you can take one from flash but it may not be up to date and may have something missing
Code:
cp -a /etc/sudoers /opt/etc/
__________________
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.

Last edited by fanoush; 2007-12-30 at 17:58. Reason: -a added to preserve permissions