Before any modification in my computer I use to load a USB drive with Slax, in case something goes wrong I can use it to fix problems or to find help on Internet.
- Download Slax
- Install it in a USB drive (this erase all data in it).
- Extract Slax inside it.
- Run the script xxxx.sh for make it bootable.
- Boot one time to try it and to verify all works fine.
I like download the DVD ISO by using torrent, you can find it in the Slackware official site (~2,3GiB).
Installing the complete distribution in the USB drive and do it bootable
- To mount Slackware iso image, it should be done by root user: # mount -t iso9660 -o loop /.../slackware-14.0-iso/slackware-14.0-install-dvd.iso /media/dvd
- Go to /../usb-and-pxe-installers folder: $ cd /media/dvd/usb-and-pxe-installers/
- Type $ sh usbimg2disk.sh -h to getting help.
- With the pendrive unmounted run this command as root: $ sh usbimg2disk.sh -f -s /media/dvd/ -o /dev/sdc where -s /media/dvd/ is the folder were Slackware tree is mounted, and /dev/sdc the path to the pendrive. -f is the parameter to format the pendrive. Note that pendrive shouldn't be mounted before run this script, if you do it, unplug it and plug it again but without mounting it.
If the computer doesn't boot automatically from the USB drive, you will have to find the correct configuration inside the BIOS setup. Usually you have to change the order of the devices that can boot the system, put the USB drive in the first place. In some systems the USB drive have to be plugged to appears in the devices list.
After the Slackware installer boots it will ask you for witch kind of kernel should it use. You have two options: huge.s and hugesmp.s, the first should be used in computer with single processor while the second in multiprocessors computers. I have chose hugesmp.s.
Preparing the hard drive
This time I have change the partitions in the hard drive, I have created one for the / folder (20GiB, ext4), another for swap (2GiB, linux swap), a third for the /home folder (80GiB, ext4) and the rest available space in a fourth partition for a testing area (ext4).
I use to avoid the installation of games and FAQs, then I chose the complete installation without prompting.
A good practice is to mount the /home folder in a different partition. This helps when you do an update of the operating system conserving users files and configurations.