I had the random reboot issue (fixed via pmconfig vi edit to enable_off_mode) but I guess I had too many reboots and I started losing my preferences (home screen came up as default other app wackiness). Anyhoo, long story short I reflashed and did the fix immediately. However, I noticed I couldn't install most apps like the Facebook widget or Pidgin. Soooo poking around in the logs I found it couldn't write files to /opt/ which on the N900 is a symlink to /home/opt/. Turns out the folder /home/opt/ wasn't there. A quick mkdir /home/opt/ fixed everything.
Note: you'll need the Rootsh installed and gainroot before you can write to /home/.
Question about
Can't install apps after a firmware flash?
You can also install OpenSSH client and server (which has you set the password for root) and then ssh root@localhost to get su - and then you have SSH which is handy anyway :)
mark as good answer
0 people like this answer
/home/opt wasn't there?
Okay, so you just ran a mkdir /home/opt right? And then what? Did you have to recreate the sym-link from /opt ?
You know that /opt is a different partition from /root right? It's most likely that your /home/opt partition didn't mount on boot for some reason. Now that you've just run mkdir from /root to create it, your /opt partition now lives on root.
Doesn't sound like a problem, eh? Well think again.
/opt has 2GB of space for installable application. /root only has a few hundred megabytes. This means that you're gonna run out of space for your Operating system to even function after you install one or two applications.
This partitioning layout is also done for user data preservation. When you upgrade your OS with a new patch, it re-writes /root but leaves /opt alone so your installed applications are left intact. (Your home directory /home/user/MyDocs is on the 28GB internal flash so it's always safe). So even if you don't fill up your /root with applications, the next Maemo patch or flash will wipe out everything outside your home directory or SD card.
You should check the mount options for what WAS your /home/opt directory in the /etc/fstab file and try to manually mount this missing partition to like /mnt or something to see why it didn't mount on it's own after your re-flash.
If you can mount it, copy all the stuff from /home/opt to it, rm -Rf /home/opt, and then reboot. If your full 2GB /opt doesn't re-mount on it's own, then try to mount it yourself and watch your log file for any errors in mounting.
Okay, so you just ran a mkdir /home/opt right? And then what? Did you have to recreate the sym-link from /opt ?
You know that /opt is a different partition from /root right? It's most likely that your /home/opt partition didn't mount on boot for some reason. Now that you've just run mkdir from /root to create it, your /opt partition now lives on root.
Doesn't sound like a problem, eh? Well think again.
/opt has 2GB of space for installable application. /root only has a few hundred megabytes. This means that you're gonna run out of space for your Operating system to even function after you install one or two applications.
This partitioning layout is also done for user data preservation. When you upgrade your OS with a new patch, it re-writes /root but leaves /opt alone so your installed applications are left intact. (Your home directory /home/user/MyDocs is on the 28GB internal flash so it's always safe). So even if you don't fill up your /root with applications, the next Maemo patch or flash will wipe out everything outside your home directory or SD card.
You should check the mount options for what WAS your /home/opt directory in the /etc/fstab file and try to manually mount this missing partition to like /mnt or something to see why it didn't mount on it's own after your re-flash.
If you can mount it, copy all the stuff from /home/opt to it, rm -Rf /home/opt, and then reboot. If your full 2GB /opt doesn't re-mount on it's own, then try to mount it yourself and watch your log file for any errors in mounting.
mark as good answer
0 people like this answer
follow this question
share:
Related questions
3 users following this question:
This question has been viewed 286 times.
Last activity .
Tips for giving the best answers
Sometimes it's just little details that separates a great and not so great answer! Here are a few simple tips to keep in mind:
- 1
- Be complete and thorough. Don't skimp on the details!
- 2
- Try not to answer with a question. Because that's not really an answer, right?
- 3
- A little research goes a long way. Back up your claims and assumptions!
- 4
- Try to be patient, tech questions can be complicated.
- 5
- You are awesome for both reading this and answering questions.
