`
mineral
  • 浏览: 290830 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

Install Slax on a Hard Drive

阅读更多

Install on a Hard Drive

copy from URL:http://gr8idea.info/os/tutorials/slax/install.html

 

Download the Slax iso file. Get the latest version.

Slax may be downloaded from http://www.slax.org/get_slax.php, or ftp://ftp.slax.org/.

Write it to a CD.


Verify Checksum

You can check if your download has been corrupted by verifying the MD5 checksum. To find out what is should be, go tohttp://www.slax.org/get_slax.php. Click on "md5," and this will take you to the checksum page. The checksum must be exactly the same. If it is different, the download is corrupted, and it needs to be downloaded again.


Partition the Hard Drive

Use a live CD to partition the hard drive before installing Slax.

Make an Ext3 (or another Linux filesystem) partition and a swap partition for Slax.

You may also make other partitions for other operating systems. For more information see Partitioning.


Run Slax from Live CD

Run Slax from the Live CD. The following is done running Slax from the live CD. You will be automatically logged in as root.


Copy and Paste boot and slax to the Partition

Using the root file manager, copy and paste the two directories, "boot" and "slax," from the CD, to the partition on the hard drive.


Set Up the Bootloader

You may use either the Lilo or Grub bootloader.

If you are not familiar with them, Lilo may be easier if Slax is the only operating system on the computer, and Grub may be easier if there is more than one operating system on the computer.


Option 1: Set Up the Lilo Bootloader

Recommended but Optional

Open the file /mnt/(partition)/boot/liloinst.sh (the one on the hard drive) with a root text editor.

Edit the line:

append = "ramdisk_size=6666 changes=slaxchanges"

To this:

append = "ramdisk_size=6666 autoexec=xconf;telinit~4 changes=slaxchanges"

If you view this on a screen with a low resolution, the end of the line may return and be on the next line. If you enter it that way, it will not work. It must be on one line.

Save the file.

If you don't make this change, you will need to type the username, password and the start command, such as startx, each time Slax is started.

If you plan to install Slax using this method often, you can edit liloinst.sh and make a Make a Modified Live CD.

For changes to take effect, you must run liloinst.sh after making changes.

Open the root terminal, and type:

bash /mnt/(partition)/boot/liloinst.sh

Insert the appropriate partition where it says "(partition)." It will be something like "sda1."


Option 2: Set Up the Grub Bootloader

If you have another Linux distribution on the computer, it should have Grub, and you can add the Slax start commands.

If you don't already have Grub

If you don't have another Linux distribution on the computer, you won't have Grub, for example, if you have only Slax and Windows.

If you have another Linux distribution installed on another computer, you can copy Grub from it.

Another option is to download the Super Grub Disk.

Using the root file manager, copy the directory "grub," and all of the files in it, and paste it to the directory "boot" in Slax.

You need to set up the Master Boot Record. This can be done using most Linux live CDs.

If you have the Super Grub Disk you can set up the master boot record by making the appropriate selections from the menu.

For more information, see Grub and Master Boot Record


Edit the Grub Menu

Open "/boot/grub/menu.lst," on the partition containing Grub, with a root text editor.

You will see the start commands for the other operating systems. Insert the start commands for Slax, which are as follows.

title Slax
root (hd0,0)
kernel /boot/vmlinuz ramdisk_size=6666 root=/dev/ram0 rw autoexec=xconf;telinit~4 changes=slaxchanges
initrd /boot/initrd.gz

If you view this on a screen with a low resolution, the end of the line may return and be on the next line. If you enter it in Grub that way, it will not work. There are four lines, starting with "title," "root," "kernel" and "initrd."

Change "(hd0,0)" to whatever partition Slax is in. For more information, see Grub.

For Windows start commands, see Grub.

You can now restart the computer and select Slax from the menu.


Prompt for User Name and Password

When first installed, you will automatically be logged in as root each time Slax is started.

You may leave it like this, or change it so you will be prompted for your user name and password.

To change it, from the menu, click "Control Center."

You will see a new window. Click "System Adminstration," then "Login Manager."

Click the tab "Convenience."

Click to uncheck the squares preceeding "Enable Auto-Login," and "Enable Password-Less Logins."

Click "Apply."

After changing this, you will be prompted for your user name and password each time Slax is started.

When first installed, the user is "slax," and the password is "toor." It is a good idea to change the root password and add your user name and password.


分享到:
评论

相关推荐

    VMware上硬盘安装Slax Linux

    root@slax# kmdr-executor slax6-install.kmdr 安装 Slax Linux 按照图示进行设置并安装 Slax Linux: 1. 选择语言和键盘布局; 2. 配置网络设置; 3. 设置时区; 4. 设置 Root 密码。 安装完成后,重启系统: ...

    slax使用教程

    根据给定的文件信息,以下是对slax使用教程的关键知识点的详细解读: ### SLAX概述 #### slax简介 SLAX是一种基于Slackware的LiveCD操作系统,这意味着它可以在不进行任何安装的情况下直接从CD、USB或其他可移动...

    Slax 9.8.0

    Slax是一个先进的,轻便的,小型快速的Linux操作系统,模块化的包管理和先进的设计。尽管她很娇小,Slax为日常应用提供了广泛的预安装软件,包括优良架构的图形用户界面和为系统管理员准备的高效的修复工具。

    使用GRUB硬盘启动CDlinux、Beini、slax等linux系统

    ### 使用GRUB启动CDlinux、Beini、Slax等Linux系统 #### 一、准备工作与配置 本篇文章将详细介绍如何利用GRUB(GRand Unified Bootloader)这一强大的启动管理器来实现从硬盘启动诸如CDlinux、Beini、Slax等便携式...

    slax_linux

    可以在U盘上跑的linux.放到这里至少可以让有需要下的提高一下下载速度(相比官网).

    Fern Wifi Cracker 1.2 for Slax

    Fern Wifi Cracker 1.2 for Slax

    slax smplaye模块r0.6 万能播放器

    slax smplaye模块r0.6 万能播放器 slax自带的是KDE播放器 很多格式不支持 用上它就可以通吃;放在slax/base

    Fern Wifi Cracker 1.2 for Slax无线测试工具.zip

    一款图形化的无线网络测试工具Fern Wifi Cracker 1.2 for Slax,能够破解恢复无线WEP/WPA/WPS密码,先选择要使用的无线网卡,扫描无线网络。激活后选择加密的无线信号,开始破解无线网络,需要字典的支持。破解...

    制作 硬盘启动CDlinux、Beini、slax等linux系统 (附详细教程)

    本资源是为了制作 硬盘启动CDlinux、Beini、slax等linux系统 文件内已经附有grldr等文件,可以直接使用,同时里面有制作的详细教程。 如果在win7/vista系统下:你直接把 “win7系统下直接拷贝到C盘根目录” 文件夹...

    slaxScripts:slax 脚本示例库

    **slaxScripts: slax 脚本示例库** `slaxScripts` 是一个专门为 `slax` 开发的脚本库,它包含了多种示例脚本,旨在帮助用户更好地理解和掌握 `slax` 语言,从而在实际工作中更高效地进行网络设备配置和管理。`slax`...

    linux-live-4.1.2atfa.tar.gz_live linux_live slax 4.1_slax

    SLAX/FanX制作livecd的完全脚本,适合内核2.4.*版本。这个脚本经过linuxfans.org atfa的patch,主要作用是可以在制作initrd文件中挂载FAT磁盘时加上 -o iocharset=cp936的参数。FanX-0.1.1和0.2.0就是使用这个脚本...

    WinLix:基于 Slax 7 的 WinLix-开源

    WinLix 基于 Linux Slax 7(以前是 Slax 6)。

    libslax:libslax是SLAX编程语言的C实现,SLAX是XSLT的一种方言,它更像perlC,并且更易于阅读和使用。 有关SLAX的其他信息,请参见

    欢迎使用libslax,它是SLAX语言的实现,它是遵循C和Perl模式的XSLT的替代语法。 该库基于Daniel Veillard等人在所做的最出色的工作,我对此表示衷心的感谢。 检查我们的以找到最新版本。 请访问 。 有关SLAX和...

    YUMI – Multiboot USB Creator (Windows)

    DBAN (Hard Drive Nuker) Deft (Forensics) DRBL (Diskless Remote Boot in Linux) EASEUS Disk Copy (Disk Cloning Tool) FreeDOS (Balder img) GParted (Partition Tools) GRML (system rescue) HDT (Hardware ...

    Linux安装工具

    在IT行业中,Linux操作系统因其开源、稳定和安全性而备受推崇,尤其在服务器领域更是占据了重要地位。对于初学者和专业人士来说,安装Linux系统通常是一项必不可少的任务。本文将深入探讨使用"Universal USB ...

    Slax Secure SHell Tunneling Server-开源

    Slax Secure SHell隧道服务器是用于通过ssh隧道传输数据的实时slax linux发行版。 在咖啡馆,机场等外出时保护您的流量。SSSHTS使用4096位rsa密钥身份验证。 点击“支持”以获取帮助。

    skylark-slax-runtime:云雀通用HTML5应用框架

    Skylark Slax Runtime也不例外,它提供了一系列精心设计的API和工具,旨在简化前端开发流程,提高开发效率。 框架的核心组件通常包括以下几个方面: 1. **模块系统**:Skylark Slax Runtime可能采用了模块化的设计...

    Slax-开源

    Slax是具有模块化方法和出色设计的现代,便携式,小型,快速Linux操作系统。 尽管体积很小,但是Slax提供了许多预安装的软件,包括组织良好的图形用户界面。

    MySLAX Creator

    **MySLAX Creator**是一款专为创建SLAX LiveUSB而设计的工具,它使得用户能够方便地将SLAX操作系统安装到USB闪存驱动器上,从而实现便携式操作系统的制作。SLAX是一款基于Linux的轻量级发行版,以其小巧、快速和高度...

    口袋里的Linux:在您的U盘上运行Linux

    口袋里的 Linux:在您的 U 盘上运行 SLAX 本文讲述了如何在 U 盘上运行 Linux,特别是 SLAX 版本的 Linux。作者 Vincent Danen 详细介绍了在 U 盘上安装和运行 SLAX 的过程。 知识点: 1. Live CD 的概念:Live ...

Global site tag (gtag.js) - Google Analytics