Editing Mer/Documentation/Bootmenu
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
- | + | ==Setting up your Bootmenu .item files for other operating systems== | |
When flashing the new bootloader (bootmenu) via the Mer installer it will look for items in /etc/bootmenu.d/ and include those in the bootmenu. This is important when you have an operating system e.g. on your external card. | When flashing the new bootloader (bootmenu) via the Mer installer it will look for items in /etc/bootmenu.d/ and include those in the bootmenu. This is important when you have an operating system e.g. on your external card. | ||
- | + | This article assumes that you booted Maemo (or equivalent) from your internal flash. | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
After downloading and installing the Mer installer (see [[Mer/Documentation/Installation]]) you need to work as root (see [[Root_access]]). | After downloading and installing the Mer installer (see [[Mer/Documentation/Installation]]) you need to work as root (see [[Root_access]]). | ||
- | Go to /etc/bootmenu.d/ (<code>cd /etc/bootmenu.d</code>) and check for files (<code>ls -la</code>). Every file with the ending .item in this folder will result in an entry in the bootmenu. The internal flash is always part of the bootmenu.conf, so you dont need | + | Go to /etc/bootmenu.d/ (<code>cd /etc/bootmenu.d</code>) and check for files (<code>ls -la</code>). Every file with the ending .item in this folder will result in an entry in the bootmenu. The internal flash is always part of the bootmenu.conf, so you dont need an entry here. |
- | The following example (<code>vi | + | The following example (<code>vi maemo.ext.item</code>) will make an option in the bootmenu which allows you to boot an operating system (e.g maemo) from the 3rd partition of the external sd card, formatted with ext3: |
<pre> | <pre> | ||
<nowiki> | <nowiki> | ||
# will be shown in the bootmenu | # will be shown in the bootmenu | ||
- | ITEM_NAME=" | + | ITEM_NAME="Maemo on external card, p3" |
# needs to be an unique string to identify this item | # needs to be an unique string to identify this item | ||
- | ITEM_ID=" | + | ITEM_ID="maemo" |
# which hardware device and partition should be booted. | # which hardware device and partition should be booted. | ||
# use ${EXT_CARD} for the external card (slot) or ${INT_CARD} for the internal mmc | # use ${EXT_CARD} for the external card (slot) or ${INT_CARD} for the internal mmc | ||
Line 37: | Line 26: | ||
ITEM_FSTYPE="ext3" | ITEM_FSTYPE="ext3" | ||
# mounting options | # mounting options | ||
- | ITEM_FSOPTIONS="noatime, | + | ITEM_FSOPTIONS="noatime,rw" |
- | + | ||
- | + | ||
</nowiki> | </nowiki> | ||
</pre> | </pre> | ||
- | |||
- | |||
- | |||
==Setting the Default bootmenu item== | ==Setting the Default bootmenu item== | ||
Line 52: | Line 36: | ||
You'll need to work as root (see [[Root_access]]). | You'll need to work as root (see [[Root_access]]). | ||
- | + | '''* How to set Mer to boot as default?''' | |
First you need to set up your .item files stored in /etc/bootmenu.d/ (see above) ''Please set the ITEM_ID to something small with nothing useless and no spaces.'' | First you need to set up your .item files stored in /etc/bootmenu.d/ (see above) ''Please set the ITEM_ID to something small with nothing useless and no spaces.'' | ||
Line 63: | Line 47: | ||
</pre> | </pre> | ||
- | If the ID you set doesn't exist, it will be boot to Internal Flash as default | + | If the ID you set doesn't exist, it will be boot to Internal Flash as default. |
- | + | ||
- | + | ||
+ | |||
+ | '''* How to make bootmenu pop up without pressing any key?''' | ||
Bootmenu will pop up automatically if you add "ask:" to the command above. | Bootmenu will pop up automatically if you add "ask:" to the command above. | ||
Line 75: | Line 60: | ||
</nowiki> | </nowiki> | ||
</pre> | </pre> | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | + | [[Category:Mer|Bootmenu]] |
Learn more about Contributing to the wiki.