Build a small Linux system that only runs on a CD or USB flash disk

Source: Internet
Author: User

Slax Linux is the main character of this article, because it does not need to be installed on the hard disk, it only needs to be burned on the disc and USB flash disk to run.
The ISO file of slax Linux is only about MB in size. However, although the size of the ISO file is small, it has been installed with notepad and several games.

First, we will introduce how to install slax Linux. In fact, the process is super simple:

1. search for slax Linux in thunder and download a file named slax chineseoptimized. ISO file, because this ISO has integrated the Chinese environment (Simplified Chinese characters and Chinese input methods) and common tools (such as PDF reader and office tools), of course, you can download an slax Linux without installing any software for use.
2. Start the ISO method. There are two methods: One. Use vmwarevm to read ISO files; 2. We recommend that you use the first method to use slax Linux to burn data to CD using tools such as Nero, because you can use tools such as winiso to modify the ISO file, however, you cannot add or delete a burned CD.

The following describes how to install software in a small Linux:
1. First download a winiso software that is used to add and delete software packages (. Mo files) in ISO ).
2. Go to http://www.slax.org/modules.php to download the software package (. Mo file) You want to install)
For example, if I select the development module development kit, the introduction of the development module is as follows:
Official development module for slax 5.1.4. This module contains GCC compiler, make, and all the missing header files from slax (which are deleted because of size). included programs are (for example ):

-GCC 3.4.6
-Python 2.4.3
-Autoconf
-Automake
-Bin86
-Binutils
-Glibc
-Libtool
-Make
X11-devel
-And more

Moreover this module contains kernel headers from 2.4 kernels, this is correct as glibc was compiled with 2.4 kernel headers too. if you need to compile kernel modules for 2.6.x kernels, just download kernel source from kernel.org, or use slax kernel source module.

This module doesn't contain ncurses so you'll need to download ncurses separately if you need to do "make menuconfig ".

3. Add official development module.mo to ISO.
4. After adding the mo software package to slax Linux, You need to reinstall slax Linux (the preceding installation method). Otherwise, you will not be able to load the newly installed software package.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.