LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-02-2005, 03:56 PM   #361
shilo
Senior Member
 
Registered: Nov 2002
Location: Stockton, CA
Distribution: Slackware 11 - kernel 2.6.19.1 - Dropline Gnome 2.16.2
Posts: 1,132

Original Poster
Rep: Reputation: 50

I just hook up my cable modem and it works.

With hotplug and udev, many things are automatic.
 
Old 01-10-2005, 01:02 PM   #362
gyorg
LQ Newbie
 
Registered: Nov 2004
Location: Sweden
Distribution: Slackware
Posts: 1

Rep: Reputation: 0
Thanks shilo,
You have helped make it easy to configure slackware and to use it.
gyorg
 
Old 01-13-2005, 09:48 PM   #363
gmartin
Member
 
Registered: Mar 2003
Location: PA
Distribution: Slackware 13.37 Linux Reg # 341245
Posts: 285

Rep: Reputation: 40
Quote:
Originally posted by Slycer
Shilo, firstoff, a BIG thank you for this guide. This is just what i need. But em, i seem to get lost in linux. Could someone write the tree structure of Slackware? I've heard it's one of the few distros that still uses the original one.

Slycer
There is a Slackware book that covers this. check this link: http://www.slackware.org/book/index.php?source=c623.html#SYSTEMOVERVIEW
 
Old 01-31-2005, 06:07 AM   #364
toe
LQ Newbie
 
Registered: Jan 2005
Location: Australia
Distribution: slack 10 (or will be when it works)
Posts: 2

Rep: Reputation: 0
well this is kinda not related but i need help. i jstu installed my first lin distro and it happened to be slack 10. after a few faliled attempts i installed it but, i didnt write the lilo floppy it asked for (dont know how signifcant this is) Well it jsut hangs on astart up screen, doesnt actually load slack or nething. someone told me it might be fuckign up coz of the cinlinders after 1024 in the hdd or something coz its a old school box from like 98.

toe
 
Old 01-31-2005, 10:31 AM   #365
blood_omen
Member
 
Registered: Apr 2004
Location: Canada
Distribution: OpenBSD 3.6, Slackware 10.1
Posts: 134

Rep: Reputation: 15
toe
-----

What you could do is boot from the second CD, which is a live CD. Once you have booted, chroot into you newly installed system, open and fix /etc/lilo.conf, reinstall Lilo and all your problems should be resolved. Here is an example how to do it(I'll assume you have only 1 hard drive"hda", if you installed Slackaware on another harddrive or patiotions different to the ones I mentioned, please do change the number of the partition to reflect your hard disk) :

1)Boot from the 2CD, wait till you get a prompt:

2)Create a directory in /mnt called rescue (just for the sake of simplicity):
Code:
mkdir /mnt/rescue
3)Mount the root partition of your Slack installation into /mnt/rescue
Code:
mount /dev/hda1 /mnt/rescue
4)chroot into /mnt/rescue
Code:
chroot /mnt/rescue
5)Open /etc/lilo.conf with your favorite editor, I'll use vi
Code:
vi /etc/lilo.conf
Here One of the first line, if not the first one, tells lilo where to install, in my example I'll install it to the MBR of the First hard drive, just change that line to /dev/hda with that you're telling lilo to install on the MBR. Then in the section that points to your Slackware installation look for a line that say root=, that informs lilo where to look for the root partition of your Operating System, change it to root=/dev/hda1 to tell lilo to look for the / partition in hda1. Save your changes an run lilo
Code:
/sbin/lilo
6)Exit from your chrooted environment
Code:
exit
7)Unmount the Slackware partition
Code:
umount /mnt/rescue
8)reboot, here make sure to take out the LiveCD

Well, I hope this help, remember that I assume that you have only one harddrive and installed Slackware into the very first partition of that harddrive. I assume that to make it easy to explain, if you have a set up different from the example, just change the hard drive and partitions according to your settings. If you are dual booting with windows (which you fail to mention), take a look at Shilo's guide, there is a section for the lilo.conf, just add it, or make sure is there, your information to boot windwos, it's just 3 line to add to the bottom of lilo.conf file. Remember, this is IF, and only if, you are dual booting.

I hope this helps you, please keep us informed,
Have a nice day
 
Old 01-31-2005, 11:47 PM   #366
toe
LQ Newbie
 
Registered: Jan 2005
Location: Australia
Distribution: slack 10 (or will be when it works)
Posts: 2

Rep: Reputation: 0
thx that helps but the cd2 (the live boot one) just hangs after awhile. ending line is "RAMDISK: compressed image found at block 0, it stops there. i think ill have to install agian ...... or i cood put the lilo thing on a floppy like it said in the config part after the install but cant find it on ne disks.

but thx for the help

toe
 
Old 02-01-2005, 11:14 AM   #367
blood_omen
Member
 
Registered: Apr 2004
Location: Canada
Distribution: OpenBSD 3.6, Slackware 10.1
Posts: 134

Rep: Reputation: 15
Not a problem, I'm sorry to heard what happens when you insert the LiveCD. Perhaps you are trying to pass a video mode at boot time, that your monitor does not support, I remember seeing that problem before, although I'm not quite sure, it might be something that could look into.

However keep the lilo stuff I wrote, is quite useful, and it could come in handy in the future, and not only for Slack

Good luck, and I hope you find a solution much sooner than later, and hopefully you don't have to reinstall, after all, what would you learn if you reinstall .

Have a nice day
 
Old 02-07-2005, 10:36 AM   #368
kornerr
Member
 
Registered: Dec 2004
Location: Russia, Siberia, Kemerovo
Distribution: Slackware
Posts: 893

Rep: Reputation: 35
A bit of stupidity

First, thanks to all who gave valuable info here... and there, too
Second, I wanna ask a q:
Do I need Nvidia drvs? I use KDE3.2. All seems to work. Tried GNOME2.6, but I can't configure shortcuts in GNOME apps. Seems to me that all KDE apps have ability for it. And I like it Though GNOME treats my Russian perfectly, I don't say KDE does this good... but convinience... it makes me choose KDE.
Since I'm very lazy and a bit crazy... I'm crazy, cuz I've install-mania! When I get new system I reinstall it almost every week... and this lasts for about a ... half a year. Previously, I did it with win32, now I do it with Slack10. So, since I'm VERY lazy, and a bit crazy, and work always under root account... and it botheres me to configure system every week... I decided to make a script. It's just an example of... how you can make your Slack even more friendly and easy than... the easiest distros and the "friendliest" OS LoseDos. But you should make it YOURSELF... and after that you can tell everyone that your Slack configures everything itself, without your help. And remember: I'm just a newbie, I know very few about Slack now, so this script will seem very stupid to you... but this saves me hour(s) every week!!!

Code:
#!/bin/bash
#I run it just to set up my previous root settings (I clear /root at every reinstall, and leave /home untouchable)

#Make 'black 3d cursor' as default, I just hate the standard one
cp -fR /home/src/style/cursors/black /usr/X11/lib/X11/icons
cp -f /usr/X11/lib/X11/icons/default/index.theme /usr/X11/lib/X11/icons/default/index.theme~
rm -f /usr/X11/lib/X11/icons/default/index.theme
echo "[Icon Theme]
Inherits=black">/usr/X11/lib/X11/icons/default/index.theme

#I use KDE, I like Angel Splash that's why I set it as default one
cp -fR /home/src/style/angelsplash /opt/kde/share/apps/ksplash/Themes
cp -fR /opt/kde/share/apps/ksplash/Themes/Default/Theme.rc  /opt/kde/share/apps/ksplash/Themes/Default/Theme.rc~
rm -f /opt/kde/share/apps/ksplash/Themes/Default/Theme.rc
echo "[KSplash Theme: angelsplash]">/opt/kde/share/apps/ksplash/Themes/Default/Theme.rc

#Copy skins for xmms
cp -fR /home/src/skins ~/.xmms/Skins
#And set up my previous install settings
echo "[xmms]
allow_multiple_instances=TRUE
use_realtime=FALSE
always_show_cb=TRUE
convert_underscore=TRUE
convert_%20=TRUE
show_numbers_in_pl=TRUE
snap_windows=TRUE
save_window_positions=TRUE
dim_titlebar=TRUE
use_pl_metadata=TRUE
get_info_on_load=FALSE
get_info_on_demand=TRUE
eq_doublesize_linked=TRUE
no_playlist_advance=FALSE
sort_jump_to_file=FALSE
smooth_title_scroll=TRUE
use_backslash_as_dir_delimiter=FALSE
player_x=0
player_y=0
player_shaded=FALSE
player_visible=TRUE
shuffle=FALSE
repeat=TRUE
doublesize=FALSE
autoscroll_songname=TRUE
timer_mode=0
vis_type=0
analyzer_mode=0
analyzer_type=1
analyzer_peaks=TRUE
scope_mode=0
vu_mode=1
vis_refresh_rate=0
analyzer_falloff=3
peaks_falloff=1
playlist_x=274
playlist_y=0
playlist_width=750
playlist_height=725
playlist_shaded=FALSE
playlist_visible=TRUE
playlist_transparent=FALSE
playlist_font=-bitstream-bitstream vera sans-bold-r-normal-*-24-*-*-*-p-*-microsoft-cp1252
use_fontsets=FALSE
mainwin_use_xfont=FALSE
mainwin_font=-adobe-helvetica-medium-r-*-*-8-*
playlist_position=975
equalizer_x=20
equalizer_y=136
snap_distance=10
equalizer_visible=FALSE
equalizer_shaded=FALSE
equalizer_active=FALSE
equalizer_autoload=FALSE
easy_move=FALSE
use_eplugins=FALSE
always_on_top=FALSE
sticky=FALSE
equalizer_preamp=0
random_skin_on_play=FALSE
pause_between_songs=FALSE
pause_between_songs_time=2
mouse_wheel_change=8
show_wm_decorations=FALSE
eqpreset_default_file=dir_default.preset
eqpreset_extension=preset
equalizer_band0=0
equalizer_band1=0
equalizer_band2=0
equalizer_band3=0
equalizer_band4=0
equalizer_band5=0
equalizer_band6=0
equalizer_band7=0
equalizer_band8=0
equalizer_band9=0
output_plugin=/usr/lib/xmms/Output/libALSA.so
disabled_iplugins=
url_history_length=0
generic_title_format=%p - %t
skin=/root/.xmms/Skins/SmoothSteel.zip
filesel_path=/home/music/

[ALSA]
buffer_time=500
period_time=50
mmap=FALSE
pcm_device=default
mixer_card=0
mixer_device=PCM
soft_volume=FALSE
volume_left=100
volume_right=100">~/.xmms/config

#Make duplex sound for my IntelAC'97
echo "pcm.!default {
    type plug
    slave.pcm \"dmixer\"
}


pcm.dmixer  {
    type dmix
    ipc_key 1024
    slave {
        pcm \"hw:0,0\"
        period_time 0
        period_size 1024
        buffer_size 4096
        rate 44100
    }
    bindings {
        0 0
        1 1
    }
}

ctl.dmixer {
    type hw
    card 0
}">~/.asoundrc

#Make RAR archives accessible
cp -f /home/src/unrar/usr/bin/unrar /usr/bin/unrar

#'Install' opera7.54
/home/src/web-browsres/opera/install.sh

#Install drvs for my modem (Conexant HSF chipset)
cd /home/src/modem/modem
make install
_____________________
Fun, isn't it???

Last edited by kornerr; 02-08-2005 at 10:39 AM.
 
Old 02-07-2005, 05:36 PM   #369
shilo
Senior Member
 
Registered: Nov 2002
Location: Stockton, CA
Distribution: Slackware 11 - kernel 2.6.19.1 - Dropline Gnome 2.16.2
Posts: 1,132

Original Poster
Rep: Reputation: 50
That's a handy idea using a script to get hings right back to how you like them.

Quote:
Do I need Nvidia drvs?
No. Only for Hardware accleration. If you are happy with the way things work already, just stick with what you've got. The NVidia drivers enable hardware 3D acceleration, but they can also be a little "buggy", depending on your setup.

Quote:
Tried GNOME2.6, but I can't configure shortcuts in GNOME apps.
I don't understand. Could you give an example of what you want to do, what you are trying, and what the results are?
 
Old 02-08-2005, 10:37 AM   #370
kornerr
Member
 
Registered: Dec 2004
Location: Russia, Siberia, Kemerovo
Distribution: Slackware
Posts: 893

Rep: Reputation: 35
I've just tried kernel-2.4.26 recompiling by your step-step guide. This time I succeeded almost all, except that I coudn't get my sount working, and coudn't get to net So I reinstalled Slack again. Your guide is very good, I just can't see there duplex sound... it's very important for music fans, like me, but not pop, of course.
And about shortcuts. E.g., 'gedit'. I can't assign my own combinations to do smth, i.e. I could do this in 'kwrite':
Save - F2
Cut - Shift+Del
Paste - Shift+Ins

And in KDE I like to call 'konqueror' pressing Win+E (explorer habit). I wonder how I can do this in GNOME. And some color settings are not so various as in KDE. Also there are less 'font choises', i.e. I can choose one font for taskbar and another for main menu in KDE, GNOME makes them the same...
 
Old 02-08-2005, 11:44 AM   #371
shilo
Senior Member
 
Registered: Nov 2002
Location: Stockton, CA
Distribution: Slackware 11 - kernel 2.6.19.1 - Dropline Gnome 2.16.2
Posts: 1,132

Original Poster
Rep: Reputation: 50
First, Happy birthday.

Quote:
I coudn't get my sount working, and coudn't get to net So I reinstalled Slack again
Oh no. Even if you are fast an re-installing, that has gotta take 40 minutes. If you followed my guide, you should have two kernels to choose from. Just boot up the original and try different options after "make xconfig". Haven't worked with 2.4 kernels in forever, but if those are the only two things, it shouldn't take long to find the right options. Plus, a couple minutes spent figuring those two out will help you to always be able to compile in the future.

Now I understand that you are looking for keryboard shortcuts. I never use those, so I won't be much help. Try a separate post, because I think this is something that lots of people do.
 
Old 02-09-2005, 09:36 AM   #372
kornerr
Member
 
Registered: Dec 2004
Location: Russia, Siberia, Kemerovo
Distribution: Slackware
Posts: 893

Rep: Reputation: 35
Thanks for telling "Happy Birthday", shilo. I tried to load an old kernel, but since I recompiled modules there appeares much more errors, with sound, too. I tried to change some thing about sound in recompiling my new kernel, but when I tried to recompile modules - all fails(i.e. I didn't 'make mrproper' before another recompiling, i.e. I'd better tell you this way:
1) on working kernel, I recompile kernel and modules
2) run it and get few problems
3) get to /usr/src/linux and without 'make mrproper' begin 'make bzImage' again. This succeeds. Then 'make modules' <- and this fails
4) I reinstall Slack and start again, and so on...)
. That's the main reason why I reinstall Slack every week. May be I should 'make mrproper', I'm not sure.
Earlier I was thinking about buying GeForce FX5700, but I was told that RadeOn 9800 is better (just a bit more expensive). So I'll try 'your' (i.e. dawizman) guide installing ATI drvs. Thanks again.
 
Old 02-09-2005, 01:53 PM   #373
Wartz
Member
 
Registered: Feb 2005
Distribution: Slackware
Posts: 52

Rep: Reputation: 15
If you want a card as good as the 5700 or the 9800, that means you will want to put their 3d capabilities to use. And to achieve that you need to never buy a radeon again. The ATI 3d drivers are a nightmare to install. And half the time even if you do get them installed you don't get 3d working anyways.

Stick with nvidia
 
Old 02-09-2005, 03:22 PM   #374
shilo
Senior Member
 
Registered: Nov 2002
Location: Stockton, CA
Distribution: Slackware 11 - kernel 2.6.19.1 - Dropline Gnome 2.16.2
Posts: 1,132

Original Poster
Rep: Reputation: 50
kornerr:

First, Ive heard the same as Wartz. Never tried ATI because of it. NVIDIA isn't too difficult to get going with acceleration.

Now, on to the kernel issues. This is what I think, based on what works for me. SOme parts may not be 100%.

Quote:
1) on working kernel, I recompile kernel and modules
OK. If I understand this right, you have a kernel already working, let's say 2.4.29. You then take and recompile that kernel. Nothing wrong with that. I prefer to start out a little differently, though. Get source for a new kernel. Any other kernel, just not the one that you already have installed. I know that you can modify the make file and appebnd to the kernel name and stuff like that, but I like to keep it simple. Since I always go with a different kernel, I opt for 2.6.10. Don't even worry about the fact that Slackware has a 2.6.10 kernel package available. Get the source from http://kernel.org and do it all yourself.

The reasoning behind this is that your working kernel and modules are all left untouched. When stuff doesn't work out, (and it never does the first few times) you can always boot up your original kernel.

Quote:
2) run it and get few problems
That step will probably be the same.

Quote:
3) get to /usr/src/linux and without 'make mrproper' begin 'make bzImage' again. This succeeds. Then 'make modules' <- and this fails
This will all be very dependant on if you are compiling a 2.4 or a 2.6 kernel. Though it may not be right, I never use "make mrproper". Also, before the "make bzImage" make sure that you are making some changes to the .config, either manually, or through "make whatever_you_use_config", e.g. xconfig, gconfig, menuconfig, config, etc.

Essentially, my advice is only recompile kernels that you compiled. Always keep the originally installed Slackware kernel around for a failsafe boot.
 
Old 02-10-2005, 02:51 AM   #375
kornerr
Member
 
Registered: Dec 2004
Location: Russia, Siberia, Kemerovo
Distribution: Slackware
Posts: 893

Rep: Reputation: 35
Well, wasn't it nigtmare to write kernel-0.01??? From almost nothing (I understood it this way). I think when I get ATI to work, I'll learn much more about Slack, though. I don't want difficulties, but I think RadeOn in comparison with GeForce is the same like Athlon in comparison with Pentium, i.e. Pentium is the best, but Athlon allows almost the same for less price. And by the way, I know that ATI drvs (rpms) for Linux are on ATI installation CD. And I couldn't see Linux drvs on my GeForce4 MX440 installation CD. So... I think ATI thinks more about customers than Nvidia... And about why I don't install newer kernel. I have kppp-2.4.4, that's the only reason. I just don't want to download newer kppp, if all works here.
______________________
Actually I'm gonna buy this card, cuz I want to play Oblivion. Did you play Morrowind? Did you see water there? It's like real. And I could see only textures without shaders with my 4 MX, very pity. Stupid, but Morrowind is made up the best way, it's like Linux, but the game... Ok, I stop, sorry.
 
  


Reply

Tags
kernel


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration