LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 10-28-2004, 05:35 PM   #1
elias4444
LQ Newbie
 
Registered: Aug 2004
Posts: 10

Rep: Reputation: 0
Debian Questions


Honestly, I want to like Debian. I'm coming mostly from the Gentoo world (although I've fiddled with several distributions). There are just a few things that I can't seem to figure out though:

1. Is there a way to clean-up the boot init scripts, and possibly speed it up? Debian just seems to take forever to bootup, and the init scripts display so much stuff on the screen as they execute, that you can't keep your eye on any problems that pop up. Almost every other distro I've used just displays a line per init script (i.e., OK or FAILED) and logs the rest - is there a way to make Debian do that too?

2. ATI-drivers: is there a debian package for this somewhere? All the sites I've found that talk about how to install the ATI drivers make you have to go through a process that is pretty ugly on Debian (on Gentoo, it was just emerge ati-drivers).

3. Sound drivers (and possibly others) - other than having to blacklist each driver individually in both the Discover and Hotplug configurations, is there a way to keep Debian from loading the wrong/old modules for my sound card? That was just annoying.

I've found workarounds for #3 (blacklisting the old modules so they don't get loaded), but #2 and #1 have continued to baffle me. Any help would be appreciated.

Thanks.
 
Old 10-28-2004, 05:40 PM   #2
elias4444
LQ Newbie
 
Registered: Aug 2004
Posts: 10

Original Poster
Rep: Reputation: 0
Oh! And:

#4 - what are all these services that Debian runs by default? (i.e., discard, daytime, time, rpcbind, and unknown on port 900) Anyone know what they're for? (I know about the exim4 smtp on port 25, but that's about it)
 
Old 10-28-2004, 06:07 PM   #3
haimeltjnfg
Member
 
Registered: May 2004
Distribution: debian
Posts: 235

Rep: Reputation: 30
welcome to debian and i hope you stay. after a couple of months, you'll realize gentoo is well, rice. see http://www.funroll-loops.org/ for an explanation.

1. Yes, you can modify each one and change the lines to conform to the "other distro" standards. If you really want to, ask a friend running gentoo to give you a copy of one of the /etc/init.d/ scripts and you can get started. I personally like the simple style of debian's init scripts.

2. I don't know, i personally use a nvidia card, and there were packages available in the non-free and contrib sections. i think all you need is the dri and xlibmesa's for hardware accelleration.

3. don't use hotplug and discover actually, you can tell hotplug and discover to leave all sound card drivers alone. and you can load your sound modules by /etc/modutils/sound (2.4.x) or /etc/modprobe.d/sound (2.6.x)

4. disable inetd. that should take a chunk out of those services out.

PS. since your from gentoo, you might like the program apt-build, which will custom compile all the debian packages for you.
 
Old 10-29-2004, 07:40 AM   #4
wellmt
Member
 
Registered: Oct 2003
Location: Oxford, England
Distribution: Ubuntu
Posts: 70

Rep: Reputation: 15
Check which runlevel you are running in and then go into the appropriate folder e.g. for runlevel 2 look in the rc.2 folder (think it's /etc/rc.2)

In there you'll see a load of links which call scripts e.g. S10blah. Simply rename these links to scripts you don't want to run at boot time by putting a _ (or something that's not K or S in front of them) e.g. _S10Bind. Scripts with a lower number are executed before ones with a higher number so S10blah will be executed before S20blah.

Then if you want to run them in the future just rename them back. Scripts prefixed with an S are started automatically, K are shutdown when that runlevel is executed.

Hope that makes sense.

Last edited by wellmt; 10-29-2004 at 07:42 AM.
 
Old 10-29-2004, 09:30 AM   #5
powadha
Member
 
Registered: Nov 2003
Location: Zwolle
Distribution: Arch
Posts: 651

Rep: Reputation: 31
#2 (a simpel ATI debian search would do in Google):

ATI drivers debian


Step by step so you can't go wrong......
 
Old 10-29-2004, 12:44 PM   #6
elias4444
LQ Newbie
 
Registered: Aug 2004
Posts: 10

Original Poster
Rep: Reputation: 0
I guess the big issue with the ATI-Drivers thing is that it's completely out of the Debian norm. Suddenly you're compiling your own kernel and packaging it up and whatnot. I suppose I had to do that on Gentoo as well, it was just part of the normal procedure during install time.

Also, I tried disabling hotplug and discover, only to have my machine completely fail to load anything. I guess Debian heavily relies on those guys. I'm not very good at the whole modprobe.d thing, and apparently, if I disable discover and hotplug, I have to put everything in there (not just sound). In Gentoo I typically streamlined my kernel for the specific box (loading just what I needed, and virtually no modules). Is there a list somewhere of everything that Debian needs compiled into it's kernel to work properly? (i.e., devfs or udev? kind of things).

I appreciate all the help in this transition. I really do like how quickly Debian can download and install the software I need; not to mention, the incredibly easy install with the Testing NetInstall CDs (go Debian!).
 
Old 10-29-2004, 04:53 PM   #7
wellmt
Member
 
Registered: Oct 2003
Location: Oxford, England
Distribution: Ubuntu
Posts: 70

Rep: Reputation: 15
I've recompiled the kernel a few times now on Debian (mainly to get Nvidia drivers to work). My advice is to start with the config supplied in your kernel-source package and take out the stuff you obviously don't need. Debian comes with almost everything under the sun compiled as a module, which is why nothing works when you disable hotplug I guess.

Build what you actually need as a kernel module epecially disk controller and file systems. If you do this you don't need initrd or cramfs.

Compiling stuff under Debian is very different from other distros as you build a package which you then install (which is cool, because then you can uninstall it if you upgrade or on another similar PC). Take a look at these articles:

http://www.linuxquestions.org/questi...hreadid=206992
and
http://www.desktop-linux.net/debkernel.htm


A bit off topic but, I've found Debian a really well thought out system the more I've got into it and easy to learn about from a reference book point of view. I just got a book called "How Linux Works - what every superuser should know" by Ward, published by No Startch Press. It tells you what you need to know about run levels and Kernel Options. It's even better than Rute Users Tutorial IMO.

Last edited by wellmt; 10-31-2004 at 03:31 AM.
 
Old 10-29-2004, 11:00 PM   #8
haimeltjnfg
Member
 
Registered: May 2004
Distribution: debian
Posts: 235

Rep: Reputation: 30
instead of renaming the symlinks, use update-rc.d to stop the services from running.

#update-rc.d <service name> remove
 
  


Reply


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
New to Debian, a few questions MaTrIx709 Linux - Newbie 6 04-05-2005 10:32 AM
More questions about debian install... acneil Debian 1 10-24-2004 06:36 PM
Several questions relating to Debian BaptismOfFire Debian 10 08-30-2004 12:37 PM
I want to try Debian and I have a few questions Vlad_M Debian 6 01-29-2004 11:40 AM
Questions about Debian mrsolo Linux - Newbie 19 05-10-2003 01:00 AM

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

All times are GMT -5. The time now is 09:32 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration