INTRO:
I was inspired to write this after reading Shilo's excellent installion article
http://www.linuxquestions.org/questi...d.php?t=174447, a desire to help others and give back a little something to the community. Oh and also when I trash my system I have a good reference on the web to refresh my failing memory!! I had started out with Red Hat a long time ago and had been a Mandrake convert for sometime but recently I started to look about for something, how can I put this? Less commercial? I was a little intimidated by Slackwares installation reputation as being for the more 'advanced' Linux user having only recently got something resembling a graphical installation menu. Well after reading around a bit and Shilo's guide I decided to give it a go. My fears were totally allayed and if you do the prep right there is no reason why this distro cannot be installed and used by the more inexperienced user.
We all do our installs a little differently and I have deliberately tried not to cover to much of the same ground as Shilo in his guide but tried to concentrate more on pre-installation prep and walk through a couple of the problems and tweaks I did post install.
GET SLACKWARE 11
Download Slackware 11. I chose the dvd ISO image from
http://ISO.linuxquestions.org/downlo...nstall-dvd.ISO
Then I burned it to DVD using DeepBurner, a good FREEware or trial version cd/dvd burner from
http://www.deepburner.com
PREPARATION
I have a 40gig hd with XP spread over most of it. I wanted to 'move' all the files to the first half of the partition and then carve it up. First step was turn off hibernation and delete the hiberfil.sys file (hibernation file, don't delete if you still want to use XP's hibernation function). Then turn off the pagefile.sys (you need to do this as it cannot be moved when you defrag the drive. As mine was in the center of the drive it had to go, no great loss). Boot up into safe mode, F8 key on my machine, delete pagefile.sys (maybe able to do this from within Windows, may disappear on its own accord when you turn of the page file, didn't check).
Then defragged a few times but still some of my files were spread towards the end of the drive. Then found an excellent defrag utility, O&O Defrag V8.5 Pro,free 30 day trial, from
http://www.oo-software.com/en/products/oodefrag/ which did a great job of getting my files to the first half of the drive. From the 'cluster view; you can even work out how many clusters are in use, work out the size of the used portion of the drive and so roughly work out where you can partition the drive without loosing your data, allow a bit obviously!
AT THIS POINT YOU SHOULD BACK UP AT LEAST YOUR VALUABLE DATA IF NOT YOUR WHOLE DRIVE!!
PARTITIONING
AT THIS POINT YOU SHOULD BACK UP AT LEAST YOUR VALUABLE DATA IF NOT YOUR WHOLE DRIVE!! Did I already say that??
So having got all my data to the first half of the drive partitioning was next. Didn't really fancy using fdisk so downloaded gpart live cd,
http://gparted.sourceforge.net, and burned to disk. Changed my laptop to boot up from the cd drive in the bios (F2 on my machine), booted from the gparted cd and then it was easy enough to partition my drive as I desired as follows.
Code:
MOUNT POINT DEV F TYPE SIZE PARTION TYPE NOTES
/mnt/windows xp /dev/had1 ntf 20gig primary (windows XP)
/mnt/share /dev/hda2 fat32 1gig primary (file exchange between the two systems)
/swap /dev/hda5 swap 500mb extended/logical (= size of memory, probably do not need so much)
/boot /dev/hda6 ext2 20mb extended/logical (only needs be small)
/ /dev/had7 reiser 2gig extended/logical (root partition)
/usr /dev/hda8 reiser 6.8gig extended/logical (progs live here)
/home /dev/hda9 reiser 7.5gig extended/logical (home dirs)
Make a note of the mount points and the dev, you will need this when you install.
Now when you have done remove the disk and reboot. If you did it right XP will cough a little, run a file system check and then bootup without a hitch. So you should have lost nothing. If you did you have your important details backed up, right??
INSTALL SLACKWARE 11.
OK I was going through this step by step but it was quite terse and really not necessary as installation is quite straight forward and menu driven. So deleted all that and started again. Just add a few notes instead.
You really are advised to do the full install if you have the room, not really any reason not to! I spent a whole day trying to figure out why something would not configure and it was because I left out x11 bevel libraries :-(
Because we were smart we don't need to deal with that intimidating disk utility. When you get to the section 'TARGET' if you made a note of the mount points you want to use with their corresponding partion name, dev/hda??, this step will be a breeze!!
X can be a bitch and usually is for me so I was very happy that this time it all configured without a hitch.
I have an ADSL connection and the network config utility did not work for me, see below.
Thats it, easy peesy!
Last but not least. On the install media is a file called INSTALL. Read it for all the nitty gritty or better still print it off so you have it for reference during the install.
ADSL CONNECTION;
As root run 'pppoe-setup' and follow the instructions. Will ask you for your ADSL user, pw, dns, etc. Also sets up a basic firewall which is nice! Very easy and straight forward.
BOOT INTO GRAPHICS;
As root edit /etc/inittab.
Change the line....
# Default runlevel. (Do not set to 0 or 6)
id:3:initdefault:
# Default runlevel. (Do not set to 0 or 6)
id:4:initdefault:
.
Next time you boot you'll be greeted by the familiar graphical login manager.
ANIMATED BOOT SPLASH!
Well what is Linux for if you cant tweak and experiment??
Want a cool graphical boot screen? With animation?? OK so here is what you need to do.
First off make a boot disk if you do not already have one. This could prevent tears if things go pear shaped. Run 'makebootdisk'.
As another precaution I like to make a copy of /etc/lilo.conf to somewhere safe on the system.
Then goto
http://members.optusnet.com.au/rkelsen/lilo.html and download lilo-22.3.2.51-i586-1.tgz. Then run....
mv /path-to/lilo-22.3.2.51-i586-1.tgz /
cd /
tar -xvzf lilo-22.3.2.51-i586-1.tgz
This will extract all the new files to the correct locations. Now fire up your favourite editor and edit /etc/lilo.conf.example. Ideally you should have a copy of your original lilo config open aswell and then you can check/copy the values from your original lilo.conf file to the example lilo conf file. This is how my lilo.conf.example file looks after editing using the old values from the original lilo.conf file.
# LILO configuration file
#global section
#
boot=/dev/hda
lba32
timeout=400
prompt
default = Slackware
#
# Boot screen section.
#
# Note: Uncomment only ONE of the following:
#
message=/usr/share/lilo-bootscreens/penguins.boot
# message=/usr/share/lilo-bootscreens/xray-blue.boot
# message=/usr/share/lilo-bootscreens/xray-green.boot
# message=/usr/share/lilo-bootscreens/breakout.boot
#
# Linux kernel image:
#
image=/boot/vmlinuz
root=/dev/hda7
label="slackware"
read-only
#
# Yes, we can boot windoze too....
#
other=/dev/hda1
label="windows"
table=/dev/hda
#
The important part is the Boot screen section, just select one. Make sure all the /dev entries are right or you wont be able to boot. After saving the file move it to the correct system location with.... (make sure you back up the original first)
mv /etc/lilo.conf.exammple /etc/lilo.conf
Then....
lilo
and you should have no errors reported. Reboot and you will be greeted with a jazzy new boot screen (hopefull!!). If not put in your boot disk you made earlier, you did make a boot disk? and move the original lilo.conf file you made a copy of back to /etc and try to work out what went wrong.
THE SOUND OF SILENCE!!.
We all need sound and the best and easiest way to get it on Linux is to use Alsa.
As root run 'alsaconf' and this will set up the alsa sound system for you.
Next you need to unmute all channels. Missing this step can be VERY frustrating for Newbs, how do I know??
So as root AND normal user run alsamixer, use 'm' key to unmute each channel, up arrow to turn up volume. Be sure to scroll all the way to the right, some controls get hidden. When you are done press ESC twice.
Then the mixer settings need to be saved so next time you boot you do NOT get the silent treatment.
As root run 'alsactl store'
Then you can do a quick check to see if all went well by running 'lspci' and it will list your pci devices. You should have something similar to.......
00:1f.5 Multimedia audio controller: Intel Corporation 82801CA/CAM AC'97 Audio Controller (rev 02)
and check if the modules are loaded correctly with 'lsmod'........
slhc 4496 0 [ppp_generic]
snd-seq-oss 23104 0 (unused)
snd-seq-midi-event 3208 0 [snd-seq-oss]
snd-seq 33552 2 [snd-seq-oss snd-seq-midi-event]
snd-seq-device 3716 0 [snd-seq-oss snd-seq]
snd-pcm-oss 28928 0
snd-mixer-oss 11928 0 [snd-pcm-oss]
usb-storage 63520 0
snd-intel8x0 19188 3
snd-ac97-codec 68160 0 [snd-intel8x0]
snd-pcm 52804 1 [snd-pcm-oss snd-intel8x0 snd-ac97-codec]
snd-timer 13168 1 [snd-seq snd-pcm]
snd 34304 1 [snd-seq-oss snd-seq-midi-event snd-seq snd-seq-device snd-pcm-oss snd-mixer-oss snd-intel8x0 snd-ac97-codec snd-pcm snd-timer]
soundcore 3300 6 [snd]
snd-page-alloc 4980 0 [snd-seq-oss snd-seq snd-seq-device snd-mixer-oss snd-intel8x0 snd-pcm snd-timer snd]
8139too 13672 1
If all went well you need to add each user to the group 'audio'.
Now with my Panasonic CF T1 after all this I still had no sound??!!! So spent almost half a day trying to figure it out before I managed to recall I had stumbled upon this problem and the solution a long,long time ago when I had a similar experience installing Mandrake. Solution?? Unmute the f***** sound in XP first!!!! Don't know how this works. No fluke as I can loose my Slackware sound again by muting the sound in XP and then rebooting. If anyone knows why this happens I would be very interested to know, thanks.
SWARET
Swaret is a package management system for Slackware that keeps track of installed packages, keep track of dependencies and download/install packages automatically for you.
Downloaded Swaret from sourceforge
cd to download dir
su root
Install with 'installpkg swaret-1.6.3-noarch-2.tgz'
edit file /etc/swaret.conf.new
change the version to current,
if not already uncomment the line REPOS_ROOT=LinuxPackagesDOTNET%
http://www2.linuxpackages.net/packages/Slackware-11.0
change DESC from 0 to 1 so you get a short description of the packages while installing.
change DSEARCHM to 1 so it will use slocate to check for missing libraries.
Then..
mv /etc/swaret.conf.new /etc/swaret.conf
run 'swaret --update'
run 'swaret --upgrade -a'
This will update the swaret data base files and upgrade all your packages to the latest versions. This could take a while so go grab some shut eye.
Now installing new packages is child's play! Be sure to read the man though first.
REALPLAYER PLUGIN WITH SEAMONKEY BROWSER
Go get Realplay 10 from
http://www.real.com/linux?pcode=rn&am.
After running the binary exe and the setup config script I found it would not work. After some investigation I found there were a couple off errors in the install script so after making some new sym links all was well....
ln -s /usr/local/share /usr/local/share/realplay
ln -s /usr/local/realplay /usr/local/bin/realplay
ln -s /usr/local/lib /usr/local/lib/realplay
You also need to set the sound system to auto detect, not alsa, as the Realplayer plugin uses OSS.
Well that is about it for now. By this time you should all be up and running, connecting to the net, playing pornos on Mplayer :-), watching DVD's and all with a cool animated boot up screen aswell. Hope you found it usefull and I really do recommend you give Slackware a try. For me it was one of the easiest installs I have ever done!!
BashTin.