Reinstall OS

From AlwaysInnovating
Jump to: navigation, search

You can now reinstall the Always Innovating OS from the device itself. You need a Wireless Internet connection (public and WEP only). You can also reinstall the Touch Book by removing the SD card and plugging it into another computer.

Contents

How do I know which system version is running on my Touch Book?

On the Always Innovating OS, click on Start > Other > About Device. Alternatively, you can open a terminal and type:

cat /etc/ai.version

How do I know what is the latest available version of the system?

Just check it on http://www.alwaysinnovating.com/release/latest/ai.version

Do I get automatic updates?

There is no full automatic update for now. You must reinstall the system on your SD card following the instructions below.

How can I reset my Touch Book to the factory settings?

A reset brings the Touch Book back to the configuration just after the last reinstallation. Start your Touch Book, press the power button instantly after you see the white AI logo on screen, and then press the "Advanced Menu" option in the bottom left corner of the multi-OS boot graphical interface (or press escape), and select option 5.

How do I reinstall the system on my Touch Book?

On the Touch Book

On the Always Innovating OS, open a terminal, and type:

sudo -s
wget http://www.alwaysinnovating.com/release/latest/reinstall.sh
chmod a+x reinstall.sh
./reinstall.sh

You will have to reboot your Touch Book. Note that when rebooting, you you imperatively need to press the power button at the very first second you see the white AI logo when your Touch Book reboots, in order to give you access to the multi-OS boot graphical interface; otherwise, it will boot straight to Android. If you missed it the first time, reboot your device right away with a 4-second long press on the tablet power button. Once you get the graphical OS selection interface (see Multi-os), press the "Advanced Menu" option in the bottom left corner of the multi-OS boot graphical interface, and select option 6. Then follow the instructions on screen.

Note that during the reinstall process, you may see a continuous error message sleep: invalid number '.05' after having confirmed that you want to reinstall the device; this message is meaningless and may not make your reinstall fail.

NB: if you get trouble downloading the files at once, you can alternatively download them first separately and update your system from with a USB thumb drive.

On Linux

  • Once your SD card inserted into your Linux PC (directly or thanks to a USB card reader), check where does your SD card appear on your system. Be sure that your SD card is the last external device you plugged into your computer. Then type the following command lines (don't forget the double quotes nor the capital D in Disk)
sudo -s
fdisk -l | grep "Disk /dev"

The output should be a succession of lines beginning with Disk /dev/xxx where xxx can be almost anything (but most usually like sdb or mmcblk0). The last line must be your SD card; you should be able to see the size of it (like 8048 MB if it is the one provided with your TouchBook). Note the disk name of your SD card from this line (like /dev/sdb or /dev/mmcblk0).

  • Then, enter the following commands:
sudo -s
wget http://www.alwaysinnovating.com/release/install-sd.sh
chmod a+x install-sd.sh
./install-sd.sh -d /dev/mmcblk0 -a

If your SD card does not appear under /dev/mmcblk0, then replace it in the last line with the correct device file (/dev/sdb or anything else). Keep in mind that this script will download the whole new system, which can take some time.

Alternatively, you can download the following files from http://www.alwaysinnovating.com/release/latest/

ai-install.tbz2
ai-os-dev.squashfs (please use the mirror file: see link in mirror.txt)
ai-ui.tbz2
android.squashfs (please use the mirror file: see link in mirror.txt)
chromium.squashfs (please use the mirror file: see link in mirror.txt)
install-sd.sh
mlo
u-boot.bin
uImage
uImage2
ubuntu.squashfs (please use the mirror file: see link in mirror.txt)

and run the script locally in your download directory:

sudo -s
chmod a+x ./install-sd.sh
./install-sd.sh -o . -d /dev/mmcblk0 -a

Or, for a fast and more efficient way, you can chose to go through all confirmation steps (but you must be sure of what you are doing, so please read the script first). Once the files downloaded, the process takes between 5 and 10 minutes:

sudo -s
chmod a+x ./install-sd.sh
./install-sd.sh -o . -d /dev/mmcblk0 -f -a

Please check the detailed list of the release folder for more information about these reinstall files.

On MacOS X

Verify that the sd-card.gz file has been downloaded correctly. To do this, you have to verify the md5 checksum by following these steps:

  • open a terminal, go to the directory where has been downloaded your file and run:
md5sum sd-card.gz
  • you can then compare the output value to the supposed md5 value in the md5sum.txt file. If the values are not the same, your file is either not the good one, or the download did not operate correctly.

On a Mac, you need then to format your card with the Disk Utility, and then install the new OS.

  • remove any usb devices (storage key, camera,...) that could be connected to your mac
  • insert your SD card with a USB card reader
  • open the Disk Utility (located in /Applications/Utilities). You should see your SD card appear:

Open the Disk Utility.

  • right-click on the SD card in the left menu and select Information. Note and remember the Disk Identifier field (usually disk2)

Select the SD card to partition it.

  • chose Partition in the tabs. Note that the number of partitions seen can differ if you have an old OS version or if no OS has been successfully installed on your card

Select the SD card to partition it.

  • select 1 partition in the Volume Scheme list and Free Space in the Format list. Click Apply, then Partition. You should then see the following:

Select the SD card to partition it.

Your card is now ready for OS install.

  • open a Terminal (located in /Applications/Utilities), and go into the directory where you downloaded the sd-card.gz file (typically in ~/Downloads)
  • enter sudo mode and install your new OS with replacing rdisk2 in the following command line if the Disk Identifier was not disk2. Be patient: it can take up a long time for some card readers!
sudo -s
gunzip -dc sd-card.gz | dd of=/dev/rdisk2 bs=1m

Your card is now ready to use with the new OS.

On Windows

Note: the installer is known to work on Windows XP, but not on Windows 7. We recommend that you upgrade the Touch Book from the device itself. If you still want to do it on a Windows PC, you need either the native SD card provided by Always Innovating, or a card with at least 8GB of space. The card will be fully erased and only the first 8GB will be used in any case. First, download the sd-card.gz file from http://www.alwaysinnovating.com/release/latest/ to your computer. Then, verify that the sd-card.gz file has been downloaded correctly. To do this, you have to verify the md5 checksum by following these steps:

  • open a windows explorer, find the sd-card.gz file you just downloaded, right-click and select "Hash File"

Select "Hash File" in the right-click menu

  • it then calculates the md5 sum of the file and outputs it in a window:

Compare this md5 value

  • you can then compare this value to the supposed md5 value in the md5sum.txt file. If the values are not the same, your file is either not the good one, or the download did not operate correctly.

You need then to run Updater.exe available here and follow the instructions on screen:

  • make sure that the SD card is the only removable storage connected to the PC.
  • first select the image file to be used for OS installation (usually the sd-card.gz you just downloaded from above).

Run updater.exe and select the image file to be used

  • once done, just click the Start button and check the output messages. Be patient, this will take a while.

Click Start button

  • over success install, the updater should congratulate you for this good work. The whole process should usually take between 10 and 15 minutes.

Wait until end of operation

  • never forget to safely remove your SD card from your computer (left-click on the icon in the bottom-right icon bar and select your SD card drive).

Safely remove your SD card

Your card is now ready to use in your TouchBook.

  • if you get some errors, please check first that your card is well inserted in your computer and that you are logged as an administrator.
Personal tools