Editing Changing the eMMC filesystem
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 15: | Line 15: | ||
=== Solution #1: Do everything on-device === | === Solution #1: Do everything on-device === | ||
- | This solution is based on Solution # | + | This solution is based on Solution #7 in [[Repartitioning_the_flash]]. |
<ol> | <ol> | ||
<li> | <li> | ||
- | Move <code>/home</code> as described in Solution # | + | Move <code>/home</code> as described in Solution #7 in [[Repartitioning_the_flash]]. Follow the described steps strictly until you reach the command which would actually repartition the flash (the sfdisk command). You don't need to follow any other steps from the mentioned solution from now onwards. |
</li> | </li> | ||
<li> | <li> | ||
Line 36: | Line 36: | ||
</li> | </li> | ||
<li> | <li> | ||
- | Now you should edit <code>/etc | + | Now you should edit <code>/etc/rcS-late</code> to make Maemo use <code>/home</code> its original partition again and accept its new filesystem type. |
<ol> | <ol> | ||
<li> | <li> | ||
''Making Maemo use <code>/home</code> its original partition again.'' | ''Making Maemo use <code>/home</code> its original partition again.'' | ||
- | In step 1, you've added | + | In step 1, you've added the line: |
<pre> | <pre> | ||
echo "/dev/mmcblk1p1 /home ext3 rw,noatime,errors=continue,commit=1,data=writeback 0 0" >> $tmp_fstab | echo "/dev/mmcblk1p1 /home ext3 rw,noatime,errors=continue,commit=1,data=writeback 0 0" >> $tmp_fstab | ||
- | |||
- | |||
</pre> | </pre> | ||
- | to <code>/etc/event.d/rcS-late</code>. | + | to <code>/etc/event.d/rcS-late</code>. Modify this line to represent the fstab entry of your new filesystem on /home its original partition. Examples include: |
- | + | <pre> | |
- | + | #ext4 example | |
+ | echo "/dev/mmcblk0p2 /home ext4 rw,noatime,errors=continue,commit=1,data=writeback 0 0" >> $tmp_fstab | ||
+ | </pre> | ||
<pre> | <pre> | ||
#Reiser4 example | #Reiser4 example | ||
Line 59: | Line 59: | ||
''Making Maemo accept the new filesystem type.'' | ''Making Maemo accept the new filesystem type.'' | ||
- | Line no. | + | Line no. 13, 18, 23, 24 and 26 of rcS-late got "ext3" hard-coded in it. We need to edit these lines to represent our new filesystem. |
Ext4 example: | Ext4 example: | ||
<pre> | <pre> | ||
Line 86: | Line 86: | ||
##End of snippet | ##End of snippet | ||
</pre> | </pre> | ||
- | Make sure line | + | Make sure line 24 contains a valid fsck.X command. Try running the command with all its parameters manually before making it permanent. |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
</li> | </li> | ||
</ol> | </ol> | ||
Line 103: | Line 94: | ||
</li> | </li> | ||
</ol> | </ol> | ||
- | |||
- | |||
- | |||
- | |||
== Some initial benchmarks == | == Some initial benchmarks == |
Learn more about Contributing to the wiki.