(adsbygoogle = window.adsbygoogle || []).push({});
WARNING! THIS IS VERY DIFFICULT! IF YOU HAVE LITTLE/ NO KNOWLEDGE OF LINUX TERMINALS BE EXTRMELY CAREFULL AND DO NOT SKIP A STEP OR YOU WILL MESS SOMETHING UP! BE PATIENT!
Dont know what slackware is?
Originally posted by another user
What is Slackware Linux?
The Official Release of Slackware Linux by Patrick Volkerding is an advanced Linux operating system, designed with the twin goals of ease of use and stability as top priorities. Including the latest popular software while retaining a sense of tradition, providing simplicity and ease of use alongside flexibility and power, Slackware brings the best of all worlds to the table.
Originally developed by Linus Torvalds in 1991, the UNIX®-like Linux operating system now benefits from the contributions of millions of users and developers around the world. Slackware Linux provides new and experienced users alike with a fully-featured system, equipped to serve in any capacity from desktop workstation to machine-room server. Web, ftp, and email servers are ready to go out of the box, as are a wide selection of popular desktop environments. A full range of development tools, editors, and current libraries is included for users who wish to develop or compile additional software.
Taken directly from the official Slackware site, Which can be found using GOOGLE.
Link to it here(Thanks to GOOGLE):
You must login or register to view this content.
Now, onto it
If you truly wish to learn more about Linux, this guide will certainly get you familiar with it and you'll come to love your Slack system. It teaches you everything about Linux along each step. The system makes other popular distros look like children's toys so take this as fair warning that it won't be easy at first.
[multipage=Skills Needed ]
I suggest you know your way around the Linux Terminal and have a lot of patience.
You'll be lucky if you get everything the way you want it right off the bat.
[multipage=What You'll Need ]
- You must login or register to view this content.
- You must login or register to view this content.
- A single layer DVD or an 8+ GB USB Flash Drive
- [Optional]A bootable OS with Live CD (Ubuntu for example)
- Some free time and as stated above, some patience.
For people that are Dual Booting view spoiler:
This is where you'll need that Live CD. Boot into your Live CD and create a 1 GB partition formatted as EXT2. This will be for your bootloader. Now then, if you're using Ubuntu, we'll be installing BURG. If you wish to use LILO (the default Slack loader) then skip this and I'll get onto that later down the line.
Got to You must login or register to view this content. and follow the directions for the version of your Live CD of Ubuntu. Once BURG is installed, open a Terminal and type type the following;
sudo -s
fdisk -l
This will take you to the root shell then list your partitions. The partition that you'll be using for your bootloader is the smallest one (unless you have one smaller like the system partition for Windows 7). When installing BURG earlier, it was installed to the Live CD and not your hard disk. To fix this, do the following;
mkdir /mnt/mounted
mount /dev/*insert your bootloader partition* /mnt/mounted
burg-install --root-directory=/mnt/mounted /dev/sda
update-burg
[multipage=Getting Started ]
In this guide, I formatted my entire hard drive for the installation of Slackware. If you don't wish to do this, create a separate partition for Slack using any partitioning tool of your choice. Slack comes with a console based one by default. At the boot prompt, just hit enter then at the login type root and hit enter. After that, type this:
cfdisk
Here you can manage your partitions. Make sure to set it as bootable. After you're done with that, write it, exit, then type setup and hit enter. It'll ask you for your keymap and all that jazz. If you don't know how to make a SWAP, you probably don't need it and it isn't necessary on most modern computers (the laptop I have Slack on is roughly 5 years old).
This will take you to the initial process of installing Slackware. This is generally easy to follow. Go to TARGET and select the partition where you wish to install Slack. Make sure to format it (EXT2 works just fine). If you have another OS partition that you wish to be able to access from within Slack, you can choose it here after choosing your installation location.
The next step is choosing the installation media. If you're using the DVD, this is pretty straight forward. If not, look below.
USB Installation Method Note: When asked where your installation media is located, choose a hard disk then point the installer to your flash drive. Depending on the BUS it's hooked to and how many drives are on that BUS determines it's location.
An Example:
/dev/sdb1
/slackware
The installer will ask where the Slack packages are located. Just type /slackware and continue.
When you come to it, install all packages and be sure to do a full installation. Otherwise you'll be sitting there for hours confirming what it tries to install. After that's finished, you'll be prompted to make a rescue disk. This isn't necessary if you plan on keeping your installation disc/USB. After that, you'll be prompted to install LILO. Now then, if you're going to use BURG as your loader, don't do this. Follow the steps in the spoiler above. If you are going to use LILO, choose the expert method. Choose "begin". If you don't know what kernel parameters are, you probably don't need them and you can just hit enter to skip this. For the video mode, choose a reasonable resolution and refresh rate that your monitor can handle. Be sure to install LILO to root. After this, choose the partitions you wish to add to LILO. This is pretty simple. After that, install LILO. If you mess this up, you can always come back and run this:
liloconfig
After that is done, choose your mouse type. When asked to configure your network, skip this. For your WM, it's all up to you. If you want a pretty interface, I suggest KDE. I went with FluxBox. If you wanna change this later, just run this as root.
xwmconfig
Now then, your system is installed. We're not finished yet though.
[multipage=Configuring Your Install ]
Reboot once again with your installation media. At the boot prompt, type this:
huge.s root=/dev/sda* rdinit= ro
Replace the asterisk with the number of your Slack partition. Welcome to Slackware and the beauty that is the Linux Terminal! Not all you expected, huh? Well we're not done yet. Login as root with the password that you created for root at the beginning. After doing that, type this:
adduser
Follow the guide on adding your account. This is fairly easy and straight forward. After this is done, you'll need to add yourself to sudo. Why? Because Slack doesn't do this automatically.
Still logged in as root, run this:
visudo
This will bring you to the sudo configuration. Browse with your arrow keys down until it says this:
root ALL=(ALL) ALL[code]
Right below that hit "i" on your keyboard and enter your username with ALL=(ALL) ALL after that. Hit escape then type :wq and hit enter.
Now we need to configure your kernel. This is really easy. While logged in as root, run this:
[code]/usr/share/mkinitrd/mkinitrd_command_generator.sh
The line that it spits out is what you need to type in. As a little gift, a full featured Linux Terminal come with a cursor. Isn't that nice? Just highlight that line and right click it. It'll paste it for you into your console so all you have to do is hit enter. Congrats! You are now the proud user of Slackware. To go to your desktop, logout of root by typing "exit" in your Terminal. Login as yourself then type "startx".
[multipage=Configuring BURG ]
This process is only for those that used BURG as their bootloader. Run this in your terminal as root.
mkdir /mnt/mounted
fdisk -l
mount /dev/sda*insert your BURG partition here* /mnt/mounted
nano /mnt/mounted/boot/burg/burg.cfg
Add this at the bottom after "### END /etc/burg.d/00_header ###"
menuentry 'Slackware' --class slackware --class gnu-linux
insmod *replace with the partition type of your Slack partition*
set root='(hd0,msdos*replace with the number of your Slack partition*)'
search --no-floppy
echo 'Loading Slackware ...'
linux /boot/vmlinuz root=/dev/*replace with your Slack partition* ro quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.gz
}
[multipage=Notes ]
If you want to boot with a graphical interface instead of the CLI one, run this.
sudo nano /etc/inittab
Change the 3 after "# Default runlevel" to 4. CTRL+X, save changes, then reboot.
If you are on a laptop and use WiFi, insert your installer and do this as root.
sudo mount /dev/*installation media location* /mnt/mounted
sudo installpkg /mnt/mounted/extra/wicd/wicd*.t?z
[multipage=Installing Software ]
Please note that Slack does not come with a package manager by default like most other distros. A great place to get software is
You must login or register to view this content.. If you want a package manager, there are many to choose from
You must login or register to view this content..
To use a Slackbuild, download the SB and the source for your architecture. After that, extract the archive for the SB to a new folder. Place the source in that folder the run the SB as root through a Terminal.
sudo -s
cd *location of the SB folder*
./name.SlackBuild
[multipage=Closing ]
Have fun with this guys. Like I said, it's a great learning experience if you're really interested in Learning how Linux works. If you have any problems, use google, i am too busy with the opening of the linux section, school, ecams, and work, maybe after i can help but not at the moment.
Some of this thread, mstly codes are copys from other threads, because i did not have all codes (for example i didnt dual boot so i needed them) i found multiple tutorials and used some information from each, i in no way intend to "leech".