<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://maemo.octonezd.me/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=84.123.116.147</id>
	<title>Maemo Wiki Mirror - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://maemo.octonezd.me/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=84.123.116.147"/>
	<link rel="alternate" type="text/html" href="https://maemo.octonezd.me/index.php/Special:Contributions/84.123.116.147"/>
	<updated>2026-04-22T00:47:53Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://maemo.octonezd.me/index.php?title=Booting_from_a_flash_card&amp;diff=1994</id>
		<title>Booting from a flash card</title>
		<link rel="alternate" type="text/html" href="https://maemo.octonezd.me/index.php?title=Booting_from_a_flash_card&amp;diff=1994"/>
		<updated>2008-11-23T14:15:28Z</updated>

		<summary type="html">&lt;p&gt;84.123.116.147: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article covers the steps you need to follow to boot from a flash card. The process is somewhat involved, so some familiarity with the command line is recommended.&lt;br /&gt;
&lt;br /&gt;
Advanced users may wish to read [[advanced booting]] as well, for more advanced booting-related configuration and setup information.&lt;br /&gt;
&lt;br /&gt;
== Why would we want to boot from a flash card? ==&lt;br /&gt;
* For more space to install applications.&lt;br /&gt;
* An easy-to-use bootable backup.&lt;br /&gt;
* To improve performance (note, this is dependent on the quality of your flash card).&lt;br /&gt;
&lt;br /&gt;
== Gain root access ==&lt;br /&gt;
&lt;br /&gt;
First of all you need to be able to gain [[root access]].&lt;br /&gt;
&lt;br /&gt;
== Partition your card ==&lt;br /&gt;
&lt;br /&gt;
Follow the instructions to [[partitioning a flash card|partition your card]].&lt;br /&gt;
&lt;br /&gt;
== Install the necessary tools ==&lt;br /&gt;
&lt;br /&gt;
First, we need to install wget, so open Xterm and, &#039;&#039;&#039;as root&#039;&#039;&#039;, run:&lt;br /&gt;
&lt;br /&gt;
 apt-get install wget&lt;br /&gt;
&lt;br /&gt;
Then run:&lt;br /&gt;
&lt;br /&gt;
 mkdir -p /home/user/bin&lt;br /&gt;
 cd /home/user/bin&lt;br /&gt;
 wget &amp;lt;nowiki&amp;gt;http://www.nmacleod.com/nokia/bin/nupgrade.sh&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 wget &amp;lt;nowiki&amp;gt;http://www.nmacleod.com/nokia/bin/tar&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 chmod +x nupgrade.sh tar&lt;br /&gt;
&lt;br /&gt;
Then, to install the proper filesystem tools, run:&lt;br /&gt;
&lt;br /&gt;
 apt-get install e2fsprogs&lt;br /&gt;
&lt;br /&gt;
== Install bootmenu ==&lt;br /&gt;
&lt;br /&gt;
Now we need to download and install fanoush&#039;s [http://fanoush.wz.cz/maemo/#initfs initfs flasher], so, &#039;&#039;&#039;as root&#039;&#039;&#039;, run:&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;small&amp;gt;&#039;&#039;Note, although putting initfs_flasher in the directory given is not required, it &#039;&#039;cannot&#039;&#039; be placed on a FAT partition (i.e., one of the cards).&#039;&#039;&amp;lt;/small&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 cd /home/user/bin&lt;br /&gt;
 wget &amp;lt;nowiki&amp;gt;http://fanoush.wz.cz/maemo/initfs_flasher.tgz&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 tar zxvf initfs_flasher.tgz&lt;br /&gt;
 cd /home/user/bin/initfs_flasher/&lt;br /&gt;
&lt;br /&gt;
=== Configuration ===&lt;br /&gt;
&lt;br /&gt;
This is an optional step, but if you want to customize the bootmenu to properly reflect your partitioning setup, change the partition labels, and a number of other options, then you&#039;ll need to rename the appropriate &amp;lt;code&amp;gt;bootmenu.conf.&#039;&#039;device&#039;&#039;.example&amp;lt;/code&amp;gt; file to &amp;lt;code&amp;gt;bootmenu.conf&amp;lt;/code&amp;gt; and edit it to your liking. The README included with flasher and the comments in the configuration file should be enough to tell you what everything is.&lt;br /&gt;
&lt;br /&gt;
The flasher will ask you if you want to include your bootmenu.conf file if you renamed it properly.&lt;br /&gt;
&lt;br /&gt;
=== Flash the initfs ===&lt;br /&gt;
&lt;br /&gt;
 cd /home/user/local/bin/initfs_flasher/&lt;br /&gt;
 ./initfs_flash&lt;br /&gt;
&lt;br /&gt;
Follow the onscreen instructions. You can answer yes to all of these questions if you don&#039;t understand what they mean.&lt;br /&gt;
&lt;br /&gt;
=== Set the default boot device ===&lt;br /&gt;
&lt;br /&gt;
Once the initfs is flashed, you may wish to change to default boot device so the tablet will boot into your preferred partition without intervention. To do this, &#039;&#039;&#039;as root&#039;&#039;&#039;, run:&lt;br /&gt;
&lt;br /&gt;
 chroot /mnt/initfs cal-tool --set-root-device ask:mmc2&lt;br /&gt;
&lt;br /&gt;
To set the default to partition 2 on the internal card. If you would like to set the default to something else, the device is &amp;lt;code&amp;gt;mmc&#039;&#039;#&#039;&#039;&amp;lt;/code&amp;gt; (where # is the partition number) for the internal card, and &amp;lt;code&amp;gt;mmc1&#039;&#039;#&#039;&#039;&amp;lt;/code&amp;gt; for the external card. To set it back the default behavior of booting from the built-in flash, use &amp;lt;code&amp;gt;flash&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Clone to the card ==&lt;br /&gt;
&amp;lt;small&amp;gt;&#039;&#039;Many thanks to [[User:Milhouse|milhouse]] for writing and maintaining this script.&#039;&#039;&amp;lt;/small&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now it&#039;s time to clone your install over to partition 2 of the internal card. The script works in stages to allow better control and error detection, and should take about 10 minutes to complete:&lt;br /&gt;
* 0 - Create ext2 filesystem on partition 2 of the Internal memory card&lt;br /&gt;
* 1 - Mount partition 2 as /opt&lt;br /&gt;
* 2 - Mount rootfs as /floppy&lt;br /&gt;
* 3 - Perform cloning process&lt;br /&gt;
* 4 - Commit filesystem updates and unmount /floppy and /opt&lt;br /&gt;
&lt;br /&gt;
So, &#039;&#039;&#039;as root&#039;&#039;&#039;, run:&lt;br /&gt;
&lt;br /&gt;
 cd /home/user/bin&lt;br /&gt;
 ./nupgrade.sh 0&lt;br /&gt;
 ./nupgrade.sh 1&lt;br /&gt;
 ./nupgrade.sh 2&lt;br /&gt;
 ./nupgrade.sh 3&lt;br /&gt;
 ./nupgrade.sh 4&lt;br /&gt;
 reboot&lt;br /&gt;
&lt;br /&gt;
Your device will reboot when done, and you can select the partition you want to boot from from the bootmenu.&lt;br /&gt;
&lt;br /&gt;
== Remove the menu ==&lt;br /&gt;
&lt;br /&gt;
If you decide you do not wish to see the bootmenu any longer, you can uninstall it by either [[upgrading tablet OS|reflashing the whole OS image]], or just flashing the initfs (in Linux and OS X) by running:&lt;br /&gt;
&lt;br /&gt;
 sudo ./flasher-3.0 -F &amp;lt;FIASCO image&amp;gt; --flash-only=initfs -R&lt;br /&gt;
&lt;br /&gt;
== Advance booting ==&lt;br /&gt;
For more advanced configuration and setup information for booting-related stuff, please see [[advanced booting]].&lt;br /&gt;
&lt;br /&gt;
== Testing ==&lt;br /&gt;
&lt;br /&gt;
Testing it in a 770... (results in a couple of hours...)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Users]]&lt;/div&gt;</summary>
		<author><name>84.123.116.147</name></author>
	</entry>
</feed>