Meego Wiki
Views

ARM/N900/Install/Dual Boot

From MeeGo wiki
(Difference between revisions)
Jump to: navigation, search
m (Bootmenu (optional))
Line 1: Line 1:
-
'''Warning: By following these instruction you might cause damage to your N900 device. Make sure that you create a backup of your device before continuing. We do not take any responsibility of the damage that might be caused to your device.'''
+
'''Warning: By following these instructions, you might cause damage to your N900 device. Make sure that you create a backup of your device before continuing. We do not take any responsibility for the damage that might be caused to your device.'''
= Dual booting using flasher =
= Dual booting using flasher =
-
If you have put the MeeGo on N900 image on your microSD, using the [[ARM/N900/tools/flasher|flasher]] you can then dual-boot using this command line:
+
If you have put MeeGo on N900 image on your microSD, using the [[ARM/N900/tools/flasher|flasher]], you can then dual-boot using this command line:
flasher-3.5 -k vmlinuz-file -l -b
flasher-3.5 -k vmlinuz-file -l -b
Line 9: Line 9:
You can download a MeeGo for N900 vmlinuz/kernel from one of the [[ARM/N900|releases]].  
You can download a MeeGo for N900 vmlinuz/kernel from one of the [[ARM/N900|releases]].  
-
Turn off your N900, plug the USB cable into your PC and the flasher will make the N900 load the kernel over USB and boot into MeeGo provided the microSD is put into your N900 and back cover closed. This operation is a one time thing and does not alter your kernel on the device.
+
Turn off your N900, plug the USB cable into your PC, and the flasher will make the N900 load the kernel over USB and boot into MeeGo, provided the microSD is put into your N900 and the back cover closed. This operation is a one time thing and does not alter your kernel on the device.
= Dual Boot Fremantle and MeeGo on N900 =
= Dual Boot Fremantle and MeeGo on N900 =
Line 23: Line 23:
=== Required Fremantle packages ===
=== Required Fremantle packages ===
-
Some additional packages are required to be installed to your Fremantle installation in order to get the dual boot working. This includes kexec-tools, kernel with kexec support and bootmenu.  
+
Some additional packages are required to be installed to your Fremantle installation to get the dual boot working. This includes kexec-tools, kernel with kexec support and bootmenu.  
==== kexec-tools ====
==== kexec-tools ====
-
kexec-tools can be installed from Fremantle Extras-devel repository ([http://repository.maemo.org/extras-devel/pool/fremantle Browse],[http://repository.maemo.org/extras/install/extras-devel-fremantle.install Install]). After installing the repository you can install the package:
+
kexec-tools can be installed from Fremantle Extras-devel repository ([http://repository.maemo.org/extras-devel/pool/fremantle Browse],[http://repository.maemo.org/extras/install/extras-devel-fremantle.install Install]). After installing the repository, you can install the package:
  apt-get install kexec-tools
  apt-get install kexec-tools
==== Kernel with kexec support ====
==== Kernel with kexec support ====
-
In order to boot MeeGo from your Fremantle installation you need to install a kernel that supports kexec, that can be found from HERE.  
+
To boot MeeGo from your Fremantle installation, you need to install a kernel that supports kexec, that can be found from HERE.  
==== Bootmenu (optional) ====
==== Bootmenu (optional) ====
-
If you wish to have a boot menu to select either Fremantle or MeeGo during boot you need to install bootmenu to your device (located also in the Extras-devel repository):
+
If you wish to have a boot menu to select either Fremantle or MeeGo during boot, you need to install bootmenu to your device (located also in the Extras-devel repository):
  apt-get install bootmenu-n900
  apt-get install bootmenu-n900
-
After installing the bootmenu go to the application menu and click the "Install Bootmenu" icon. If you really want to install the bootmenu type ''yes'' to the question.
+
After installing the bootmenu, go to the application menu and click the "Install Bootmenu" icon. If you really want to install the bootmenu, type ''yes'' to the question.
Now you should have a functional bootmenu on your device. You can try it out by rebooting the device and keeping the keypad slide out during the boot.
Now you should have a functional bootmenu on your device. You can try it out by rebooting the device and keeping the keypad slide out during the boot.
-
Next we need to add a new item to the bootmenu for the MeeGo. Add following lines to '''/etc/bootmenu.d/meego.ext.item'''
+
Next, we need to add a new item to the bootmenu for the MeeGo. Add the following lines to '''/etc/bootmenu.d/meego.ext.item'''
  ITEM_NAME="MeeGo (external SD, partition 1)"
  ITEM_NAME="MeeGo (external SD, partition 1)"
  ITEM_ID="meego"
  ITEM_ID="meego"
Line 53: Line 53:
== Install MeeGo ==
== Install MeeGo ==
-
Next we install MeeGo to an external micro SD card (size >= 2G). '''NOTE: The content of the card will be deleted, so copy all essential data to a safe location before continuing.'''
+
Next, we install MeeGo to an external micro SD card (size >= 2G). '''NOTE: The content of the card will be deleted, so copy all essential data to a safe location before continuing.'''
=== Linux ===
=== Linux ===

Revision as of 18:32, 20 August 2010

Warning: By following these instructions, you might cause damage to your N900 device. Make sure that you create a backup of your device before continuing. We do not take any responsibility for the damage that might be caused to your device.

Contents

Dual booting using flasher

If you have put MeeGo on N900 image on your microSD, using the flasher, you can then dual-boot using this command line:

flasher-3.5 -k vmlinuz-file -l -b

You can download a MeeGo for N900 vmlinuz/kernel from one of the releases.

Turn off your N900, plug the USB cable into your PC, and the flasher will make the N900 load the kernel over USB and boot into MeeGo, provided the microSD is put into your N900 and the back cover closed. This operation is a one time thing and does not alter your kernel on the device.

Dual Boot Fremantle and MeeGo on N900

Under construction. This feature is not working in MeeGo 1.0 due to kexec problems

Prerequisites

  1. Fremantle installed on N900
  2. Kernel with kexec support
  3. kexec-tools
  4. Bootmenu (Optional)
  5. 2G+ micro SD card

Required Fremantle packages

Some additional packages are required to be installed to your Fremantle installation to get the dual boot working. This includes kexec-tools, kernel with kexec support and bootmenu.

kexec-tools

kexec-tools can be installed from Fremantle Extras-devel repository (Browse,Install). After installing the repository, you can install the package:

apt-get install kexec-tools

Kernel with kexec support

To boot MeeGo from your Fremantle installation, you need to install a kernel that supports kexec, that can be found from HERE.

Bootmenu (optional)

If you wish to have a boot menu to select either Fremantle or MeeGo during boot, you need to install bootmenu to your device (located also in the Extras-devel repository):

apt-get install bootmenu-n900

After installing the bootmenu, go to the application menu and click the "Install Bootmenu" icon. If you really want to install the bootmenu, type yes to the question.

Now you should have a functional bootmenu on your device. You can try it out by rebooting the device and keeping the keypad slide out during the boot.

Next, we need to add a new item to the bootmenu for the MeeGo. Add the following lines to /etc/bootmenu.d/meego.ext.item

ITEM_NAME="MeeGo (external SD, partition 1)"
ITEM_ID="meego"
ITEM_DEVICE="${EXT_CARD}p1"
ITEM_MODULES="mbcache jbd ext3"
ITEM_FSTYPE="ext3"
ITEM_FSOPTIONS="noatime,rw"

Install MeeGo

Next, we install MeeGo to an external micro SD card (size >= 2G). NOTE: The content of the card will be deleted, so copy all essential data to a safe location before continuing.

Linux

The image can be written with ...

Booting to MeeGo

You can boot to MeeGo with bootmenu (if installed) or with kexec command.

Personal tools