Reply
Thread Tools
Posts: 838 | Thanked: 292 times | Joined on Apr 2010
#1
Yes I know bricked means it can never be saved so I will not use that word. Anyway here is what dumbass (me) did.

I was attempting to fix my prompt (get it back to how it used to look) after installing bash as my shell for the default user (user). well I changed back to /bin/sh, ran echo $PS1 wrote down that result and changed user back to /bin/bash. I then (yes without running it on the command line which is why I call myself a dumbass *****) opened up .bashrc and put export $PS1="the output of my previous echo $PS1 command".

duh apart from not having tested it from the command line first... there should be no $. well anyway the result is the reboot process brings me to the dots flashing across my screen forever.

so is there any "backdoor" to get in and fix my .bashrc? or am I looking at a complete reflash of the device?

Last edited by extendedping; 2010-11-01 at 02:20.
 
F2thaK's Avatar
Posts: 4,365 | Thanked: 2,467 times | Joined on Jan 2010 @ Australia Mate
#2
Im guessing the latter..
 
windows7's Avatar
Posts: 435 | Thanked: 160 times | Joined on Dec 2009
#3
not sure, but is probably just quicker to flash the kernel alone.

I recommend a windows xp 32bit to do such task


here is how to do it
http://talk.maemo.org/showpost.php?p=849458&postcount=9

Last edited by windows7; 2010-11-01 at 02:21.
 
Posts: 49 | Thanked: 33 times | Joined on Dec 2009 @ Berlin/Germany
#4
@windows [sic] 7
the kernel has nothing to do with this
 
WereCatf's Avatar
Posts: 255 | Thanked: 160 times | Joined on Oct 2010 @ Finland
#5
Originally Posted by extendedping View Post
so is there any "backdoor" to get in and fix my .bashrc? or am I looking at a complete reflash of the device?
No, sorry. You will need to reflash the whole thing, meaning you'll lose all your installed applications and modifications in your home directory. And no, it's not a kernel issue, it's a configuration file issue. Nothing you can do about it anymore.. :/
 
Posts: 49 | Thanked: 33 times | Joined on Dec 2009 @ Berlin/Germany
#6
you could try booting from mmc if you havemthings set up and mount the maemo rootfs on meego or something
 
Posts: 2,225 | Thanked: 3,822 times | Joined on Jun 2010 @ Florida
#7
I know there's a rescue kernel somewhere... With which you can boot into that first minimal shell and see if you can fix things from there... I don't know if would help in this case, but it sounds like it should.

I'd go prod Mohammad about it - he's the one who I saw mentioning it somewhere.
 
Posts: 19 | Thanked: 6 times | Joined on Jul 2008 @ Melbourne, Australia
#8
Do you know whether the network device has initialised ? Perhaps you could try to ssh into the N900 ... (and then fix the faulty file).
 
Posts: 838 | Thanked: 292 times | Joined on Apr 2010
#9
thanks everyone, looks like a fresh reflash too bad I had heavily customized the thing. btw no network access, again thanks for the suggestions.
 
Reply


 
Forum Jump


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