tonight is one of these days I say to myself... time to blog
and what else to blog about than the amazing slackware linux...
Since the "official announcement" of slackware going 64 bits; and me braking my old mobo installed slackware64 current on my pc... It just worked like a charm besides the little customer things... like me not liking KDE4 and stuff..
Last week slackware team made the official release of version 13 stable... so ofcourse I went to slackwarestore in a honest attempt to buy a DVD... then saw like... ok it worth 50 bucks...
... not that i don't feel like it doesn't worth the 50 bucks but... (i'm short lately) i got myself a nice black tshirt and started downloading.
This time I made a CLEAN install wiping out all my HDD's and installed everything...
so here i go with my "setting up slackware" guide.
- Optimizing LILO
simple... IT WORKS!
by using the old known linux loader you are loading a basic system that then has to load all your crap... no need for extra parameters... and let's face it; configuring lilo is way simpler than GRUB.
Just add compact to the top of your lilo.conf
- Optimizing rc.M
I personally comment outthe fc-cache and ldconfig lines. One only needs to be run after installing a new font, the other after installing a new library.
Note: I use to do this since i had old and slow hardware.. but with my shiny new build with 8 GB of ram... i don't notice the extra processes
- Setting up ALSA
alsaconf
/etc/rc.d/rc.alsa start
alsamixer
alsactl store
Make sure you do the last one... because it will save the settings... otherwise you'll have to run alsamixer to be able to hear something thru your speakers every single time.
- Setting up X
since i build this machine I started to miss my nvidia 6300 256ram... I feel nvidia drivers for linux are superior but hey... amd did something good...
they don't send you a pre-compiled module anymore.. they send you sources so their ati-installer actually compile the kernel module...
every single time the fucking module didn't load and you startx... it halted the system bad...
- Configure the system to boot into X
The real one is that by enabling booting into X you are able to shutdown the machine logged as a mere user...
Edit “/etc/inittab” and change the default runlevel from 3 to 4.
- Windows Emulation
anyways... if you are not willing; or just don't want to install windows on a Vbox or something...
Install wine (duh!)
run the winecfg
Enable support for misc binaries:
edit “/etc/rc.d/rc.modules” and uncomment the following line:
/sbin/modprobe binfmt_misc
Then add the following to “/etc/fstab”:
none /proc/sys/fs/binfmt_misc binfmt_misc defaults 0 0
Now add the following to “/etc/rc.rc.local”:
echo ':windows:M::MZ::/path/to/wine:' > /proc/sys/fs/binfmt_misc/register
echo ':windowsPE:M::PE::/path/to/wine:' > /proc/sys/fs/binfmt_misc/register
From now on; every *.exe file will be executed by wine...
I think it needs to be rebooted to work... don't remember....
do it anyways.
Nice one... Thanks.
ReplyDeleteI'm having issues running startx for a user; works fine for root, but not for a new created user. Any ideas please?
I had a problem starting X with a new user too.
ReplyDeleteMake sure the new user's home directory is created and is owned by them.