Você está na página 1de 20

Howto: Install Ubuntu on Toshiba AC100 posted 22May2011 Tags: digital ac100 howto linux toshiba AC100 ubuntu

Updated: 2011/July/08 :using new ubuntu file package from markus, wifi, sound, suspend and much more functions work out of box!!! markus, Thanks! Toshiba AC100 (or Toshiba Dynabook AZ) is a lightweight smartbook. It only weights 860 grams with a 10.1-inch 1024 x 600 screen and built-in keyboard. It runs Android 2.1 /2.2, which does not fit well with the book. The good news is some hackers are working on an Ubuntu linux system on it. Here I will show you how to install Ubuntu for Toshiba AC100. There are some instructions on installing Ubuntu on AC100 already, but I found most of them are outdated or uncompleted, so I write this one. Here I will show you how to install Ubuntu with 2.6.32 kernel to the internal storage of AC100 or external SD card. To Install Ubuntu on Toshiba AC100, you need to do two things. First, you need to copy Ubuntu system files to a SD card or to the internal storage. Second, update the bootloader, so that AC100 will look for linux system on the internal storage of the AC100. Below will show you the details. What do you need? A Toshiba AC100 A miniUSB<->USB cable A linux PC ( or a PC runs Ubuntu live CD / USB stick ) A 4GB+ SD-card or USB-flash stick

Part Zero: Backup your Toshiba AC100 After this Ubuntu system is installed, the original Android system on your Toshiba AC100 will be gone. With backup, you can restore android system back. 1. Download linux4tegra (L4T) form scoopr, you need nvflash tools from the package. (It seems nvidia now have it removed from their official website and is preparing a new release) 2. Turn you Toshiba AC100 off, use the miniUSB cable connect your AC100 to your linux PC. 3. Holding down CTRL and ESC keys, press (and release) the power-on button,

while the power-on LED turn on, release CTRL and ESC keys. The screen of AC100 should be black, and it is fine. 4. On the Linux PC terminal, backup your AC100: switch to root user mode sudo su cd path-to-your-linux4tegra/ sudo LD_LIBRARY_PATH=./nvflash/ ./nvflash/nvflash --bl ./prebuilt/fastboot.stock.bin --read 6 partition_6_backup.bin --go 5.Power off your Toshiba AC100 by holding power button for 5 seconds after all jobs are done. Part I: Prepare Ubuntu System Files to SD card or USB stick 1.Download ubuntu system file package from: I suggest this one for now: rootfs32-maverick-5-test.tar.gz (readme from markus is here). 2.Create a nilfs2 partition on the SD-card with the linux pc (cation: all data on the card will be deleted!!!, before the process, you may need to install nilfstools with "sudo apt-get install nilfs-tools" command first.): sudo mkfs.nilfs2 /dev/your-sd-card-device-name 4.Mount this device on sudo mount -t nilfs2 /dev/your-sd-card-device-name /mnt 5.Unpack Ubuntu files to it. This may take some time. sudo tar xavf Ubuntu-rootfs-file-package-you-downloaded.tar.gz --numeric-owner -C /mnt 6.After the upacking is done, unmount the device. Now you have Ubuntu system file inside your SD card, but you still need a bootloader to make you book boot to the system. Part II: Update the Bootloader 1.Download markit's new boot img from: http://markit.dyndns.org/ac100/32/boot.menu.img/32.boot.menu.v1.img (8M) 2.Connected your AC100 to a Linux PC, and power it on with CTRL and

ESC keys being held 3.On the Linux PC, flashing partition 6 of your AC100 with markit's boot img: sudo LD_LIBRARY_PATH=./nvflash/ ./nvflash/nvflash --wait --bl ./prebuilt/fastboot.stock.bin --download 6 /the/path/to/32.boot.menu.v1.img --go 4.When it is done, power off your Toshiba AC100 by holding power button for 5 seconds. 5.Now insert the sd card to your AC100 and power it on. You should see the Android system is gone, and your book is booting Ubuntu system from SD card. Before you can use the Ubuntu system, you need to do some basic setup. Part III: install Ubuntu system into internal storage of Toshiba AC100 (Optional) If you don't like run system from sd-card or usb stick, you can install ubuntu directly into the internal storage of Toshiba AC100. Here is how: 1. Power on your AC100, and boot ubuntu from sd-card. 2. Install nilfs-tools on the system. sudo apt-get install nilfs-tools 3. Umount internal storage of AC100 and formate it with nilfs2 file system. (cation: all data on the storage will be delete!, the device name of the internal storage of my AC100 is /dev/mmcblk3p6. Replace /dev/mmcblk3p6 with the name of your internal storage!) sudo umount /dev/mmcblk3p6 sudo mkfs.nilfs2 /dev/mmcblk3p6 4. Mount the storage device and unpack ubuntu system files into it. sudo mount -t nilfs2 /dev/mmcblk3p6 /mnt sudo tar xavf Ubuntu-rootfs-file-package-you-downloaded.tar.gz --numeric-owner -C /mnt 5. All done! Remove the sd-card and reboot your Toshiba AC100, it should boot Ubuntu from internal storage now. How to remove Ubuntu system and restore Android back to your Toshiba AC100 If it turns out that Ubuntu is not what you want, you can remove it from your ac100 and restore the original android system back. 1. Restore the file system of internal storage back to vfat (You need to do this step only if you have installed

ubuntu into the internal storage of AC100. Skip it if you only try ubuntu with a sd-card.): Boot ubuntu from SD-card, then umount internal storage of AC100, and formate it back to vfat file system: sudo umount /dev/mmcblk3p6-or-the-name-of-your-storage-device sudo mkfs -t vfat /dev/mmcblk3p6-or-the-name-of-your-storage-device 2. Restore the original android Bootloader back: Connect your AC100 to a linux PC, holding ESC and Ctrl keys and power it on, and run the following code under linux4tegra path: sudo LD_LIBRARY_PATH=./nvflash/ ./nvflash/nvflash --wait --bl ./prebuilt/fastboot.stock.bin --download 6 /the/path/to/partition_6_backup.bin --go You should have you Toshiba AC100 with Android system back. Useful links on Ubuntu for AC100 stuff from markit: http://markit.dyndns.org/ac100/ gildean's ac100-portal: http://ac100.tunk.org/wiki/phh If you have any problem on installing ubuntu on Toshiba AC100, chat here: irc://irc.freenode.net/ac100 Also See How to Install Native Ubuntu on EeePad Transformer! How to Install Ubuntu on Galaxy Tab 10.1 Android Tablet! Ubuntu on the Motorola Xoom

By Sen (not verified) Thanks for your post. Would like to get some value from otherwise useless (to me) android netbook. Got as far as this command; sudo mkfs.nilfs2 nilfs2 /dev/your-ac100-storage-device-name but I get this error message; mkfs.nilfs2 ver 2.0 Error: cannot find nilfs2: No such file or directory I believe that I must have nilfsc-tools installed and, I do not. So I tried to install it with this; yum install nilfs-tools

all I got was; No package nilfs-tools available. I searched internet for nilfs-tools as an rpm but couldnt find one. I tried following command; apt-get install nilfs-tools all I got was; E: Couldn't find package nilfs-tools I do have nilfs-utils installed on my PC, but that may be a different package alltogether. Any suggestion,solutions are welcome Sln reply 04 Jun 01:46 By yang my mistake. The command should be : sudo mkfs.nilfs2 /dev/your-ac100storage-device-name sorry. reply 04 Jun 01:43 By yang try yum install nilfs-utils yum install nilfs-utils-devel reply 04 Jun 06:49

By Anonymous (not verified) After formatting and mounting the usb-dev I cant write to it. All I got is an I/Oerror. The big problem is that its impossible to turn on USB storage sharing again (because the partition is formatted with an unknown filesys), so I can't try to format it again and I cant use the disk in Android. I have root and shell-access in Android but I am not sure which partition I have to do mkfs on... Any idea? reply 04 Jun 22:40 By yang I met the same problem before. The partition should be /dev/mmcblk3p6, but reformat it did not fix my problem. After restoring my android system backup the partition came back again. But I still don't understand why restoring would do the job. You may try restoring your backup system, or flashing android in different version (e.g. 2.1/2.2) . ( you may need to reformat the partition to ext3 or ext2 first, -- just like I did) Or, You can find a SD card, and format the SD card nilfs2 file system, and exact Ubuntu files into the card, then (after Updating the Bootloader) you can boot Ubuntu from the card. Then, if you still want to install Ubuntu into the internal storage, you can format the storage partition to nilfs2 with the Ubuntu system running from the SD card, then exact Ubuntu file into the Internal storage of AC100. Removing the SD card, you Thoshiba AC 100 should boot Ubuntu from the internal storage. reply 06 Jun 06:17 By Anonymous (not verified) Yes that works, almost... There is no nilfs-tools for arm, so I formatted the internal storage with an ext3-filesys instead. Now it's booting fine. reply

07 Jun 01:44 By yang There is nilfs tools for arm. http://launchpadlibrarian.net/48280071/nilfstools_2.0.18-2_armel.deb But I think ext3 should be ok too. reply 05 Jun 04:46 By Den (not verified) Hello! I'm stuck at the Part I, Step 3. I installed nilfs-tools and nilfs2-tools through Ubuntu Software Center. What exactly do you mean by Unmount the internal storage? Eject, safely remove the device or something else? And how to format the dev, what is my ac100 storage device name -how to find it? Thanks in advance! Have a nice day! Best regards! reply 05 Jun 14:13 By yang I believe ejecting, safely removing the device may do the same with umounting, but I use the umount command. To use the umount command, you need to do it in a Terminal, and you also need to know the name of you storage device. To find out the name of your AC100 storage device's name, you can try this: First, eject / safely remove and unplug your AC100 from your Ubuntu PC. Open a Terminal. Re-plug You AC100 back in, then run below command on the Terminal: sudo dmesg | tail -20 You can figure out the storage's name from the output. It should be something like: mmcblk3p6.

To umount a device named mmcblk3p6, you can do: sudo umount /dev/mmcblk3p6 in the Terminal. You are welcome. reply 05 Jun 22:44 By Anonymous (not verified) Hi! I use how-to from http://salaliitto.com/~gildean/ac100/wiki/phh/ Then I decided to make a clean internal install. I deleted all partitions on my AC100 and made just one 8GB partition. How can I now install ubuntu on this partition? Both how-to's doesn't work (anymore), not even gildean's from USB stick. Please advise... reply 06 Jun 01:04 By yang Sorry, I don't know how to install Ubuntu on this new partition. Maybe you should try restoring the original system back. reply 06 Jun 15:08 By Anonymous (not verified) Another, maybe stupid question... How do I play mp3's? Rhythmbox cant find any suitable plugin. reply

07 Jun 01:41 By yang I know mplayer can play mp3 files. reply 11 Jun 03:06 By Alexandre (not verified) Thanks for those clean instructions. To be able to start up, linux4tegra can currently be found here : http://scoopr.fi/dump/linux4tegra_10.9.3.tar.gz Cheers, reply 18 Jun 17:10 By Anonymous (not verified) I follow these steps and it works fine from USB stick, but when I do the same thing for internal storage of my AC100, this problem occurs: PRESS ANY KEY TO SEARCH eMMC (if not it is only used if for 15 seconds no external boot media got ready) search for rootfs on SD/MMC/USB (1/5) ... search for rootfs on SD/MMC/USB (2/5) ... search for rootfs on SD/MMC/USB (3/5) ... search for rootfs on SD/MMC/USB (4/5) ... search for rootfs on SD/MMC/USB (5/5) ... still nothing found -> trying internal eMMC hmm, mount rootfs to /root yourself and press ctrl-d /bin/sh: can't access tty; job control turned off / # _ What should I do to make it work from internal storage? Thanks for any help!

reply 18 Jun 23:11 By yang You can boot ubuntu from your USB stick, and then do the job of Part I: Prepare Ubuntu System Files on the system. reply 08 Jul 20:57 By d Beni (not verified) I run into exactly the same problem and found out, that my internal storage is named "mmcblk3", but this init-script only looks for "mmcblk0" and "mmcblk3p*". I tried to extract the script from the boot.img but i failed (extracting initrd.img worked - but it won't mount it - nilfs2 problem i guess). My workaround for the moment: mount the internal storage manually and after press "CTRL-D"... reply 20 Jun 16:56 By Anonymous (not verified) I did exactly what you said and I got this above mentioned error. Or did I miss something? reply 20 Jun 23:41 By yang When you boot from your usb stick, can you mount internal storage and see files

on it? reply 04 Jul 22:04 By Anonymous (not verified) No. Why? reply 01 Jul 18:48 By gildean (not verified) For the people that fin this tideous: I have a modded rootfs and a guide regarding it, which has everything done in advance, so things work out of the box, with no need to fiddling around. The guide can be found on my ac100portal here: http://ac100.tunk.org/wiki/phh You're welcome. reply 06 Jul 04:35 By Richard (not verified) I'm considering this for a lightwieght solution/ a bit of fun. Is there a list of what is and isn't working currently? Most importantly, what is battery life like running ubuntu? I guess this will be changing all the time as you guys work on it and if/when Nvidia updates their linux4tegra stuff. Many thanks, Richard reply 06 Jul

14:53 By Richard (not verified) Hi, Thanks for putting this up. I'm really interested in picking one of these up as a lightweight solution and a bit of fun. Before I take the plunge can you give me an idea of battery life and disk space after installing ubuntu? Many thanks, Richard reply 09 Jul 00:42 By yang Ubuntu system files take around 2 GB space. Battery life is not bad with ubuntu. I did not test it. reply 08 Jul 19:44 By Anonymous (not verified) Internal setup Installing on the internal emmc works the same way. ... don't create a new partition, just umount and format /dev/mmcblk3p6 ... I deleted all existing partitions and created just one, brand new partition. Could this be a problem now? Thanks for any advice! reply

09 Jul 00:43 By yang I don't know. Does it work fine? reply 08 Jul 21:19 By Anonymous (not verified) I booted rootfs-32-maverick-5-test.tar.gz from SD-card, but WiFi doesn't work. How come? reply 09 Jul 00:46 By yang I tested the same ubuntu rootfs from sd-card, wifi worked fine. What is the model of your AC100? reply 09 Jul 19:10 By Anonymous (not verified) AC100-10V reply 09 Jul 20:00

By yang Have you try install wifi driver manually? Download the driver from http://markit.dyndns.org/ac100/32/wifi/2.3/, then copy the three files to /lib/modules/2.6.32.../kernel/drivers/net/wireless and run sudo depmod insmod rtutil3070sta.ko && insmod rt3070sta.ko && insmod rtnet3070sta.ko reply 19 Aug 21:46 By Anonymous (not verified) It can't copy these files into this folder. I get "Error moving file: Permision denied". reply 20 Aug 11:40 By yang Do it as a root user. If you want to use nautilus, try gksu nautilus or use the command line: sudo cp /path/from/file /target/path reply 15 Jul 06:08 By Robert (not verified) Hi, I am a novice with the Ubuntu - Terminal commands, so it took a while untill I get it to browse through directories and copy/paste the sentences. Still, I'm stuck

on a big problem. When I try to backup (or to change the bootloader) I get the message "Cannot find device". How come? I must mention that I use a laptop instead of a desktop PC, but I guess that don't matter. I also use a mini-USB to regular USB cable (the mini USB goes in the ac100 and the regular USB in the laptop; the laptop doesn't come with a mini_USB port). If I conect the two machines with the ac100 being on, then I can view it's content on the laptop. So there is communication between ac100 and the laptop. Still, "cannot find device" when I hit enter after "sudo LD_LIBRARY_PATH=./nvflash/ ./nvflash/nvflash --bl ./prebuilt/fastboot.stock.bin --read 6 partition_6_backup.bin --go". One more thing: if I install Ubuntu will I have 3G support? Because, for me, this is the reason to drop Android - I cannot use an external modem with this model (ac10010d) because of its operation system. Thank you. all the best, robert reply 15 Jul 21:15 By yang Using a desktop or a laptop do not matter. The way you connect your AC100 to the laptop was right. Did you powered your AC100 on with CTRL and ESC keys being pressed? If so, its screen should be back. From this table: http://tosh-ac100.wetpaint.com/page/Hardware , I see AC-10D does not support 3G connection. It is not because the operation system, but the hardware. If so, installing Ubuntu will not bring the 3G support. reply 18 Jul 16:26 By mike (not verified) Excellent guide, worked right away for my AC100-10G. Just one correction: command at PART I step 3 has an extra "nilfs2"! WiFi may not connect right away, but works if BT is off, 3G asks for PIN but still not sure if it works. My 1st try to upgrade to 11.04 failed, but thanks to your excellent instructions, it's very easy to re-extract the files on the SD and try again. reply 18 Jul

23:27 By yang Thank you for your correction! reply 30 Jul 04:42 By Richard (not verified) Everything is up and running nicely except I have no sound (even through headphones). From what I can tell the sound card is installed and recognized, there is just no output. If it helps there is no sound icon in the panel with internet connection and time etc. Any ideas what has gone wrong? reply 31 Jul 00:42 By yang There should be a sound icon in the status menu. How do you tell the sound card is installed? You can join the irc channel irc://irc.freenode.net/ac100 and ask for help there. reply 05 Aug 02:33 By daniele (not verified) thanks for the guide ... i've got only a question if i flash it on the v4b by silver alx everythink work in the same way? reply 05 Aug

16:08 By yang I believe so. reply 07 Aug 18:52 By Pierre (not verified) I have an AC100-114 with Android 2.1 (not upgraded). If I follow the instruction here http://people.canonical.com/~ogra/tegra/2.6.37/ It is very unstable, but it works (which proves that the AC100 is booting from the partition 6). I then followed the instruction in this page, but the AC100 does not boot the sd or usb card with the 32.boot.menu.img (I tried 3 version: 32.boot.menu.img, 32.boot.menu.v1.img and 32.boot.menu.v3.img). I always have a black screen after the (short: 1 sec.) "Toshiba" logo. reply 08 Aug 10:39 By yang I installed ubuntu on a 2.2 AC100, it worked well. I think you should upgrade your AC100 to android 2.2 and try again. reply 10 Aug 01:07 By krooto (not verified) Wow! it works perfectly except sound! How to fix this? reply

12 Aug 11:43 By yang I'm sorry to hear that. Richard had the same problem. Can you see the sound icon in the status menu? reply 10 Aug 02:29 By daniele (not verified) ok i've installed the nilfs tool but i don't understand a thing: the string sudo mkfs.nilfs2 /dev/your-sd-card-device-name is to format the sd in nilfs???if not how can i do ? i've got a sd with 2gb of space and a usb stick with 16 gb can i use the sd or i have to use the usb stick??? reply 12 Aug 11:38 By yang You need to use the usb stick, because I think 2GB space will not be enough to install the ubuntu system. The sudo mkfs.nilfs2 /dev/your-sd-card-device-name command is to formatting sd card or usb stick device. Replace your-sd-carddevice-name with your real device name. reply 12 Aug 20:31

By daniele (not verified) i don't know how to find the name sorry .... i can use the application to format it or only the comand?? reply 12 Aug 22:35 By yang read my reply above: To find out the name of your AC100 storage device's name, you can try this: First, eject / safely remove and unplug your AC100 from your Ubuntu PC. Open a Terminal. Re-plug You AC100 back in, then run below command on the Terminal: sudo dmesg | tail -20 You can figure out the storage's name from the output. It should be something like: mmcblk3p6. I used the command line. Maybe you can use GUI application, but I haven't tried it. reply 13 Aug 00:18 By karl (not verified) Hi, I did a stupid mistake and followed your instructions, but I forgot the backup. Now I need to restore the original android 2.1 to it, how can I do it? reply 13 Aug 10:28 By yang Get a backup files from other people (The hardware model should be the same),

or download a flash rom from sites like 4pda.ru. reply 1 2 next last Post new comment Your name: Anonymous E-mail: The content of this field is kept private and will not be shown publicly. Homepage: Comment: *

2009 KoZen