Meego Wiki
Views

ARM/N900/Install/Dual Boot

From MeeGo wiki
(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
-
<strong>WARNING: THIS GUIDE IS NOW OUTDATED</strong>
+
== Dual booting Maemo 5 (Fremantle) PR1.3 and MeeGo 1.1 ==
-
Please see the [http://wiki.meego.com/ARM/N900/Install/U-Boot_from_scratch U-Boot documentation instead] for instructions for N900 dual boot.
+
<strong>WARNING: This guide is experimental and everything you do with this guide is at your own responsibility and risk</strong>
 +
This is a simplified guide for dual-booting with u-boot on Nokia N900.
 +
0. You must be using the PR1.3 kernel and nothing else. You will likely end up in a reboot loop if you don't have this otherwise. You will need a 2gb microSD card or bigger.
 +
1. Enable the maemo.org extras-devel repository, see http://wiki.maemo.org/Extras-devel (The software hosted in extras-devel is not ready for normal users!
 +
PLEASE PLEASE PLEASE don't play with it unless you really know what you are doing. Be ready to file proper bug reports instead of posting complaints.)
-
----
+
2. Install the 'uboot-pr13' package from 'System' section
-
----
+
-
----
+
 +
3. Verify it's installed by restarting your N900. A penguin should show up at startup and , let it time out and boot into Maemo.
-
'''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.'''
+
4. From http://tablets-dev.nokia.com/meego-codedrop.php (type in your IMEI), download meego-handset-armv7l-n900-final-mod-1.1.0.0.20101101.3-mmcblk0p.raw.bz2  -- we require IMEI/EULA but in practice the images are redistributable under certain conditions, see the license files for more information. We just host at tablets-dev.nokia.com to have somewhere for the image.
-
= Dual booting using flasher =
+
5. Follow http://wiki.meego.com/ARM/N900/Install/MMC#Installing_Rootfs_on_external_MMC_card and write the image to your microSD
-
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:
+
6. Now, when the microSD is inserted and the Nokia N900 is turned on, MeeGo will boot. Otherwise it will boot into Maemo.
-
flasher-3.5 -k vmlinuz-file -l -b
+
7. Enjoy!
-
You can download a MeeGo for N900 vmlinuz/kernel from one of the [[ARM/N900#Releases|releases]].  
+
8. In case you want to uninstall u-boot, apt-get install --reinstall kernel-flasher
-
 
+
-
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 due to kexec problems'''
+
-
 
+
-
== Prerequisites ==
+
-
# Fremantle installed on N900
+
-
# Kernel with kexec support
+
-
# kexec-tools
+
-
# Bootmenu (Optional)
+
-
# 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 ([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
+
-
 
+
-
==== 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.
+

Revision as of 10:36, 2 November 2010

Dual booting Maemo 5 (Fremantle) PR1.3 and MeeGo 1.1

WARNING: This guide is experimental and everything you do with this guide is at your own responsibility and risk

This is a simplified guide for dual-booting with u-boot on Nokia N900.

0. You must be using the PR1.3 kernel and nothing else. You will likely end up in a reboot loop if you don't have this otherwise. You will need a 2gb microSD card or bigger.

1. Enable the maemo.org extras-devel repository, see http://wiki.maemo.org/Extras-devel (The software hosted in extras-devel is not ready for normal users! PLEASE PLEASE PLEASE don't play with it unless you really know what you are doing. Be ready to file proper bug reports instead of posting complaints.)

2. Install the 'uboot-pr13' package from 'System' section

3. Verify it's installed by restarting your N900. A penguin should show up at startup and , let it time out and boot into Maemo.

4. From http://tablets-dev.nokia.com/meego-codedrop.php (type in your IMEI), download meego-handset-armv7l-n900-final-mod-1.1.0.0.20101101.3-mmcblk0p.raw.bz2 -- we require IMEI/EULA but in practice the images are redistributable under certain conditions, see the license files for more information. We just host at tablets-dev.nokia.com to have somewhere for the image.

5. Follow http://wiki.meego.com/ARM/N900/Install/MMC#Installing_Rootfs_on_external_MMC_card and write the image to your microSD

6. Now, when the microSD is inserted and the Nokia N900 is turned on, MeeGo will boot. Otherwise it will boot into Maemo.

7. Enjoy!

8. In case you want to uninstall u-boot, apt-get install --reinstall kernel-flasher

Personal tools