How To Install Slackware 11 In VMware On Windows XP
Author: insistkool <at> gmail <dot> com
Slackware 11 is out! All slackware users must be anxious to see this long waited version (Yes, I am a slacker ^^). To feel the new Slackware, I decided to install it in VMware on a laptop.
Compaq Laptop Presario v4400
VMWare WorkStation 5.5 build-29772
For those who are curious about its new features and changes, please review official change log at http://www.slackware.com/announce/changes11.0.php
First we grap a copy of Slackware ISO (FTP, HTTP, BitTorrent). New slackware contains 6 CDs.
CD 1 base packages
CD 2 KDE
CD 3 KDEI (you need this if you are not English speaker)
CD 4-6 Source Code Choose the appropriate CD according to your need.
I downloaded the first 2 CDs with BitTorrent since I don't need GUI language pack and source code. If you are new to Slackware, please go through the tutorials provided below.
P.S: Always verify md5sum, some ISO A windows based md5sum can be reached http://www.md5summer.org/download.html
Fire up VMWare, create a new "Virtual Machine" -> Typical -> Linux -> Other Linux 2.4.x kernel (Slackware 11 uses 220.127.116.11) -> Save to wherever you like-> NAT (or bridge if you like, I chooce NAT at this case) One trick here is VMWare uses SCSI by default, this needs couple more steps during installation. Thus, I change it to IDE by removing and adding in the "Edit virtual machine settings" section. Now, you need to tell VMWare to use "Physical drive" and certainly insert the CD 1. Till here, you are done for VMWare setup, time to installation. First of all, change Boot sequence to boot from CD-ROM, all the way "Enter" and type in "root". Now, you need to partition your hard drive, we use
(or fdisk) because it is simpler than fdisk.
You need to design your partition, here is my partition table (8 G):
512 Mb root partition (primary partition) The root filesystem, contains system software and libraries, configuration data (/etc), local state data (/var) and all other filesystems are mounted under it. Extended partition utilizing the rest of the disk We then create logical drives on the extended partition.
512 Mb swap partition (logical drive) Note that you probably don't need a swap partition that large but I like the extra insurance and I have plenty of space. It allows me to work on absolutely huge files, and provides extra memory addressing in the event of some sort of race condition. 256 Mb should probably be enough swap though, if disk space is tight. 4 Gb partition for /usr (logical drive) Most all of your software and libraries get installed in /usr. It is useful to have a large partition for this.
1.5 Gb partition for /opt (logical drive) "Optional" software can be installed here. For example, KDE will be installed to /opt/kde. I install some other software to /opt as well.
2 Gb (roughly) for /home (logical drive) We use what is leftover, for /home. This is where the user directories are, and where users will store personal files. You may also install some software to /home if desired. I do, and I keep build directories there as well.
You will be prompted after "write" partitions, "setup" your machine now. root@slackware:/#setup
Scroll down to "ADDSWAP", you should see something like the below image after "SWAP SPACE DETECTED".
Choose /dev/hda1 as /root (follow table above), format the file system as "reiserfs". For the rest of partitions, perform the same procedure and eventually we see
You should be prompted to "select Slackware Installation source", CD is our choice. Then you need to pick your desired packages
After choose your desire packages, we simply perform a full installation. (You can always remove unwanted packages later)
You will be asked to "Install Linux Kernel". Again, we choose CD.
Be aware that all the options you made here can be modified later, so don't worry if you make any mistake. Now we on the stage of "Enable Hotplug/VDEV" (This typically loads /etc/rc.d/rc.hotplug), we choose "No" and choose "simple" for LILO. The rest are pretty straightforward, I am sure any can figure out on his/her own.
In the rest installation stages, you will be asked to configure video resolution, LILO destination (MBR typically), mouse configuration, GPM, Network configuration,
startup services, default window Manager for X
(Note: GNOME is not available any more due to "hard to maintain", but you can download DropLineGNOME from http://droplinegnome.org/ if you insist on GNOME)
and root password set up. Till now, you are all set. Simply
, then you will see the lovely login prompt. Now, it is highly recommended to add a new less privileged user (adduser / useradd) . Also run
to enable sound detection,
to start GUI. And I think I should mention slackware package management tool for those whom not are familiar with Slackware. (You need "root" to run the following commands)
pkgtool - Menu-based package tool
installpkg - install a new package
removepkg - remove a package
upgradepkg - upgrade a pakcage syntax: upgradepkg oldpkg%newpkg
For other package command (explodepkg etc, please review slackware handbook) Installed package information store at /var/log/packages.
Tons packages can be found at http://www.linuxpackages.net/.
Official slackware package: http://packages.slackware.it/
"Few" great slackware tutorial and tips can be found here (yes, I said "few"):
Excellent "free" slackware Book: http://www.slackbook.org/#book
Nice brief overview of Slackware 11: http://linuxhelp.blogspot.com/2006/10/brief-look-at-slackware-110.html
Lots of useful links, articles and tips: http://www.userlocal.com/tips/tips.php
Slackware tips & tricks by Jack S.La: http://members.cox.net/laitcg/new/
Slackware Bible: http://www.slackersbible.org/?q=node/115
Final word: Slackware is undoubtedly a great distribution (stable, simple, most Unix like, fast, secure...etc), my main intention to write this tutorial is to guide novice step into the world of Slackware. Drop me a note if you have any comment!