maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Alternatives (https://talk.maemo.org/forumdisplay.php?f=36)
-   -   TRI-BOOT- Maemo, Android and MeeGo ? (https://talk.maemo.org/showthread.php?t=57551)

Nokia7Linux 2010-07-01 10:51

TRI-BOOT- Maemo, Android and MeeGo ?
 
I'm currently Dual-booting Maemo & Android on my N900

-- -- --- --- --- --- --- -- -- -- -- -- -- ---
My N900 is flashed with zImage 4 Kernel

Will my phone be affected if I flashed it with the MeeGo Kernel

http://maemoarena.com/2010/07/how-to...eview-on-n900/

??

ToJa92 2010-07-01 11:57

Re: TRI-BOOT- Maemo, Android and MeeGo ?
 
Quote:

Originally Posted by Nokia7Linux (Post 736904)
I'm currently Dual-booting Maemo & Android on my N900

-- -- --- --- --- --- --- -- -- -- -- -- -- ---
My N900 is flashed with zImage 4 Kernel

Will my phone be affected if I flashed it with the MeeGo Kernel

http://maemoarena.com/2010/07/how-to...eview-on-n900/

??

If you flash the Meego kernel then I assume neither Android or Maemo will boot...

IsaacDFP 2011-05-09 23:46

Re: TRI-BOOT- Maemo, Android and MeeGo ?
 
Out of curiosity, a year later, is a triple boot possible now? Maemo/MeeGo/Android (And maybe Windows :o) that would be an OP device lol. But from my understanding, MeeGo can only be flashed on top of Maemo, but is there a package similar to the way we install Android in existence?

misiak 2011-05-10 00:04

Re: TRI-BOOT- Maemo, Android and MeeGo ?
 
Quote:

Originally Posted by IsaacDFP (Post 1003123)
Out of curiosity, a year later, is a triple boot possible now? Maemo/MeeGo/Android (And maybe Windows :o) that would be an OP device lol. But from my understanding, MeeGo can only be flashed on top of Maemo, but is there a package similar to the way we install Android in existence?

Well, it should be... There is note on meego.com page that it works as dual boot with Maemo and U-boot, so it should also work with Multiboot... I will try to do it and write a more extensive tutorial if I succeed but the general idea is:
1. Make a partition on SD card or EMMC
2. Extract MeeGo image there.
3. Don't flash kernel, just copy the file to /boot/multiboot with correct name and place modules in correctly named subdirectory under /lib/modules
4. Create /etc/multiboot.d/02-MeeGo.item file with correct contents... I will have some spare time tommorow in the evening and I will try doing that (maybe someone did that previously and it is somewhere here, did you do some research? ;) )

Hurrian 2011-05-10 00:08

Re: TRI-BOOT- Maemo, Android and MeeGo ?
 
MeeGo doesn't use the modules folder.
It normally uses a kernel image with uBoot that looks for a fat32 fs on mmcblk1p3(/boot) with the actual kernel image, then switches over to use the MMC as mmcblk0 and boots the system like a regular Linux system (you know, without this whole UBIFS and /opt FUBAR-of-a-system.)

MeeGo N900 DE team, feel free to correct me.

mahie 2011-05-11 02:50

Re: TRI-BOOT- Maemo, Android and MeeGo ?
 
is it possible to do like this ....
meego on memory card (flash the kernel)
*****(no u boot)****
then install nitdroid on emmc with multiboot
even if multiboot doesnt work will it boot into meego if memcard is present and will it go to the multiboot selection of nitdroid and maemo if memory card is not present ???

SUN!L 2011-05-11 04:59

Re: TRI-BOOT- Maemo, Android and MeeGo ?
 
Quote:

Originally Posted by Nokia7Linux (Post 736904)
I'm currently Dual-booting Maemo & Android on my N900

-- -- --- --- --- --- --- -- -- -- -- -- -- ---
My N900 is flashed with zImage 4 Kernel

Will my phone be affected if I flashed it with the MeeGo Kernel

http://maemoarena.com/2010/07/how-to...eview-on-n900/

??

I HAVE problem with n900 after installing boot menu and kernal itried to restart but it was not starting

kingoddball 2011-05-11 05:02

Re: TRI-BOOT- Maemo, Android and MeeGo ?
 
This is ridiculous. This has been said many times before. NO!!

It's either Maemo and Android OR Maemo and Meego!

For people new to this. Stick with Maemo and Android! It's good.

@ Nokia7Linux: YES! You will be BADLY AFFECTED!
You will LOSE MULTIBOOT and have to reflash your phone.
Why?
Meego kernel over writes part of Multiboot and causes errors. Don't do it.

@ SUN!L:
What? Bootmenu does not flash any kernel. Just changed what OS is booted (NAND or SD). Did you install Multiboot?
Also, put the phone on charge and make sure it's not flat.

SUN!L 2011-05-11 05:17

Re: TRI-BOOT- Maemo, Android and MeeGo ?
 
Quote:

Originally Posted by kingoddball (Post 1003888)
This is ridiculous. This has been said many times before. NO!!

It's either Maemo and Android OR Maemo and Meego!

For people new to this. Stick with Maemo and Android! It's good.

@ Nokia7Linux: YES! You will be BADLY AFFECTED!
You will LOSE MULTIBOOT and have to reflash your phone.
Why?
Meego kernel over writes part of Multiboot and causes errors. Don't do it.

@ SUN!L:
What? Bootmenu does not flash any kernel. Just changed what OS is booted (NAND or SD). Did you install Multiboot?
Also, put the phone on charge and make sure it's not flat.

i tried to install nitdroid on my device i installed boot menu and lunix kernel after that ihad restarted but now it was not working why

kingoddball 2011-05-11 05:19

Re: TRI-BOOT- Maemo, Android and MeeGo ?
 
What happens when you turn it on???

papa73 2011-05-11 07:26

Re: TRI-BOOT- Maemo, Android and MeeGo ?
 
multiboot: maemo + android + maemo kernel power

over u-boot for kernel power: meego

that work


run u-boot : 1 run meego or 2 run noloboot go to multiboot

kingoddball 2011-05-11 07:56

Re: TRI-BOOT- Maemo, Android and MeeGo ?
 
Can't have uboot and multiboot...

Pillum 2011-05-11 08:03

Re: TRI-BOOT- Maemo, Android and MeeGo ?
 
is there a way to boot meego with powerkernelv47?

papa73 2011-05-11 09:11

Re: TRI-BOOT- Maemo, Android and MeeGo ?
 
Quote:

Originally Posted by kingoddball (Post 1003961)
Can't have uboot and multiboot...

ha... i use uboot and multiboot

kingoddball 2011-05-11 09:26

Re: TRI-BOOT- Maemo, Android and MeeGo ?
 
?? Help the less fortunate ??

Fabry 2011-05-12 13:24

Re: TRI-BOOT- Maemo, Android and MeeGo ?
 
Quote:

Originally Posted by papa73 (Post 1004010)
ha... i use uboot and multiboot

Yes I confirm also.

We can have multiboot + uboot

Mentalist Traceur 2011-05-12 14:57

Re: TRI-BOOT- Maemo, Android and MeeGo ?
 
U-Boot just hijacks the boot process from the main kernel that nolo tries to load - multiboot gets loaded early in the boot process initialized by nolo, reflashes the kernel, then reboots device.

As I understand it U-Boot will get loaded first, always (if the last kernel flashed by multiboot was one with U-Boot's image prepended to the kernel image), because for multiboot to load the kernel must have been initiated enough to run /sbin/preinit at least.

HOWEVER, for this to work consistently, one of your multiboot items must be a kernel with a u-boot image appended in front of it. If this is not done, then whenever you go to some other kernel, that kernel will be reflashed by multiboot, and then when you go back to the kernel where you originally had uboot prepended to, multiboot will use the kernel image it has to flash that back to the kernel partition - which will be a uboot-less kernel image unless you made sure you put the u-boot+kernel image instead of the plain kernel image into the place where multiboot keeps its kernel images.

The much better and less headache-y way would be for someone to get off their *** and figure out how to load the Android kernel from within u-boot, or for someone to figure out how to load both MeeGo and NITDroid with kexek - then we can finally use one of those, saner, methods, for multibooting, and multiboot can either use one of those methods in the backend, or just fade into obscurity.

Fabry 2011-05-12 16:49

Re: TRI-BOOT- Maemo, Android and MeeGo ?
 
Yes you told the right thing.

Infact on my multiboot configuration I have:
- Maemo Original kernel (no u-boot)
- Power Kernel v47 with u-boot
- Nitdroid kernel without u-boot (but it easy to add)

kingoddball 2011-05-13 00:33

Re: TRI-BOOT- Maemo, Android and MeeGo ?
 
Someone needs to make a good tutorial for all of this.. We can have the best of all worlds!

titi974 2011-05-15 17:18

Re: TRI-BOOT- Maemo, Android and MeeGo ?
 
I agree ! It would really be awesome !

Fabry 2011-05-18 21:48

Re: TRI-BOOT- Maemo, Android and MeeGo ?
 
U-Boot installing:
  • Add U-Boot to power kernel v47 using this guide: http://talk.maemo.org/showpost.php?p=876169&postcount=1
    I can supply a prebuild file if someone wants it (and have a public area where drop it)
  • Save the obtained kernel file in /boot/multiboot with name vmlinuz-2.6.28.10-power47 (replacing existing file that you must have if you are already using multiboot with power kernel)
  • Reboot to Maemo with original kernel or to Nitdroid
  • Reboot to Maemo with power kernel.
    This will reflash kernel and so will activate/install u-boot

You will have U-Boot only when you will be under power kernel.
Off Couse U-Boot can be added to Maemo's Original kernel and to Nitroid's Kernel too.

How to boot to MeeGo:
  • Download MeeGo's Disk Image (kernel file is not needed) and write it to MicroSD, off course if you don't have already a prepared MicroSD with MeeGo
  • If you are under Nitdroid's or under Maemo's original kernel, reboot your phone and choose Power kernel
  • Shutdown your phone under power kernel
  • Power On your N900 with keyboard opened

How to show Multiboot's Menu (i.e. to choose with which OS boot):
  • Shutdown or Reboot your phone
  • If you rebooted/shutdown under Nitdroid's or under Maemo's original kernel, power on your N900 with keyboard opened.
    Otherwise (u-boot power kernel) keep the keyboard closed to prevent MeeGo autostart
  • If U-Boot appears wait until it writes "loading kernel image ... OK" and then immediately open the keyboard to activate/show multiboot's menu before booting sequence can start

tusharpatel123 2011-05-21 11:47

Re: TRI-BOOT- Maemo, Android and MeeGo ?
 
Hello All,

I currently have Maemo with NitDroid installed on my N900 using the http://www.nitdroid.com/index.php?ti...-Autoinstaller.

I would like to Tri-boot my device by adding Meego also on the same MMC and hence would request you to Provide with detail steps to be followed to have this thing happen.

I would prefer the Meego 1.2 DE edtion released recently as per the below info from Nokia - Jukka Eklund.

"Quote"

MeeGo for N900

Submitted by Jukka Eklund on 19 May, 2011 - 21:12.


Thanks for the mention Ross! Indeed we are targeting to have a release of N900 DevEdition available for the Conference, and it is built on top of final MeeGo 1.2. But it doesn't stop there, as there seems to be community interest it will continue evolving.

You can find "vanilla" MeeGo 1.2 images here, also for N900: http://repo.meego.com/MeeGo/builds/s...0.0.20110517.1.... But like you said for N900, the DevEdition might be interesting since it has additional applications, contributions and fixes. You can find the main wiki page now at: http://wiki.meego.com/N900.

I will be at the Conference as well, and hoping to have good discussions around this topic! My presentation is here: http://sf2011.meego.com/program/sess...r-edition-noki...

Jukka

"UnQuote"

Also note i have the below mentioned apps (with respect to booting) installed on my device do i need to remove any of them which may not be required.

1) Enhanced boot loader for Maemo
2) Linux Kernel for power user
3) Linux Kernel for power user (boot image)
4) Maemo 5 PR1.2 kernel for multiboot

both linux kernel are power47.

Regards

Tushar

manojkumaru 2011-05-21 13:07

Re: TRI-BOOT- Maemo, Android and MeeGo ?
 
Quote:

Originally Posted by tusharpatel123 (Post 1011880)
Hello All,

I currently have Maemo with NitDroid installed on my N900 using the http://www.nitdroid.com/index.php?ti...-Autoinstaller.

I would like to Tri-boot my device by adding Meego also on the same MMC and hence would request you to Provide with detail steps to be followed to have this thing happen.

I would prefer the Meego 1.2 DE edtion released recently as per the below info from Nokia - Jukka Eklund.

"Quote"

MeeGo for N900

Submitted by Jukka Eklund on 19 May, 2011 - 21:12.


Thanks for the mention Ross! Indeed we are targeting to have a release of N900 DevEdition available for the Conference, and it is built on top of final MeeGo 1.2. But it doesn't stop there, as there seems to be community interest it will continue evolving.

You can find "vanilla" MeeGo 1.2 images here, also for N900: http://repo.meego.com/MeeGo/builds/s...0.0.20110517.1.... But like you said for N900, the DevEdition might be interesting since it has additional applications, contributions and fixes. You can find the main wiki page now at: http://wiki.meego.com/N900.

I will be at the Conference as well, and hoping to have good discussions around this topic! My presentation is here: http://sf2011.meego.com/program/sess...r-edition-noki...

Jukka

"UnQuote"

Also note i have the below mentioned apps (with respect to booting) installed on my device do i need to remove any of them which may not be required.

1) Enhanced boot loader for Maemo
2) Linux Kernel for power user
3) Linux Kernel for power user (boot image)
4) Maemo 5 PR1.2 kernel for multiboot

both linux kernel are power47.

Regards

Tushar


I suggest you, skim through the thread,at the least the latest post before posting to it.

augustthe 2011-05-28 10:22

Re: TRI-BOOT- Maemo, Android and MeeGo ?
 
Quote:

Originally Posted by Fabry (Post 1009552)
U-Boot installing:
  • Add U-Boot to power kernel v47 using this guide: http://talk.maemo.org/showpost.php?p=876169&postcount=1
    I can supply a prebuild file if someone wants it (and have a public area where drop it)
  • Save the obtained kernel file in /boot/multiboot with name vmlinuz-2.6.28.10-power47 (replacing existing file that you must have if you are already using multiboot with power kernel)
  • Reboot to Maemo with original kernel or to Nitdroid
  • Reboot to Maemo with power kernel.
    This will reflash kernel and so will activate/install u-boot

You will have U-Boot only when you will be under power kernel.
Off Couse U-Boot can be added to Maemo's Original kernel and to Nitroid's Kernel too.

How to boot to MeeGo:
  • Download MeeGo's Disk Image (kernel file is not needed) and write it to MicroSD, off course if you don't have already a prepared MicroSD with MeeGo
  • If you are under Nitdroid's or under Maemo's original kernel, reboot your phone and choose Power kernel
  • Shutdown your phone under power kernel
  • Power On your N900 with keyboard opened

How to show Multiboot's Menu (i.e. to choose with which OS boot):
  • Shutdown or Reboot your phone
  • If you rebooted/shutdown under Nitdroid's or under Maemo's original kernel, power on your N900 with keyboard opened.
    Otherwise (u-boot power kernel) keep the keyboard closed to prevent MeeGo autostart
  • If U-Boot appears wait until it writes "loading kernel image ... OK" and then immediately open the keyboard to activate/show multiboot's menu before booting sequence can start

fabry can you supply the prebuild file for u-boot with power-kernel please

Fabry 2011-06-07 09:21

Re: TRI-BOOT- Maemo, Android and MeeGo ?
 
Quote:

Originally Posted by augustthe (Post 1017247)
fabry can you supply the prebuild file for u-boot with power-kernel please

Send me by Private Message your email address and i will send you by email the file

[DarkGUNMAN] 2011-06-16 07:22

Re: TRI-BOOT- Maemo, Android and MeeGo ?
 
PM sent as well! Anything to make things easier.. may be worth making a .deb of it for extras-testing including multiboot item.

I'm using an sdcard recently vacated by nitrdroid after I moved it to the emmc. Does the meego image need to be weitten to the fat32 partition or does it need the ext3 partition formerly used by nitdroid?

Fabry 2011-06-16 12:55

Re: TRI-BOOT- Maemo, Android and MeeGo ?
 
Quote:

Originally Posted by [DarkGUNMAN] (Post 1030036)
PM sent as well! Anything to make things easier.. may be worth making a .deb of it for extras-testing including multiboot item.

I'm using an sdcard recently vacated by nitrdroid after I moved it to the emmc. Does the meego image need to be weitten to the fat32 partition or does it need the ext3 partition formerly used by nitdroid?

MeeGo Image will overwrite your SD so partitions table will be automatically generated during write process.

MeeGo DE uses EXT4 for its main partition

aironeous 2011-06-16 13:04

Re: TRI-BOOT- Maemo, Android and MeeGo ?
 
Evolve III tablets triple boot.
http://www.evolvethree.com.au/

[DarkGUNMAN] 2011-06-16 16:22

Re: TRI-BOOT- Maemo, Android and MeeGo ?
 
Quote:

Originally Posted by Fabry (Post 1030224)
MeeGo Image will overwrite your SD so partitions table will be automatically generated during write process.

MeeGo DE uses EXT4 for its main partition

Image is flashing and kernel is copied to /boot/multiboot
Multiboot item added to /etc/multiboot.d
Should the multiboot item look like this?

Code:

ITEM_NAME="MeeGo DE (2.6.28.10-power47-uBoot)"
ITEM_KERNEL="pow47_uBoot"
ITEM_MODULES="ext4"
ITEM_DEVICE=${EXT_CARD}p1
ITEM_FSTYPE=ext4
ITEM_FSOPTIONS=rw,noatime,errors=remount-ro


Fabry 2011-06-16 22:23

Re: TRI-BOOT- Maemo, Android and MeeGo ?
 
Quote:

Originally Posted by [DarkGUNMAN] (Post 1030347)
Should the multiboot item look like this?

Code:

ITEM_NAME="MeeGo DE (2.6.28.10-power47-uBoot)"
ITEM_KERNEL="pow47_uBoot"
ITEM_MODULES="ext4"
ITEM_DEVICE=${EXT_CARD}p1
ITEM_FSTYPE=ext4
ITEM_FSOPTIONS=rw,noatime,errors=remount-ro


NO!!

UBoot Power Kernel v47 is a Maemo's (Power) Kernel and it is used to start Maemo and not MeeGo.
Please use the same multiboot profile for Power Kernel v46 (of course changing kernel name) or more simple replace your actual power kernel file (in boot/multiboot/) with file obtained from me (which must be renamed)

You can start MeeGo with U-Boot (you only need to open keyboard during power on) and not with multiboot.

[DarkGUNMAN] 2011-06-17 10:02

Re: TRI-BOOT- Maemo, Android and MeeGo ?
 
Quote:

Originally Posted by Fabry (Post 1030552)
NO!!

UBoot Power Kernel v47 is a Maemo's (Power) Kernel and it is used to start Maemo and not MeeGo.
Please use the same multiboot profile for Power Kernel v46 (of course changing kernel name) or more simple replace your actual power kernel file (in boot/multiboot/) with file obtained from me (which must be renamed)

You can start MeeGo with U-Boot (you only need to open keyboard during power on) and not with multiboot.

Thank you for your help - now able to tri-boot now with no issue.
Agreed the best way is to replace the original power47 kernel file as I cannot get it to run as a separate item.

I did create my own kernel image using the method you described so I can adapt future versions of power kernel.
Now I can help by testing new releases of MeeGo.. curious to see how well Cordia runs on top of DE :)

augustthe 2011-06-17 12:20

Re: TRI-BOOT- Maemo, Android and MeeGo ?
 
Quote:

Originally Posted by Fabry (Post 1023883)
Send me by Private Message your email address and i will send you by email the file

ok,I just send you my email thanks

tusharpatel123 2011-09-01 08:58

Re: TRI-BOOT- Maemo, Android and MeeGo ?
 
Hello @Fabry.

Can you provide me with the pre build file. i have the latest PK48 installed.

Fabry 2011-09-05 13:46

Re: TRI-BOOT- Maemo, Android and MeeGo ?
 
I don't have your email

Please send by PM

tusharpatel123 2011-09-15 06:04

Re: TRI-BOOT- Maemo, Android and MeeGo ?
 
Thanks Fabry for the file. You made my work so easy.

People like you have brought life back in N900.:)

tusharpatel123 2011-09-25 07:56

Re: TRI-BOOT- Maemo, Android and MeeGo ?
 
@ Fabry

Its today i could work on the file you gave as my work schedule didn't permit me for it till now.

I copied the file you gave me to the Multiboot folder and renamed it. While doing so i was in Maemo original Kernel hence restarted my phone using Power Kernel.

I again restarted by Phone under Power kernel and just kept the keypad open but the phone switches off the moment the timer comes to 7.

Would this be a probelm with my Multi boot as i remember this was the case before doing the above exercise. i could never time out till 0 even under Maemo Kernel.

any help.


All times are GMT. The time now is 01:36.

vBulletin® Version 3.8.8