<?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=97.100.162.113</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=97.100.162.113"/>
	<link rel="alternate" type="text/html" href="https://maemo.octonezd.me/index.php/Special:Contributions/97.100.162.113"/>
	<updated>2026-04-22T02:01:51Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://maemo.octonezd.me/index.php?title=Partitioning_a_flash_card&amp;diff=31633</id>
		<title>Partitioning a flash card</title>
		<link rel="alternate" type="text/html" href="https://maemo.octonezd.me/index.php?title=Partitioning_a_flash_card&amp;diff=31633"/>
		<updated>2009-08-05T01:06:23Z</updated>

		<summary type="html">&lt;p&gt;97.100.162.113: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;WARNING: Partitioning your flash card will delete all data of the card, so be sure to back up any important data to a computer or another flash card.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Install the necessary packages and create partitions ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; on the N800 and N810 the filesystem numbering can be a little confusing.&lt;br /&gt;
&lt;br /&gt;
* The &#039;&#039;&#039;external&#039;&#039;&#039; card device is /dev/mmcblk1 (mounted at /media/mmc1)&lt;br /&gt;
* The &#039;&#039;&#039;internal&#039;&#039;&#039; card device is /dev/mmcblk0 (mounted at /media/mmc2)&lt;br /&gt;
&lt;br /&gt;
So if you plan to format the external media card you will need to replace mmcblk0p with mmcblk1p in the recipe below.&lt;br /&gt;
&lt;br /&gt;
First, you will need [[root access]].&lt;br /&gt;
&lt;br /&gt;
In Xterm on your tablet, run:&lt;br /&gt;
&lt;br /&gt;
 apt-get install e2fsprogs&lt;br /&gt;
 umount /media/mmc1&lt;br /&gt;
 umount /media/mmc2&lt;br /&gt;
 sfdisk /dev/mmcblk0 &amp;lt;&amp;lt; EOF&lt;br /&gt;
 1,15000,6&lt;br /&gt;
 15001,,&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 EOF&lt;br /&gt;
&lt;br /&gt;
This will create two partitions in a 1GB flash card: the first one is FAT16 (that&#039;s what number 6 means), and the second one is the default Linux native partition (83). If you are using a card larger than 2GB, use &amp;quot;c&amp;quot; (FAT32 LBA) instead of &amp;quot;6&amp;quot;.  The size of the first one is almost 480MB (that&#039;s the meaning of the 15000), and the second one is sized till the end of the card (that&#039;s what ,, means). Partitions three and four are empty.&lt;br /&gt;
&lt;br /&gt;
The arguments for [http://linux.die.net/man/8/sfdisk sfdisk] are: &lt;br /&gt;
* The device node to use for the partition&lt;br /&gt;
* The start cylinder on the card&lt;br /&gt;
* The end cylinder on the card (leave blank to have the partition go to the end of the disk)&lt;br /&gt;
* The filesystem type ([http://www.win.tue.nl/~aeb/partitions/partition_types-1.html complete list])&lt;br /&gt;
&lt;br /&gt;
A cylinder is a 32KB block on a flash card, so 15,000 cylinders equates to 480,000KB (approx. 480MB).&lt;br /&gt;
&lt;br /&gt;
== Format the partitions ==&lt;br /&gt;
&lt;br /&gt;
Once you have created the required partition table, you will need to initialise the filesystems.&lt;br /&gt;
&lt;br /&gt;
Type as root:&lt;br /&gt;
&lt;br /&gt;
 mkdosfs /dev/mmcblk0p1&lt;br /&gt;
 shutdown -r now&lt;br /&gt;
&lt;br /&gt;
After it reboots, then open Xterm and, as root, run:&lt;br /&gt;
&lt;br /&gt;
 mke2fs /dev/mmcblk0p2&lt;br /&gt;
 shutdown -r now&lt;br /&gt;
&lt;br /&gt;
== Mounting the partitions ==&lt;br /&gt;
&lt;br /&gt;
The VFAT partition will be mounted by the system automagically at start-up. To mount the EXT2 partition we need to load the kernel modules, so open Xterm and,  &#039;&#039;&#039;as root&#039;&#039;&#039;, type:&lt;br /&gt;
&lt;br /&gt;
 insmod /mnt/initfs/lib/modules/$(uname -r)/mbcache.ko&lt;br /&gt;
 insmod /mnt/initfs/lib/modules/$(uname -r)/ext2.ko&lt;br /&gt;
 mount /dev/mmcblk0p2 /media/mmc2&lt;br /&gt;
&lt;br /&gt;
(Note: /media/mmc2 will already have the VFAT partition mounted.  Perhaps we should create a directory in /media and mount to that instead?)&lt;br /&gt;
[[Category:Users]]&lt;br /&gt;
[[Category:Wiki page of the day]]&lt;/div&gt;</summary>
		<author><name>97.100.162.113</name></author>
	</entry>
	<entry>
		<id>https://maemo.octonezd.me/index.php?title=Partitioning_a_flash_card&amp;diff=31634</id>
		<title>Partitioning a flash card</title>
		<link rel="alternate" type="text/html" href="https://maemo.octonezd.me/index.php?title=Partitioning_a_flash_card&amp;diff=31634"/>
		<updated>2009-08-05T00:03:25Z</updated>

		<summary type="html">&lt;p&gt;97.100.162.113: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;WARNING: Partitioning your flash card will delete all data of the card, so be sure to back up any important data to a computer or another flash card.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Install the necessary packages and create partitions ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; on the N800 and N810 the filesystem numbering can be a little confusing.&lt;br /&gt;
&lt;br /&gt;
* The &#039;&#039;&#039;external&#039;&#039;&#039; card device is /dev/mmcblk1 (mounted at /media/mmc1)&lt;br /&gt;
* The &#039;&#039;&#039;internal&#039;&#039;&#039; card device is /dev/mmcblk0 (mounted at /media/mmc2)&lt;br /&gt;
&lt;br /&gt;
So if you plan to format the external media card you will need to replace mmcblk0p with mmcblk1p in the recipe below.&lt;br /&gt;
&lt;br /&gt;
First, you will need [[root access]].&lt;br /&gt;
&lt;br /&gt;
In Xterm on your tablet, run:&lt;br /&gt;
&lt;br /&gt;
 apt-get install e2fsprogs&lt;br /&gt;
 umount /media/mmc1&lt;br /&gt;
 umount /media/mmc2&lt;br /&gt;
 sfdisk /dev/mmcblk0 &amp;lt;&amp;lt; EOF&lt;br /&gt;
 1,15000,c&lt;br /&gt;
 15001,,&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 EOF&lt;br /&gt;
&lt;br /&gt;
This will create two partitions in a 1GB flash card: the first one is VFAT 32 LBA (that&#039;s what number c means), and the second one is the default Linux native partition (83). The size of the first one is almost 480MB (that&#039;s the meaning of the 15000), and the second one is sized till the end of the card (that&#039;s what ,, means). Partitions three and four are empty.&lt;br /&gt;
&lt;br /&gt;
The arguments for [http://linux.die.net/man/8/sfdisk sfdisk] are: &lt;br /&gt;
* The device node to use for the partition&lt;br /&gt;
* The start cylinder on the card&lt;br /&gt;
* The end cylinder on the card (leave blank to have the partition go to the end of the disk)&lt;br /&gt;
* The filesystem type ([http://www.win.tue.nl/~aeb/partitions/partition_types-1.html complete list])&lt;br /&gt;
&lt;br /&gt;
A cylinder is a 32KB block on a flash card, so 15,000 cylinders equates to 480,000KB (approx. 480MB).&lt;br /&gt;
&lt;br /&gt;
== Format the partitions ==&lt;br /&gt;
&lt;br /&gt;
Once you have created the required partition table, you will need to initialise the filesystems.&lt;br /&gt;
&lt;br /&gt;
Type as root:&lt;br /&gt;
&lt;br /&gt;
 mkdosfs /dev/mmcblk0p1&lt;br /&gt;
 shutdown -r now&lt;br /&gt;
&lt;br /&gt;
After it reboots, then open Xterm and, as root, run:&lt;br /&gt;
&lt;br /&gt;
 mke2fs /dev/mmcblk0p2&lt;br /&gt;
 shutdown -r now&lt;br /&gt;
&lt;br /&gt;
== Mounting the partitions ==&lt;br /&gt;
&lt;br /&gt;
The VFAT partition will be mounted by the system automagically at start-up. To mount the EXT2 partition we need to load the kernel modules, so open Xterm and,  &#039;&#039;&#039;as root&#039;&#039;&#039;, type:&lt;br /&gt;
&lt;br /&gt;
 insmod /mnt/initfs/lib/modules/$(uname -r)/mbcache.ko&lt;br /&gt;
 insmod /mnt/initfs/lib/modules/$(uname -r)/ext2.ko&lt;br /&gt;
 mount /dev/mmcblk0p2 /media/mmc2&lt;br /&gt;
&lt;br /&gt;
(Note: /media/mmc2 will already have the VFAT partition mounted.  Perhaps we should create a directory in /media and mount to that instead?)&lt;br /&gt;
[[Category:Users]]&lt;br /&gt;
[[Category:Wiki page of the day]]&lt;/div&gt;</summary>
		<author><name>97.100.162.113</name></author>
	</entry>
</feed>