您的位置:首页 > 运维架构 > Linux

How to install Slackware

2014-01-25 12:51 323 查看
Due to the course requirement, I have to install Slackware on one of the desktops. I searched how to install it through baidu and google.

Most of the method is about how to install the version before 14.0, even the installation guide in the slackware official website is not about how to install the latest version.

There are many changes in the 14.0 version. I don't see any image whose suffix is i or s in the downloaded packages.

In baidu, there are some posts about how to install 14.0 or 14.1, but they don't work. They use ultraISO to burn the dvd package or the source package to U stick. The iso can be burned to a U stick, the U stick doesn't
work. I try the dvd package and source package. Neither of them works.

Please read carefully about the the preconditions.

Slackware 14.1 

Ubuntu (or some other linux)

U stick which is greater than 3G.

1. First download the dvd package from http://www.slackware.com/getslack/torrents.php

2. unzip the iso file

3. format the U stick

4. go to slackware64-14.1-iso\slackware64-14.1-install-dvd\usb-and-pxe-installers

5. run the sh file as follows

sudo ./usbimg2disk.sh -f -s /home/ftp/pub/slackware-13.0(the path of your unzip iso file) -o /dev/sdX(your USB stick)

6. Maybe there will be some error in the 5th step, please try more times. If you know the error, please do some adjustment according to the error message. Otherwise, try more times.

7. You can use df to check if it is writing to your USB stick. Because the dvd file it too large 2.3G, it need some time to write to your USB stick.

After all the files are written to the USB stick, you can reboot your machine and make the "boot from USB" as the first boot option. Then you can install slackware.

Installation

1. type huge.s 

2. make partition. I suggest that you use cfdisk  to make the partition. You can make 4 primary partition. One for swap, one for /home, one for /usr and one for /. You must assign one of the partition as boot and save(write) it.

3. after that, you can type setup.

4. choose target to assign the 4 different partitions to /,/home,/usr

5. you can install.

set the password for lilo(grub)

I forget the complete the command, I will fix it later. If you have any questions, please let me know.

1. grub-n

2. vi /etc/grub/
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  Linux slackware 14.1