Yesterday, returning home from a business trip, I decided to update the firmware of the Nokia N900, which I took with me to Nizhny. I had a lot of old standing there, even uncomfortable in front of knowledgeable guys.
However, when trying to make this simple, in general, the case popped up the message "Not enough memory in the selected location", from which I personally did not understand a damn thing. What memory is not enough? What is the “location”? Who chose it at all? I? So I did not choose. No General Faylyur again reads my disc unauthorized?
I rebooted the device - it did not help.
')
Climbed to the Internet and from the first time I found instructions on how to fix the problem. I would be happy here, but I became even more sad. So that you understand why, I give instructions entirely.
install the rootsh package if it is not already done
become root
root
we copy the contents of / usr onto a 2 gig partition, the duration of this procedure depends on the number of packages installed up to this point. it's better to take all the excess
cp / usr / home -p -R
mount the copied folder in the old point
mount –bind / home / usr / usr
To ensure further automounting after reboot, we edit the script in which the fstab mount file is generated and used.
vi /etc/event.d/rcS-late
look for this fragment there and insert our magic team in this place
# We can safely continue booting now.
initctl emit MOUNTS_OK
/ sbin / swapon -a || echo “Failed to enable paging partition.”
mount –bind / home / usr / usr
# Setup lowmem module
echo 32768> / proc / sys / vm / lowmem_deny_watermark_pages
echo 98304> / proc / sys / vm / lowmem_notify_high_pages
echo 131072> / proc / sys / vm / lowmem_notify_low_pages
echo 1024> / proc / sys / vm / lowmem_nr_decay_pagesNormal, yes? In order to tritely update the firmware, you need to write a lot of interesting commands, edit the script, edit something ... Frankly speaking, I didn’t go a long way from such a perspective. I have been updating the firmware for a long time, but in order with such an unnatural prelude ...
Interestingly, Linux connoisseurs are happy in the comments to the instructions: oh, how simple it is, how convenient everything is.
Again, I thought about a fundamentally different chromosome set in these beautiful aliens.
Fortunately, an easier way to upgrade the N900 was soon found:
“We are hammering into the application manager, entering the terminal, turning on the root and driving apt-get upgrade. When a question arises, we answer "y". Begin to download files. At the end of the process, you are prompted to enter a command. We drive in reboot and enjoy the new firmware! "I tried it - it worked out. It is not clear why the guys from Nokia didn't attach a graphical interface to this script and didn't put it somewhere prominently? After all, the N900 is very sour, and I haven’t found any warning labels like “Windows and Mac users are strictly prohibited”.
And so - cool gadget.