The "dwarf" in the Linux family of Slax operating systems (1)

Source: Internet
Author: User

The Slax operating system developed based on Slackware is known for its small size and fast upgrade speed. Its latest version is 4.1.2. Here we will introduce how to install the Slax operating system and development related to the Slax operating system from the beginning to the advanced.

Slax Operating System Overview

Slax is a livecd release version based on Slackware-current, which is upgraded quickly. It is small and can be placed on a small disc with a size of more than 170 MB. The latest version 4.1.2 includes the latest kde3.2 desktop system. kde has no multimedia features, including cd player, mplayer, and kplayer Based on mplayer. There is also a new version of koffice for office use. At the same time, slax also has fluxbox window manager for different users to choose to use.

In 4.1.2, the author added the copy2hd startup option based on the original copy2ram. When starting with cd, you can use this parameter to copy the content of the disc to the hard disk for running, then you won't read the CD. You can also copy the file to the hard disk first, and use the fromhd option to start the slax that has been copied to the hard disk when starting the disk, which is very flexible. If the memory size is large enough, copy2ram256 or above can be used directly) to run faster in the memory. Of course, it can also be installed on the hard disk. However, because it is small, it is more suitable to run on the CD.

Slax concise tutorial

Basic installation of Slax Operating System

1. Start

Boot: Press F1 to view many startup parameters.

2. Avoid suspension during hardware detection during startup

In this case, the above startup parameters are very important. The most privilege is slax nohotplug.

Almost all hardware detection can be skipped

3. Configure the network

Slax uses DHCP to configure the network. If the network supports DHCP, slax automatically configures network parameters.

(1) available commands for static IP Configuration:

Ifconfig eth0 123.123.123.123 netmask route 255.255.0 route add default gate 123.123.123.1

Eth "nameserver 123.123.123.123" & gt;/etc/resolv. conf

(2) To set a proxy, go to the kde control center to manually set the proxy option.

(3) Use modem and run kppp in kde. The corresponding device is/dev/ttyS0 or/dev/tts/0 (com1 ), /dev/ttS1 or/dev/tts/1 (com2.

(4) If you use ADSL, run adsl-setup or adsl-start.

Refer to wireless. Try iwconfig.

There are no referers. If you are a master, you can solve it by yourself. Otherwise, you may be able to wait for the release of a later version.

4. Back up your own configurations

Slax is the CD running version. If it is shut down or restarted, all your configurations will be over. Therefore, it is very necessary to save our own configuration. After using the configsave command, enter the storage location and file name as prompted. Similarly, use the configrestore command to specify the location and file name of the backup file. We recommend that you save the file to the root directory of a drive letter for accurate typing. Because the complete path needs to be typed rather than selected: neutral:

5 use swap to partition

If swap partition already exists in the system, slax will automatically detect and enable it. If you do not want to use swap to increase the running speed, run the fileswap command. The system will create a file named slax. swp on the FAT partition. Of course, you need to specify the file location.

6 install on Hard Disk

There are two ways to install it on the hard disk: one is to install it on the hard disk like other linux versions, and the ext partition is required, but the process is very simple. After starting with cd

Cp-R/{bin, etc, home, lib, opt, root, sbin, usr, var}/mnt/mount point ext partition)

Copy bin, etc, home, lib, opt, root, sbin, usr, and var in the main directory to the ext partition.

Create an empty folder named mkdir-p/mnt/mount point/{dev, boot, mnt, proc, tmp}

Copy vmlinuz to/boot.

Then there is the boot problem. You can use lilo, grub, and add it by yourself.

If you want to start it with lilo in slax, run the chroot command to the slax partition: lilo-m/boot/map, run lilo-m/mnt/partition/boot/map without chroot.

About 400 mb of space required

I usually use the loadlin guide to copy loadlin and vmlinuz in the optical disk to a certain place.

Loadlin vmlinuz root =/dev/hda7 my account is hda7)

No problems

The second method is to install it to the hard disk in livecd mode and put it in the FAT partition.

Extract the iso file to c: \ slax \.

 
 
  1. c:  
  2. cd slax\dos  
  3. linux.bat 

The dos directory contains the content of the slax file. For example, if my file is c: \ slax \, the content is

 
 
  1. \slax\vmlinuz  
  2. root=/dev/ram0  
  3. rw  
  4. initrd=\slax\initrd.gz  
  5. init=linuxrc 
  6. load_ramdisk=1 
  7. prompt_ramdisk=0 
  8. ramdisk_size=7777 
  9. max_loop=255 
  10. livecd_subdir=/slax/ 

If the location is different, modify the file. The new 4.1.2 file is config.

If there is no dos, you can still start it with a CD. Run the following command: slax livecd_subdir = slax folder path. When the new 4.1.2 is started, slax fromhd = will be OK.

7 slax can also be installed on a USB flash drive

Make sure that the USB flash drive is portable. Enable slax, attach the USB flash drive, change it to the directory where the cdrom is located, and run it. /create_bootdisk.sh/dev/sda1/dev/sda SLAX. slax creates a folder on the USB flash drive and copies all the required items to the folder.

However, considering the volume and the size of the USB flash disk, it is not recommended to install it on the USB flash disk. You can install it on the hard disk in the same way. However, you need to modify the hard disk MBR so that other systems cannot be started. So it is best not to try it. If something goes wrong, don't contact me.


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.