LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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-15-2004, 06:20 AM   #1
wellmt
Member
 
Registered: Oct 2003
Location: Oxford, England
Distribution: Ubuntu
Posts: 70

Rep: Reputation: 15
Debian Newbie: Setting up APT server list, runlevels?


Sorry to post more questions so soon, but I have an unusable Debian box at the moment.

1. Is there a list of Debian servers anywhere so that I can download the kernel-source and other packages? I need to get my X11 configuration working and so need to compile in the Nvidia driver. I'm running Sarge.

My current sources.lst file only contains CD-ROM entries as I installed from ISO CD's.

2. According to inittab my machine is set to run at runlevel 2 at the moment, yet X seems to start (and crash). Should X run automatically at Runlevel 2? If so, what are the purposes of runlevels 3 and 4? and how to I stop X running automatically?

3. One last question, Are there any Debian beginner websites so that I can stop pestering you all?

Thank you.

Last edited by wellmt; 10-15-2004 at 07:39 AM.
 
Old 10-15-2004, 08:22 AM   #2
macondo
Senior Member
 
Registered: Jul 2003
Location: Central America
Distribution: Slackwre64-current Devuan
Posts: 1,034

Rep: Reputation: 62
The most important part is the installation, do a mediocre one and you will be paying for it later on.

Eventhough the following manual will guide you thru the installation of Woody/kernel 2.2, it will apply to your sarge net-installer or any other Debian installation.

The Very Verbose Debian installation
http://osnews.com/story.php?news_id=2016

check the APT- Configuration
System Configuration - Part II (step 5)

Read the whole article it will answer many questions, and don't forget the APT-HOWTO at debian.org/manuals.

Ok, short answer:

#apt-setup

choose Europe > UK or England > your server

For superb articles on Debian, go to distrowatch.com > Articles

look for the articles by Robert Storey:

Debian: Not Just Another Pretty Face (Parts I and II)

Happy reading, you'll not regret it.

Edit: i forgot about the runlevels, i left mine a the default 2, runlevels 3-5 are supposed to be for multiple users, whatever that means. Maybe somebody can explain this with knowledge, i don't know.

Last edited by macondo; 10-15-2004 at 08:36 AM.
 
Old 10-15-2004, 08:43 AM   #3
wellmt
Member
 
Registered: Oct 2003
Location: Oxford, England
Distribution: Ubuntu
Posts: 70

Original Poster
Rep: Reputation: 15
Thank you macondo, I'll check those articles out.
 
Old 10-15-2004, 08:49 AM   #4
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480° N, 95.3690° W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 47
1. After you do your apt-setup, then
apt-cache search kernel-source-*
then "apt-get install" what you need.

2. Runlevels 2-5 are user configurable. sysv-rc-conf is a program to apt-get for. To stop X at boot, cd into /etc/rc2.d and
mv S99xdm K99xdm
If you have gdm/kdm then substitute

3. http://jamesallen.dyndns.org:3000/tu...ebianhelp.html

Last edited by darthtux; 10-15-2004 at 08:51 AM.
 
Old 10-15-2004, 04:04 PM   #5
wellmt
Member
 
Registered: Oct 2003
Location: Oxford, England
Distribution: Ubuntu
Posts: 70

Original Poster
Rep: Reputation: 15
Thanks again darthtux. I've stopped X starting. I just need to figure out what packages are needed to compile the kernel (GCC etc). It's all quite different from Slackware!
 
Old 10-16-2004, 07:16 AM   #6
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480° N, 95.3690° W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 47
I will try to do some searching tonight. I have to go to bed (sleep during day).
 
Old 10-16-2004, 08:31 AM   #7
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480° N, 95.3690° W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 47
Maybe post #5 here is the answer
http://www.linuxquestions.org/questi...hreadid=243344
 
Old 10-16-2004, 12:58 PM   #8
wellmt
Member
 
Registered: Oct 2003
Location: Oxford, England
Distribution: Ubuntu
Posts: 70

Original Poster
Rep: Reputation: 15
YES! Thanks Darthtux. OK I've completely stuffed up my Linux installation, but I'm a lot closer for the next attempt

For the record, I needed to get the following packages, download sizes are approximate

kernel-source-2.6.7 (35mb)
binutils (2mb)
make (300k)
libtool (5mb)
-- getting libtool also pulled down:
-- libc6-dev
-- linux-kernel-headers
-- autotools-dev
flex (260k)
bison (600k)
libncurses5-dev (1mb) - so I could run menuconfig.

Anyway to cut a long story short...created a symlink from /usr/src/kernel-source-2.67-i386 to /usr/src/linux (needed for Nvidia driver I think)

Compiled kernel (and every module ever it seems!) copied vmlinux, system.map and .config back to /boot with appropriate name. Installed Nvidia driver, configured XF86Config and I got Gnome!

Only problem is on reboot I get:

modprobe: FATAL: could not load /lib/modules/2.6.7/modules.dep no such file or directory. And then it stops after a few of these with an error.

Update: found this thread with weblinks to debian kernel articles which might help next time

http://www.linuxquestions.org/questi...hreadid=167194

Last edited by wellmt; 10-16-2004 at 01:46 PM.
 
  


Reply



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
Need Recommendation for Debian Etch sources.list ( /etc/apt/sources.list ) forgox Debian 6 05-05-2007 01:57 PM
correct setting of /etc/apt/sources.list for local file pascalv Linux - Software 4 07-15-2005 09:24 AM
apt-get update errors since Debian released ( bad /etc/apt/sources.list ?) forgox Debian 10 06-13-2005 12:28 PM
newbie no idea about apt-get and sources.list ben_dsr Debian 5 01-27-2005 10:23 AM
debian apt-get source list dauphinfay Linux - General 1 05-05-2004 09:26 AM

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

All times are GMT -5. The time now is 10:51 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