Tiny Core Linux: Difference between revisions

From OLPC
Jump to navigation Jump to search
Line 9: Line 9:
: ''See announcement [http://lists.laptop.org/pipermail/devel/2011-January/030768.html Tiny Core Linux 3.4 for XO-1.5]
: ''See announcement [http://lists.laptop.org/pipermail/devel/2011-January/030768.html Tiny Core Linux 3.4 for XO-1.5]


Announcing a build of Tiny Core Linux for XO-1.5 based on the kernel from [[Release_notes/10.1.3|OLPC OS 10.1.3]] build os361.
Announcing a build of Tiny Core Linux for XO-1 and XO-1.5 based on the kernel from [[Release_notes/10.1.3|OLPC OS 10.1.3]] build os361.


Has been found useful for testing and diagnosis without touching the internal storage. Added recently are a few scripts for backing up and restoring.
Has been found useful for testing and diagnosis without touching the internal storage. Added recently are a few scripts for backing up and restoring.
Line 25: Line 25:
=== Downloads ===
=== Downloads ===


* [http://dev.laptop.org/~quozl/tinycore/microcore-3.4-xo-1.5-2011-01-06.tar microcore-3.4-xo-1.5-2011-01-06.tar] (10 MB) (md5sum 164049655ce326f59ea01aa6334da4a5)
* XO-1 [http://dev.laptop.org/~quozl/tinycore/microcore-3.4-xo-1-2011-01-12.tar microcore-3.4-xo-1-2011-01-12.tar] (9.3 MB) (md5sum 9df26f2ba3c53729f47055a86b54bf4e)
* XO-1.5 [http://dev.laptop.org/~quozl/tinycore/microcore-3.4-xo-1.5-2011-01-06.tar microcore-3.4-xo-1.5-2011-01-06.tar] (10 MB) (md5sum 164049655ce326f59ea01aa6334da4a5)


=== Prepare USB Drive ===
=== Prepare USB Drive ===
Line 35: Line 36:
* insert the USB drive,
* insert the USB drive,


* click on the tar file link above, and a dialog window will appear asking you what you want done with the download,
* click on the tar file link above (depending on model of XO), and a dialog window will appear asking you what you want done with the download,


* accept the default to open it in Archive Manager, and the Archive Manager window will appear,
* accept the default to open it in Archive Manager, and the Archive Manager window will appear,
Line 53: Line 54:
==== Linux - Terminal ====
==== Linux - Terminal ====


* download the tar file using the link above, to the USB drive:
* download the tar file using the link above (depending on model of XO), to the USB drive:


cd /media/FRED
cd /media/FRED
Line 70: Line 71:


* insert the USB drive,
* insert the USB drive,
* control-click on the link above, select ''Download Linked File As ...'', and a ''Save As'' dialog will appear,
* control-click on the link above (depending on model of XO), select ''Download Linked File As ...'', and a ''Save As'' dialog will appear,
* change ''Where'' to the name of the USB drive, usually ''Untitled'', then click on ''Save'', the dialog will go away,
* change ''Where'' to the name of the USB drive, usually ''Untitled'', then click on ''Save'', the dialog will go away,
* switch tasks to ''Finder'', display the USB drive,
* switch tasks to ''Finder'', display the USB drive,
Line 79: Line 80:
==== Windows ====
==== Windows ====


* download the tar file,
* download the tar file (depending on model of XO),
* insert the USB drive,
* insert the USB drive,
* use WinZip or other operating system features to expand it onto the USB drive,
* use WinZip or other operating system features to expand it onto the USB drive,

Revision as of 01:09, 12 January 2011

Tiny Core Linux is a minimal Linux distribution, designed for on-demand software loading. This page describes builds of Tiny Core Linux for the OLPC XO-1 and XO-1.5. For more information on Tiny Core Linux, see http://tinycorelinux.com

People involved:

  • James Cameron, does microcore builds,
  • Yioryos Asprobounitis, does tinycore with GUI builds,


microcore 3.4 for XO-1.5

See announcement Tiny Core Linux 3.4 for XO-1.5

Announcing a build of Tiny Core Linux for XO-1 and XO-1.5 based on the kernel from OLPC OS 10.1.3 build os361.

Has been found useful for testing and diagnosis without touching the internal storage. Added recently are a few scripts for backing up and restoring.

Features

  • based on Tiny Core Linux 3.4 microcore variant, configured for a single root shell in text mode,
  • uses the OLPC kernel, for hardware support,
  • includes the wireless firmware shipped with OLPC builds, and binary redistribution of wireless tools from the same builds,

Downloads

Prepare USB Drive

  • select a USB drive of at least 128 MB capacity, (it may have either a FAT or ext2 filesystem),

Linux - GNOME and Firefox

  • insert the USB drive,
  • click on the tar file link above (depending on model of XO), and a dialog window will appear asking you what you want done with the download,
  • accept the default to open it in Archive Manager, and the Archive Manager window will appear,
  • click on Extract, and a dialog window will appear asking you where to extract to,
  • click on the USB drive in the Places list, then click on the Extract button, a dialog window will appear to tell you it worked,
  • close the dialog window,
  • close the Archive Manager window,
  • close the Downloads window,
  • eject the USB drive.

Linux - Terminal

  • download the tar file using the link above (depending on model of XO), to the USB drive:
cd /media/FRED
wget ${URL}
  • extract the tar file, at the top of the USB drive:
cd /media/FRED
tar xf microcore-3.4-xo-1.5-2011-01-06.tar
  • eject the USB drive:
umount /media/FRED

Mac OS X

  • insert the USB drive,
  • control-click on the link above (depending on model of XO), select Download Linked File As ..., and a Save As dialog will appear,
  • change Where to the name of the USB drive, usually Untitled, then click on Save, the dialog will go away,
  • switch tasks to Finder, display the USB drive,
  • double-click on the tar file, and the contents will be expanded, a new folder boot will be created,
  • delete the tar file if you like, it is not required further,
  • eject the USB drive.

Windows

  • download the tar file (depending on model of XO),
  • insert the USB drive,
  • use WinZip or other operating system features to expand it onto the USB drive,
  • eject the USB drive.

Boot USB Drive

  • boot the laptop from the USB drive,
  • after a short wait you will see the system prompt:
root@box:~# 
  • configure wireless manually:
root@box:~# iwlist eth0 scan
root@box:~# iwconfig eth0 essid mynetwork
  • a DHCP client is in the background waiting to act when a network interface comes up.

microcore 3.0 for XO-1

The latest build for XO-1 is based on microcore 3.0. Download microcore-3.0-xo-1-2010-08-02.tar (9.8 MB) and then follow the instructions above, subject to the following changes:

  • use the correct file name when unpacking the tar file,
  • use an ext2 filesystem only (or rename microcore.gz to initrd and change olpc.fth to suit).

tinycore 2.8 with GUI for XO-1 and XO-1.5

In January 2010 a version based on microcore 2.8 was announced for both the XO-1 and XO 1.5.

Ready version of Tiny Core Linux for the XO-1 are available here and instructions for installation (for tc_xo_mm) here

tinycore_xo is the minimal installation with just Xfbdev for display driver

tc_xo_with_apps adds a file manager, basic applications and Opera web browser

tc_xo_mm adds sound, audio and video players

tc_xo_X adds Xorg and functioning game keys

tc-xo_01 in 3 flavors is now available. See the build announcement for more

The tc-xo_02 based on tinycore v2.10 and unmodified OLPC kernel is now available. See the v02 build announcement for more

For further discussion of this variant check this forum thread

References: