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.


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
1. Arista vEOS:Arista Networks的虚拟化操作系统,用于模拟Arista交换机的功能,支持高级网络功能和自动化。 2. Cisco ASAv:Cisco Adaptive Security Virtual Appliance(ASAv),是一个虚拟化的网络安全设备,用于提供安全防护功能,如防火墙、VPN和入侵防御。 3. Cisco C8000V:Cisco 8000系列虚拟路由器,适用于云端、数据中心和企业网络,支持高性能路由和多种网络协议。 4. Cisco CSR 1000V (XE 16.x):Cisco Cloud Services Router(CSR)1000V是一个虚拟化的路由器,用于在云中提供广域网(WAN)连接和安全性。 5. Cisco lOL:Cisco Internetwork Operating System(lOS)模拟器,用于模拟Cisco路由器的操作系统,可用于学习、测试和开发网络应用程序。 6. Cisco lOS 1710 (Dynamips):Cisco路由器模拟器,可模拟Cisco 1700系列路由器的操作系统。 7. Cisco lOS 3725 (Dynamips):Cisco路由器模拟器,可模拟Cisco 3700系列路由器的操作系统。 8. Cisco lOS 7206VXR (Dynamips):Cisco路由器模拟器,可模拟Cisco 7200系列路由器的操作系统。 9. Cisco NX-OSv 9K:Cisco Nexus交换机的虚拟化操作系统,支持高性能数据中心网络功能。 10. Cisco vlOS Router:Cisco虚拟路由器,用于提供网络功能和路由。 11. Cisco vlOs Switch:Cisco虚拟交换机,用于提供网络交换功能。 12. Cisco XRv:Cisco路由器的虚拟化版本,支持高性能路由和多种网络协议。 13. Fortinet FortiGate:Fortinet的虚拟化网络安全设备,用于提供防火墙、VPN和入侵防御等安全功能。 14. H3C VAC1000:华三网络虚拟应用控制器,用于提供虚拟化应用交付和网络流量管理功能。 15. H3C VFW1000:华三网络虚拟防火墙,用于提供虚拟化网络安全功能。 16. H3C VSR1000:华三网络虚拟路由器,用于提供虚拟化路由功能。 17. HillStone SG6000:山石网络的虚拟化安全网关,用于提供防火墙、VPN和入侵防御等安全功能。 18. Huawei AR1000v:华为的虚拟化路由器,用于提供企业级网络连接和安全功能。 19. Huawei CloudEngine 12800:华为的虚拟化数据中心交换机,支持高性能的数据中心网络功能。 20. Huawei NetEngine 40E:华为的虚拟化路由器,用于提供高性能的企业级网络连接和安全功能。 21. Huawei USG6000v:华为的虚拟化安全网关,用于提供防火墙、VPN和入侵防御等安全功能。 22. iKuai:iKuai虚拟路由器,用于提供网络功能和路由。 23. Juniper vMX VCP:Juniper虚拟化路由器控制平面(VCP),用于提供路由和网络连接功能。 24. Juniper vMX VFP:Juniper虚拟化路由器转发平面(VFP),用于提供高性能路由和多种网络协议。 25. Juniper vQFX PFE:Juniper虚拟化交换机数据平面(PFE),用于提供高性能的数据中心网络功能。 26. Juniper vQFX RE:Juniper虚拟化交换机路由引擎(RE),用于提供路由和网络连接功能。 27. Juniper vSRX 3.0:Juniper的虚拟化安全网关,用于提供防火墙、VPN和入侵防御等安全功能。 28. MikroTik RouterOs:MikroTik的虚拟化路由器,用于提供网络功能和路由。 29. OpenWRT:OpenWRT虚拟路由器,用于提供网络功能和路由。 30. Ruijie vRoute:锐捷网络的虚拟化路由器,用于提供企业级网络连接和安全功能。 31. Ruijie vSwitch:锐捷网络的虚拟化交换机,用于提供企业级网络交换功能。 32. Slax Mini VM:Slax Linux的虚拟机版本,可用于学习和测试Linux操作系统。 33. Virtual PC (VPCS):用于模拟计算机的虚拟机,可用于学习和测试网络应用程序。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值