Editing Booting from a flash card
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: | ||
- | + | {{Midgard article}} | |
- | + | ||
- | + | ||
== Why would we want to boot from a flash card? == | == Why would we want to boot from a flash card? == | ||
- | |||
* For more space to install applications. | * For more space to install applications. | ||
- | * An easy-to- | + | * An easy-to-user bootable backup. |
* To improve performance (note, this is dependent on the quality of your flash card). | * To improve performance (note, this is dependent on the quality of your flash card). | ||
- | + | ||
== Gain root access == | == Gain root access == | ||
Line 15: | Line 12: | ||
== Partition your card == | == Partition your card == | ||
- | Follow the instructions to [[partitioning | + | Follow the instructions to [[partitioning an MMC card|partition your card]]. |
- | == Install | + | == Install bootmenu == |
- | First, we need to install wget, so open | + | Connect your device to the charger, as running out of battery power during the flashing process could damage the device. |
+ | |||
+ | First, we need to install wget, so open Xterm and, '''as root''', run: | ||
apt-get install wget | apt-get install wget | ||
Line 25: | Line 24: | ||
Then run: | Then run: | ||
- | mkdir | + | mkdir /home/user/local/bin |
- | cd /home/user/bin | + | cd /home/user/local/bin |
wget <nowiki>http://www.nmacleod.com/nokia/bin/nupgrade.sh</nowiki> | wget <nowiki>http://www.nmacleod.com/nokia/bin/nupgrade.sh</nowiki> | ||
wget <nowiki>http://www.nmacleod.com/nokia/bin/tar</nowiki> | wget <nowiki>http://www.nmacleod.com/nokia/bin/tar</nowiki> | ||
chmod +x nupgrade.sh tar | chmod +x nupgrade.sh tar | ||
- | + | Now we need to download and install fanoush's [http://fanoush.wz.cz/maemo/ initfs flasher], so, '''as root''', run: | |
- | + | cd /home/user/local/bin | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | cd /home/user/bin | + | |
wget <nowiki>http://fanoush.wz.cz/maemo/initfs_flasher.tgz</nowiki> | wget <nowiki>http://fanoush.wz.cz/maemo/initfs_flasher.tgz</nowiki> | ||
tar zxvf initfs_flasher.tgz | tar zxvf initfs_flasher.tgz | ||
- | cd | + | cd initfs_flasher/ |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
./initfs_flash | ./initfs_flash | ||
Follow the onscreen instructions. You can answer yes to all of these questions if you don't understand what they mean. | Follow the onscreen instructions. You can answer yes to all of these questions if you don't understand what they mean. | ||
- | + | Now we need to load the kernel modules for ext2, so, '''as root''', run: | |
- | + | insmod /mnt/initfs/lib/modules/$(uname -r)/mbcache.ko | |
- | + | insmod /mnt/initfs/lib/modules/$(uname -r)/ext2.ko | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
== Clone to the card == | == Clone to the card == | ||
- | |||
- | |||
Now it'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: | Now it'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: | ||
- | |||
* 0 - Create ext2 filesystem on partition 2 of the Internal memory card | * 0 - Create ext2 filesystem on partition 2 of the Internal memory card | ||
* 1 - Mount partition 2 as /opt | * 1 - Mount partition 2 as /opt | ||
Line 87: | Line 56: | ||
So, '''as root''', run: | So, '''as root''', run: | ||
- | cd /home/user/bin | + | cd /home/user/local/bin |
./nupgrade.sh 0 | ./nupgrade.sh 0 | ||
- | |||
- | |||
- | |||
- | |||
./nupgrade.sh 1 | ./nupgrade.sh 1 | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
./nupgrade.sh 2 | ./nupgrade.sh 2 | ||
./nupgrade.sh 3 | ./nupgrade.sh 3 | ||
Line 109: | Line 68: | ||
== Remove the menu == | == Remove the menu == | ||
- | If you decide you do not wish to see the bootmenu any longer, you can uninstall it by either [[ | + | 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: |
sudo ./flasher-3.0 -F <FIASCO image> --flash-only=initfs -R | sudo ./flasher-3.0 -F <FIASCO image> --flash-only=initfs -R | ||
- | |||
- | |||
- | |||
- | [[Category: | + | [[Category:Users]] |
- | [[Category: | + | [[Category:Midgard wiki]] |
+ | [[Category:Wiki page of the day]] |
Learn more about Contributing to the wiki.