LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-22-2003, 07:28 PM   #16
muppetwagon
LQ Newbie
 
Registered: May 2003
Posts: 10

Original Poster
Rep: Reputation: 0

i did install all three disks, but now i think i have it narrowed down now. When i go to do:

cp/usr/src/linux/arch/i386/boot/bzImage /boot/vmlinuz

it tells me that no directory is found... or something like that...lol.

i am having fun and do have a lot of patience too, so if you could help me out some more that would rock!!!

Cheers,

rich
 
Old 05-22-2003, 11:44 PM   #17
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
Look to see if there are any pre-compiled kernels availabel at /usr/src/linux*/arch/boot directory, if not, you might go ahead and read up on compiling kernels and compile your own, also if you have installed kernel source than you should have the following valid tree (directory structure)/usr/src/linux
|-- Documentation
|-- arch
|-- drivers
|-- fs
|-- include
|-- init
|-- ipc
|-- kernel
|-- lib
|-- mm
|-- net
|`-- scripts
|-- config
so in config directory you should have pre-configured configure files just copy one of them that you know is relevent to your arch and processor to the /usr/src/linux directory as .config
example
cd /usr/src/linux/config
cp configure-athlon-kernel.version ../.config
and then follow the steps on compiling your own kernel outlined in tldp.org kernel-HOWTO
 
Old 05-31-2003, 10:11 PM   #18
muppetwagon
LQ Newbie
 
Registered: May 2003
Posts: 10

Original Poster
Rep: Reputation: 0
ok ill take a look! Been buissy fraggen on Urban Terror, as my clan wanted to know where i went...heehe. Yeah I had to reload windows and i partitioned a good chunk (20 gigs) for Mandrake 9.1 and am still messing around.

Thanks for the help and i will keep ya posted on the progress.


Cheers,

Rich
 
Old 05-31-2003, 11:06 PM   #19
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
# Mandrake links
Mandrake home page
Mandrake Users website
Easy software management: Red Carpet
Maximum RPM
rpmfind
You didn't install the developmental packages? As root, command:
urpmi gcc
 
Old 06-09-2003, 05:13 PM   #20
muppetwagon
LQ Newbie
 
Registered: May 2003
Posts: 10

Original Poster
Rep: Reputation: 0
it says that everything is installed

????
 
Old 06-09-2003, 05:29 PM   #21
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
The kernel source code is located:

/usr/src/linux-<version number>

That should match your running kernel

# Find running kernel version
uname -r

To compile programs, they expect to find a symbolic link with the name /usr/src/linux that points to /usr/src/linux-<version number>

You need to tell us if you have that.

If you haven't installed the kernel source, as root command:

urpmi kernel-source

Last edited by fancypiper; 06-09-2003 at 05:34 PM.
 
Old 06-10-2003, 01:47 PM   #22
muppetwagon
LQ Newbie
 
Registered: May 2003
Posts: 10

Original Poster
Rep: Reputation: 0
linux1 linux-2.4.20 linux-2.4.21-0.13mdk
linux-2.4.0.tar.gz linux-2.4.20.tar.bz2 RPM
[root@localhost src]#


that is what is in the dir and please dont ask why i have 2.4.20 when i am running 2.4.21-0.13mdk
[root@localhost src]#


yeah dont mind the mess up top, i was just trying to use the all to many helpfull how to's for kernel compiling, so i might be able to learn the kernel woas.

[root@localhost muppet]# urpmi kernel-source
Everything already installed
[root@localhost muppet]#


so i still need to figure out how to get this darn sound card working, as it has been four days since i heard sound from my computer speakers...hehehe!

Last edited by muppetwagon; 06-10-2003 at 01:51 PM.
 
Old 06-10-2003, 02:37 PM   #23
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
Something looks strange with that output.

It is hard to read the output when you don't paste it into the code tags like this
Code:
[phil@uilleann phil]$ uname -r
2.4.18-3
[phil@uilleann phil]$
Can you tell what is what in your directory? If not, try some of these flags with ls:
Code:
[phil@uilleann phil]$ su -
Password: 
[root@uilleann root]# cd /usr/src
[root@uilleann src]# ls -c
linux-2.4  linux-2.4.18-3  redhat
[root@uilleann src]# ls -l
total 2
lrwxrwxrwx    1 root     root           14 Jun  4 12:11 linux-2.4 -> linux-2.4.1
8-3
drwxr-xr-x   16 root     root          584 Jun  4 12:11 linux-2.4.18-3
drwxr-xr-x    7 root     root          168 Jun  4 12:08 redhat
[root@uilleann src]# ln -s linux-2.4.18-3 linux
[root@uilleann src]# ls -l
total 2
lrwxrwxrwx    1 root     root           14 Jun 10 14:41 linux -> linux-2.4.18-3
lrwxrwxrwx    1 root     root           14 Jun  4 12:11 linux-2.4 -> linux-2.4.18-3
drwxr-xr-x   16 root     root          584 Jun  4 12:11 linux-2.4.18-3
drwxr-xr-x    7 root     root          168 Jun  4 12:08 redhat
[root@uilleann src]#
Those were the color flag and the long listing flag. You should be able to tell what is a directory, what is a file, and what is a link with one or both of those flags.

I didn't have the /usr/src/linux symbolic link, so I made it. Now my driver should compile OK.

HTH

Last edited by fancypiper; 06-10-2003 at 02:45 PM.
 
Old 06-10-2003, 02:52 PM   #24
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
If you don't already have it installed, install Midnight Commander by commanding:
urpmi mc. Then command mc and you have a nice file browser/editor/lots of other tools all in one nice package similar to the old Norton Commander for Windows.
 
  


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
Omg Linux Hates Me!!!!!!! Occulum Linux - Software 17 08-16-2005 05:18 PM
OMG!!!! Linux boot, home, and swap partitions have dissapeared!!!!!!!!!!!!!!!!!!!!!!! aweir14150 Mandriva 9 04-30-2004 01:14 PM
lots of questions, please help me learn covertninja Linux - Laptop and Netbook 2 10-29-2003 04:14 PM
Boudreaux's fishin trip DavidPhillips General 6 06-18-2003 09:45 PM
OMG! OMG! i did it!!!!! happy new year baby chingasman Linux - Distributions 2 01-03-2003 09:52 AM


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