maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Alternatives (https://talk.maemo.org/forumdisplay.php?f=36)
-   -   Possibility of OS other than Maemo 5 on N900? (https://talk.maemo.org/showthread.php?t=31999)

jyro2179 2009-12-23 17:40

Re: possibility other OS that Maemo 5 on N900?
 
Quote:

Originally Posted by Stskeeps (Post 372885)

If the output of "dpkg -s getbootstate" shows Version: 1.0.35+0m5 on your N900, you will be able to multiboot.


The package can be found at http://www.daimi.au.dk/~cvm/bootmenu_1.6_armel.deb and you need to dpkg -i it as root. You need rootsh installed.

Hi Stskeep,

I tried to get this working on n900 but no luck. I installed bootmenu deb you have linked above. Then rebooted n900 with keyboard slid out. But the device booted as before. I guess I was supposed to see some boot menu at this point. (I also tried with keyboard slid in, but same result).

One thing I noticed is my version of getbootstate is little older than you mentioned above.

Mine is Version: 1.0.34+0m5

Could that be the reason? Is it necessary to have 1.0.35?

Stskeeps 2009-12-23 18:16

Re: possibility other OS that Maemo 5 on N900?
 
Quote:

Originally Posted by jyro2179 (Post 439295)
Could that be the reason? Is it necessary to have 1.0.35?

Yes, you need to upgrade to 42-11 (PR1.0) or it won't patch. You also need to install it with the Install bootmenu icon.

filipx 2009-12-28 02:03

Re: possibility other OS that Maemo 5 on N900?
 
Hi,
I have successfully installed the bootloader on n900 and can choose which os to load on boot with keyboard out.
My next question is how to I go about loading Android on the SD card?
I found this:
http://www.youtube.com/watch?v=yQzkBondAMk
and http://forum.xda-developers.com/showthread.php?t=585948).
but really no clue (totally noob) how to get this working on the SD card.

Many Thanks!

bdogg64 2009-12-28 22:49

Re: possibility other OS that Maemo 5 on N900?
 
I have this loaded and working on my n900 as well, but I'm sure booting Maemo from an sd card isn't as simple as coping the root filesystem to the card. Are there any samples out there as adding bootmenu items?

fanoush 2009-12-29 00:05

Re: possibility other OS that Maemo 5 on N900?
 
Quote:

Originally Posted by bdogg64 (Post 444476)
I have this loaded and working on my n900 as well, but I'm sure booting Maemo from an sd card isn't as simple as coping the root filesystem to the card. Are there any samples out there as adding bootmenu items?

Quick and dirty way:

- install bootmenu deb mentioned above (dpkg -i + clicking install bootmenu icon)
- rename /bootmenu.conf to something else (no need to make items then, there are hardcoded ones)

- repartition microsd to have at least two partitions, format second one as ext2 (beware of https://bugs.maemo.org/show_bug.cgi?id=2747 , for me microsd is /dev/mmcblk1 after N900 boots but mmcblk0 at boot time)

- clone root filesystem to this partition like this

Code:

Nokia-N900-42-11:~# mount --bind / /floppy
Nokia-N900-42-11:~# mount -t ext2 -o noatime /dev/mmcblk1p2 /initrd/
Nokia-N900-42-11:~# cd /floppy/
Nokia-N900-42-11:/floppy# tar -cf - . | tar -xvf - -C /initrd
...
...

- now (optionally but preferably) disable /home mounting in mmc system and copy /home to mmc too

vi /initrd/etc/event.d/rcS-late
comment line
# /bin/mount /home || echo "Failed to mount /home partition."

and when you are at editing it you can add "umount /mnt/initfs" there to unmount previous ubifs root (possibly saves some RAM)

Code:

Nokia-N900-42-11:/floppy# cd
Nokia-N900-42-11:~# umount /floppy/
Nokia-N900-42-11:~# mount --bind /home /floppy
Nokia-N900-42-11:~# cd /floppy/
Nokia-N900-42-11:/floppy# tar -cf - . | tar -xvf - -C /initrd/home
...
...
Nokia-N900-42-11:/floppy# cd
Nokia-N900-42-11:~# umount /floppy
Nokia-N900-42-11:~# umount /initrd

now reboot with keyboard open and select boot from external card partition 2, ext2


--bind mounts to /floppy are there to omit copying /proc /sys... for root system and /home/user/MyDocs for /home

Stskeeps 2009-12-29 06:49

Re: possibility other OS that Maemo 5 on N900?
 
Quote:

Originally Posted by fanoush (Post 444600)
Quick and dirty way:

This worked for you? I had a similar approach but with rsync and I had a stall in startup-pin-query where it never moved on, so am curious :)

fanoush 2009-12-29 09:21

Re: possibility other OS that Maemo 5 on N900?
 
Quote:

Originally Posted by Stskeeps (Post 444840)
This worked for you? I had a similar approach but with rsync and I had a stall in startup-pin-query where it never moved on, so am curious :)

Yes but I'm not using it as a phone, will try to put some SIM in and retry.

EDIT: oh, forgot that I reflashed to PR1.1 yesterday so I no longer have 42-11 and cannot flash back (or so they say). The nearest I can try this evening is to boot old rootfs with new kernel and new cmt firmware. And then of course with newer OS cloned to third partition.

fanoush 2009-12-30 22:24

Re: possibility other OS that Maemo 5 on N900?
 
Quote:

Originally Posted by fanoush (Post 444915)
The nearest I can try this evening is to boot old rootfs with new kernel and new cmt firmware. And then of course with newer OS cloned to third partition.

OK, cloned newer system to third microsd partition as described above, put SIM with pin code in and I can confirm that:

- old rootfs (42-11) boots fine from second partition including entering SIM pin code and appears to work fine (with newer kernel, bootloader etc)
- new rootfs (51-1) boots fine from third partition including entering pin code too

- new rootfs was somehow clever with system locale and SIM (operator? location?), I had english as default before cloning but with SIM in it did some additional post boot initialization and changed my locale to Czech

bdogg64 2009-12-30 23:33

Re: possibility other OS that Maemo 5 on N900?
 
Quote:

Originally Posted by fanoush (Post 447267)
OK, cloned newer system to third microsd partition as described above, put SIM with pin code in and I can confirm that:

- old rootfs (42-11) boots fine from second partition including entering SIM pin code and appears to work fine (with newer kernel, bootloader etc)
- new rootfs (51-1) boots fine from third partition including entering pin code too

- new rootfs was somehow clever with system locale and SIM (operator? location?), I had english as default before cloning but with SIM in it did some additional post boot initialization and changed my locale to Czech

If possible, can you say what kernel the newest firmware is running?

fanoush 2009-12-31 08:04

Re: Possibility of OS other than Maemo 5 on N900?
 
oh, sorry, by new I mean just new build possibly with some bug fixes


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

vBulletin® Version 3.8.8