Editing User talk:Tomj

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 62: Line 62:
<li>Create a file /etc/default/mount-opts-overwrite containing the line <code>genfstab="0"</code></li>
<li>Create a file /etc/default/mount-opts-overwrite containing the line <code>genfstab="0"</code></li>
-
<li>Edit /etc/fstab, changing the line <pre>/dev/mmcblk0p2 /home ext3 defaults 0 2</pre> to <pre>/dev/mmcblk1p2 /home ext4 defaults 0 0</pre></li>
+
<li>Edit /etc/fstab/, changing the line <pre>/dev/mmcblk0p2 /home ext3 defaults 0 2</pre> to <pre>/dev/mmcblk1p2 /home ext4 defaults 0 0</pre></li>
<li><code>reboot</code> If you've done something wrong, this is where it all comes tumbling down with an infinite reboot loop.</li>
<li><code>reboot</code> If you've done something wrong, this is where it all comes tumbling down with an infinite reboot loop.</li>
Line 70: Line 70:
<li>Get Easy Debian pointing in the right direction by editing /home/user/.chroot to change the line <code>CHROOT=/mnt/debian</code> to <code>CHROOT=/home/debian</code></li>
<li>Get Easy Debian pointing in the right direction by editing /home/user/.chroot to change the line <code>CHROOT=/mnt/debian</code> to <code>CHROOT=/home/debian</code></li>
-
<li>In Easy Debian chroot shell, type <code>cfdisk /dev/mmcblk0</code></li>
+
<li>In Easy Debian chroot shell, type <code>cfdisk mmcblk0</code></li>
<li>There is some unformatted memory at the start of the eMMC; I don't know if it's important, but to preserve it, I started by making a new partiton of it, to be deleted before writing the new setup. I then set up a 25923.23MB <code>mmcblk0p1</code> setting type to 0C (FAT32 (LBA)) for MyDocs and a 5219.49MB <code>mmcblk0p2</code> for home. I then deleted the <code>mmcblk0p4</code> I'd set up to protect the unformatted space at the start and select Write to repartition the eMMC. You may, of course, chose partition sizes to suit yourself. When done, unmount with the Close Debian icon.</li>
<li>There is some unformatted memory at the start of the eMMC; I don't know if it's important, but to preserve it, I started by making a new partiton of it, to be deleted before writing the new setup. I then set up a 25923.23MB <code>mmcblk0p1</code> setting type to 0C (FAT32 (LBA)) for MyDocs and a 5219.49MB <code>mmcblk0p2</code> for home. I then deleted the <code>mmcblk0p4</code> I'd set up to protect the unformatted space at the start and select Write to repartition the eMMC. You may, of course, chose partition sizes to suit yourself. When done, unmount with the Close Debian icon.</li>
Line 79: Line 79:
== Restoring the system to eMMC ==
== Restoring the system to eMMC ==
<ol>
<ol>
-
<li>Mount the future /home. <code>mount /dev/mmcblk0p2 /mnt</code></li>
+
<li>Mount the future /home. <code>mount /dev/mmcblk0p2 /mnt</code>
<li>Restore your home backup: <code>cp -a /home/* /mnt</code></li>
<li>Restore your home backup: <code>cp -a /home/* /mnt</code></li>
Line 85: Line 85:
<li>Unmount /home to be <code>umount /mnt</code></li>
<li>Unmount /home to be <code>umount /mnt</code></li>
-
<li>Mount MyDocs to be: <code>mount /dev/mmcblk0p1 /mnt</code></li>
+
<li>Mount MyDocs to be: <code>mount /dev/mmcblk0p1 /mnt</pcode></li>
<li>Restore MyDocs: <code>cp -a /media/mmc1/* /mnt</code></li>
<li>Restore MyDocs: <code>cp -a /media/mmc1/* /mnt</code></li>
<li>If, like me, you've gone for an ext4 home, edit line 98 of /etc/event.d/rcS-late, changing <code>ext3</code> to <code>ext4</code></li>
<li>If, like me, you've gone for an ext4 home, edit line 98 of /etc/event.d/rcS-late, changing <code>ext3</code> to <code>ext4</code></li>
-
 
<li>Delete the file stopping maemo for looking for eMMC partitions: <code>rm /etc/default/mount-opts-overwrite</code></li>
<li>Delete the file stopping maemo for looking for eMMC partitions: <code>rm /etc/default/mount-opts-overwrite</code></li>
<li>Cross your fingers and <code>reboot</code></li>
<li>Cross your fingers and <code>reboot</code></li>
</ol>
</ol>

Learn more about Contributing to the wiki.


Please note that all contributions to maemo.org wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see maemo.org wiki:Copyrights for details). Do not submit copyrighted work without permission!


Cancel | Editing help (opens in new window)