ttylinux User Guide
Version 6.2
Pascal Schmidt
October 30, 2007
Contents 2
Contents
1 Introduction 4
1.1 What is ttylinux? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.2 What is ttylinux not? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.3 Who is ttylinux aimed at? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
1.4 License . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
2 Installation guide 6
2.1 Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2.1.1 Custom kernel req uireme nts . . . . . . . . . . . . . . . . . . . . . . . . 6
2.2 Download . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
2.3 Booting the CD-ROM version . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
2.4 Installing from CD-ROM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
2.4.1 Source CD-ROM device . . . . . . . . . . . . . . . . . . . . . . . . . . 8
2.4.2 Target partition device . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
2.4.3 Boot loader lo cation . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
2.4.4 Running the installer . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
2.5 Customization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
2.6 Installation by han d . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
3 System guide 15
3.1 Basic Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
15
3.2 Bootup and Shutdown . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
ttylinux 6.2 2
Contents 3
3.3 Using PPP dialup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
3.4 Using the dropbear SSH package . . . . . . . . . . . . . . . . . . . . . . . . . 18
3.5 Setting up network devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
3.6 Using the firewal l . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
3.7 Shell environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
3.8 Package Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
3.9 Using devfs (no longer supported) . . . . . . . . . . . . . . . . . . . . . . . . 22
4 Contact 22
A How to create a bootable ttylinux CD 22
ttylinux 6.2 3
1 Introduction 4
1 Introduction
This section gives an overview on ttylinux. What is it, who can use it, why it is there.
1.1 What is ttylinux?
ttylinux is a minimalistic Linux distribution. It can be installed by hand or by using the bootable
CD version that includes an installer script. For a custom installation by hand, another Linux
system already up and running is needed.
ttylinux aims to put as much as possi ble into as little space as possibl e. It provides multi-tasking,
multi-user, and networking capabilities within less than 4 megabytes of operating system size.
The main use that ttylinux comes prepared for is d ialin g into an Internet provider by modem or
ISDN. A text mode web browser is present.
A package management script capable of installing and removing binary software packages is
included. This makes it possible to adapt ttylinux to specific needs.
ttylinux can be installed onto hard disk, CD-ROM, or any other media you can boot from. With a
custom made bootable CD-ROM, as little as 2.88 MB of space are enough. The basic filesystem
(excluding the kernel) is 4 MB in size. If you use the installer provided by the bootable CD-ROM
version of ttylinux, a kernel image of a little under 2 MB will also be installed. This makes the
minimum workable size for a hard disk partition to install ttylinux on around 7-8 MB.
You can also use ttylin ux as a basis for putting together a more complete minimal system. ttylinux
uses the same C library as full Linux systems, so compiling programs on another Linux machine
and copying them over to the ttylinux filesystem should result in working programs.
1.2 What is ttylinux not?
ttylinux is not as complete a Linux distribution as others, mostly due to the limited size. It does
not contain developer tools or a graphical user interface (GUI), for example.
ttylinux 6.2 4
1 Introduction 5
1.3 Who is ttylinux aimed at?
As ttylinux can be used on machines which are considered obsolete by now, such as 486SX class
PCs, it is aime d at people who want to have a minimalistic Linux distribution to run when little
space is available.
ttylinux is aimed at people who already have some Linux experience. There is no big user manual
describing how to use the system, so a bit of Unix or Linux experience is very useful when trying
to use the system. Most of the programs present are smaller versions of common Unix utilities,
and documentation on those can be found in various places on the Internet.
ttylinux can fit into an Eltorito image useful for bootable CD-ROMs. It could be used for
installation discs or rescue systems on CD. ttylinux provides a working Linux environment from
the boot image, and then a script could mount the rest of the CD to provide a full system.
Note: ttylinux is really not aimed at Linux beginn ers. Knowledge about how to compile a kernel
(the basic ttylinux filesystem comes without a precompiled kernel to allow maximum flexibility,
though the CD- ROM version provides a precompiled kernel) and find your way around a Linux
system in general is assumed.
1.4 License
The software packages that are part of ttylinux are licensed under a number of different open
source licenses, as listed below. The scripts that hold the distribution together are licensed under
the GNU General Public License. A copy is included in the file COPYING.
Package Version License
bash 3.2.25 GPL
busybox 1.7.2 GPL
dropbear 0.50 MIT
e2fsprogs
1.40.2 GPL
glibc 2.5.1 LGPL
iptables 1.3.8 GPL
isdn4k-utils 3.2p1 GPL
lilo 22.8 BSD
ncurses 5.6 MIT
ppp 2.4.4 BSD
retawq 0.2.5c GPL
ttylinux 6.2 5
评论0
最新资源