maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   Installing postmarketOS LXQt on N900 (https://talk.maemo.org/showthread.php?t=101301)

dredlok706 2022-02-08 07:12

Installing postmarketOS LXQt on N900
 
Hi there!
Today I want to explain you how to install postmarketOS on N900...
The system will be running LXQt, light DE.

Requirements:
- Nokia N900
- Micro SDHC card, up to 32 GB (min 4 GB)
- PC with Linux (I use Arch Linux)
- Some time :)

WARNING
I am not responsible for any damage, lost data, etc.
All things you do - you do for your own responsibility. If you will break something - go to your mum, and cry:(:(:(:D


NOTES
OS will be installed on SD Card.
In this tutorial we install bootloader - U-Boot
eMMC will be safe.


Let's start!

1. Install pmbootstrap on your Linux distro on PC, via your way. On Arch, I used AUR to install -> https://aur.archlinux.org/packages/pmbootstrap
2. Open terminal on PC. Let's type few commands:
Code:

mkdir ~/pmos-n900
- it will create our workspace dir.
Code:

pmbootstrap init
- it will ask us for work dir. Let's select the dir we just created:
~/pmos-n900
3. Now, it will clone repo. Let's be patient.
4. Now, it asks or channel. For best results, select edge
5. Now, few other options. I will just give right answers:
Vendor: nokia
Device codename: n900
Enable this package: y
Keymap: what you want. Depends on your favourite :D and you can also select that combines with hardware keymap.
Username: what you want
User interface: now, it's bit more difficult to choose. I would suggest you to select Xfce or LXQt.
Change them: n
Extra packages: what you want. I would suggest few useful tools, like nano. We write like in this example: firefox,nano,talkmaemo,n900
Use this timezone instead of GMT: Let's select y
Choose default locale: select your favourite.
Device hostname: select something short like "n900"
Build outdated packages during 'pmbootstrap install' - y
6. It will say done, now it's properly configured.
7. Insert your SD to PC. Let's check where it is via simple command:
Code:

fdisk -l
8. In my case, it was simply: /dev/mmcblk0
9. Now, we install pmOS to SD! Command on PC:
Code:

pmbootstrap install --sdcard /dev/XXXxxxX
10. It will take some time. Let's be patient. When the process ends - remove SD from PC and put it back to N900, and close back cover.
11. Boot to Maemo. Now we need to install U-Boot. In X-Terminal:
Code:

root
apt-get install u-boot-flasher u-boot-tools

It will ask for flashing kernel - agree.
Code:

apt-get install kernel-power-bootimg
It may ask for flashing kernel - DISagree.
12. Now, we create item file for U-Boot. Let's create file:
Code:

nano /etc/bootmenu.d/10-pmos.item
13. Now type all lines very carefully:
Code:

ITEM_NAME="postmarketOS"
ITEM_SCRIPT="boot.scr"
ITEM_DEVICE="${EXT_CARD}p1"
ITEM_FSTYPE="ext2"

Save it with Ctrl + O, Ctrl + X.
14. Run command on XTerm:
Code:

root
u-boot-update-bootmenu

15. Reboot, select postmarketOS, done!!!!!!!!!

For more, ask here. Hope I will help someone :D I will try to make this post bigger, when I will have more time :D

Goodbye

Android_808 2022-02-08 10:35

Re: Installing postmarketOS LXQt on N900
 
Last I read they PostmarketOS dropped support for N900 (https://9to5linux.com/postmarketos-2...xmo-on-wayland). Has this changed?

dredlok706 2022-02-08 12:16

Re: Installing postmarketOS LXQt on N900
 
Quote:

Originally Posted by Android_808 (Post 1573541)
Last I read they PostmarketOS dropped support for N900 (https://9to5linux.com/postmarketos-2...xmo-on-wayland). Has this changed?

I don't know. Does it mean device n900 will be deleted from pmOS servers? :(

sicelo 2022-02-08 22:35

Re: Installing postmarketOS LXQt on N900
 
Quote:

Originally Posted by Android_808 (Post 1573541)
Last I read they PostmarketOS dropped support for N900 (https://9to5linux.com/postmarketos-2...xmo-on-wayland). Has this changed?

then, I became the new maintainer of the N900 in pmos, so it's still a pmos 'community' category device :-)

Quote:

Originally Posted by dredlok706 (Post 1573538)
Hi there!
Extra packages: what you want. I would suggest few useful tools, like nano. We write like in this example: firefox,nano,talkmaemo,n900

talkmaemo? :-)

fbnccst 2022-02-09 06:08

Re: Installing postmarketOS LXQt on N900
 
Quote:

Originally Posted by sicelo (Post 1573546)
then, I became the new maintainer of the N900 in pmos, so it's still a pmos 'community' category device :-)


talkmaemo? :-)

Cool!! Thanks

dredlok706 2022-02-10 09:39

Re: Installing postmarketOS LXQt on N900
 
Quote:

Originally Posted by sicelo (Post 1573546)
then, I became the new maintainer of the N900 in pmos, so it's still a pmos 'community' category device :-)


talkmaemo? :-)

Oh yes :D You are right:D

fbnccst 2022-02-12 04:58

Re: Installing postmarketOS LXQt on N900
 
Guys, im using prebuilt image. What is the default root password?
Thanks

fbnccst 2022-02-13 07:31

Re: Installing postmarketOS LXQt on N900
 
Quote:

Originally Posted by fbnccst (Post 1573583)
Guys, im using prebuilt image. What is the default root password?
Thanks

Never mind, got it
I was only supposed to do the 'sudo passwd'


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

vBulletin® Version 3.8.8