OS images: Difference between revisions

From OLPC
Jump to navigation Jump to search
(build numbers -> download + clean up some of the language)
No edit summary
 
(189 intermediate revisions by 65 users not shown)
Line 1: Line 1:
{{Translations}}
The operating system used for OLPC is work-in-progress and so-called ''images'' are available from
{{ Latest Releases
| rc = inline
| stable = inline
| devel = inline
| livecd = inline
| firmware = inline
| server = inline }}


OLPC produces '''OS images''' (also known as '''software builds''') which can be installed on XO laptops, customized and rebuilt by deployments, etc. These images include all of the system and user software, allowing your XO to boot straight into OLPC's software environment.
[http://olpc.download.redhat.com/olpc/streams/development http://olpc.download.redhat.com/olpc/streams/development]


* To install a specific build on your laptop, follow the links to one of the XO releases from the box on the right. For other releases, see [[Releases]].
== Downloads ==
* The [[Release notes]] for each release have instructions for installing or upgrading to a release on your XO. The [[Updating the XO]] page references other ways that software images can be installed.
* If you want to identify which build/release is running on your XO, see [[What release am I running?]].
* If you are interested in testing upcoming releases, the [[Friends in testing]] page explains where you can start.
* If you know what you're doing, you might be able to find the files that you're looking for on http://download.laptop.org
* To build your own image, see [[Building custom images]].


[[Category:Hardware]]
As the operating system for OLPC is under development, there are several builds available. The latest build might not always be stable since developers are experimenting with new features. Each build is labeled with a unique version number. When reporting problems on mailing lists, please make sure you list the build number you are using.
[[Category:Developers]]

[[Category:OS]]
=== Latest Stable ===
[[Category:Build system]]

[[Category:Update paths]]
Latest stable build is [http://olpc.download.redhat.com/olpc/streams/development/build55-20060801_1126/ build55]. --[[User:DavidZeuthen|DavidZeuthen]] 14:16, 28 July 2006 (EDT)
[[Category:Builds]]

== Image variants ==

Images are available in two variants

* Normal images
** These are in the <tt>images/</tt> subdirectory of a build.
** Intended for production use; does not contain tools or software suitable for developers of the OLPC operating system

* Developer images
** These are in the <tt>images-rpm/</tt> sub-directory of a build
** Contains tools useful for developers of the OLPC operating system
*** Presently includes: <tt>yum , rpm, vim-minimal, openssh-server, xterm, which, file, tree, wget, xterm, xorg-x11-twm, gdb</tt>
** '''WARNING''': Do not attempt to update the kernel on <tt>images-rpm</tt> builds - the <tt>initrd</tt> will be wrong. We're working on fixing this through including an <tt>olpc-mkinitrd</tt> package.

=== Passwords ===

The images have no password set at build time. This means you can log in as root using no password. Always remember to change the password as the first thing when start using an image.

As the <tt>image-rpm</tt> variant ships with an SSH server you thus need to set the password to be able to login from a remote host. This is a feature of <tt>sshd</tt>.

''Password handling is subject to change before official release.''

== Using Images ==

For development we right now offer images that runs the OLPC operating system off a USB storage device. We're working on getting this to work on the NAND flash of the hardware too. Instructions to come.

=== Images on USB storage devices ===

To try out an image, simply download the appropriate <tt>.img.bz2</tt> file, e.g.

olpc-stream-development-42-20060714_1709-rpm-ext3.img.bz2

unzip it, and transfer it to a USB storage device via e.g.

# bunzip2 olpc-stream-development-42-20060714_1709-rpm-ext3.img.bz2
# dd if=olpc-stream-development-42-20060714_1709-rpm-ext3.img of=/dev/sdb bs=512
# sync

Remember to
* Do this as the super user / root
* Replace <tt>/dev/sdb</tt> with the device file of the USB storage device
* Make sure any old partitions from the storage device is unmounted.
* The USB storage device must be 512MB or bigger. All existing data on it will be wiped.

Now you should be able to boot the OLPC operating system off the USB storage device.

=== Images in QEMU ===

The easiest way to test the images is to use qemu or some similar emulator. On Fedora Core 5, QEMU is included in extras and is very easy to install. As root just type

yum install qemu

and it should be installed. You may have to start the service for it. As root run:

service qemu start

Once you have an image downloaded, it is very easy to use qemu to launch the OLPC environment:

qemu -hda olpc-stream-development-7-20060609_1600-ext3.img

The simulator will start up at this point. When the screen turns green saying ''One Laptop Per Child'' at the bottom, press the spacebar to get the grub menu. It's '''important that you choose the OLPC Simulator option'''. The default for these images is to boot for the '''OLPC Hardware, not the Simulator'''.

We have heard multiple people say that QEMU doesn't work with these images on the debian-derived distributions. We also haven't heard of any solutions to these problems. The symptom is that the kernel hangs during boot.

[[User:Marcin|Marcin]]: On Ubuntu Dapper it hangs with qemu 0.8.0 (from distro), but works with 0.8.1 from [http://fabrice.bellard.free.fr/qemu/download.html i386 binary tarball].

[[User:Vedran|Vedran]]: It also hangs on Debian unstable with qemu 0.8.1-1 (from distro), but works with 0.8.1 from [http://fabrice.bellard.free.fr/qemu/download.html i386 binary tarball].

Latest revision as of 21:51, 5 August 2013

  english | 日本語 HowTo [ID# 290705]  +/-  



OLPC produces OS images (also known as software builds) which can be installed on XO laptops, customized and rebuilt by deployments, etc. These images include all of the system and user software, allowing your XO to boot straight into OLPC's software environment.

  • To install a specific build on your laptop, follow the links to one of the XO releases from the box on the right. For other releases, see Releases.
  • The Release notes for each release have instructions for installing or upgrading to a release on your XO. The Updating the XO page references other ways that software images can be installed.
  • If you want to identify which build/release is running on your XO, see What release am I running?.
  • If you are interested in testing upcoming releases, the Friends in testing page explains where you can start.
  • If you know what you're doing, you might be able to find the files that you're looking for on http://download.laptop.org
  • To build your own image, see Building custom images.