LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-23-2004, 07:58 PM   #166
dbh21
LQ Newbie
 
Registered: Dec 2002
Location: San Diego
Posts: 11

Rep: Reputation: 0

At a very minimum you absolutely need the gcc compiler, and the kernel source code, but there are lots of dependencies. You can just take a look at Linux From Scratch to see that.

I'm still pretty new at this stuff so more experienced guys should back me up (or tell me I'm full of it , but I think the easiest way to get started is to install the 'development' package that comes along with your distribution. Most of the major dists have a package manager where you can access this stuff.

If you are using Mandrake 9.2, then you will also need to grab the kernel yourself online. I think its one of the dumbest things that they don't include the source in 9.2.
 
Old 02-24-2004, 11:41 AM   #167
g_goblin
Member
 
Registered: Oct 2002
Location: Chitown
Distribution: RH 7.2/3
Posts: 48

Rep: Reputation: 15
SCSI Point of View

I followed the how to for the 2.6 kernel. Everything is fine until I get to the boot sequence.

I only have one hard drive installed and it is SCSI. Grub doesn't like what I have entered for my new kernel. It basically tells me what I have entered into menu.lst(grub.conf) is an invalid partition.

df tells me / is on sda6.

I'm running Fedora 1 stable.

Here is what I have in Grub:

default=0
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
title Fedora Core (2.6.0-2.6.0test1-smp)
root (hd0,0)
kernel /vmlinuz-2.6.0test1-smp ro root=LABEL=/
initrd /initrd-2.6.0test1-smp.img
title Fedora Core (2.4.22-1.2115.nptlsmp)
root (hd0,0)
kernel /vmlinuz-2.4.22-1.2115.nptlsmp ro root=LABEL=/
initrd /initrd-2.4.22-1.2115.nptlsmp.img
title Fedora Core-up (2.4.22-1.2115.nptl)
root (hd0,0)
kernel /vmlinuz-2.4.22-1.2115.nptl ro root=LABEL=/
initrd /initrd-2.4.22-1.2115.nptl.img

(Sorry if I didn't put any tags around this - i'm sort of new)

TIA
 
Old 02-24-2004, 04:58 PM   #168
andzerger
Member
 
Registered: Feb 2004
Location: denver
Distribution: slackware && freeBSD && rh9
Posts: 92

Rep: Reputation: 15
yeah, me too

mines setup just like that and exactly the same thing is happening,
Kernel panic: unable to mount root fs on 00:00
but it works on the other grub option ..

does this have something to do with System.map?

edit updates:
okay i did kernel= vmlinuzXX initrd=initrdXXX root=/dev/hda

so my error progressed from a 00:00 to an 03:00..
my theorys are that i either compiled the wrong options or i misunderstood the mkinitrd step and got my first initialramdisk for my second kernel .. or both .. its compiling now ill edit when i get done and then some
evidence: my kernel booted with a 1.44 floppy drive, which i definately do not have

edit updates:
changing "kernel= vmlinuzXX initrd=initrdXXX root=/dev/hda" to "kernel= vmlinuzXX init=initrdXXX root=/dev/hda" fixed it . neat, this must be a pecularity of mandrake vs. RH

Last edited by andzerger; 02-25-2004 at 11:45 PM.
 
Old 03-01-2004, 04:49 AM   #169
dhee_to
LQ Newbie
 
Registered: Mar 2004
Location: Indonesia
Distribution: Mandrake 9.X
Posts: 9

Rep: Reputation: 0
Hello,

i'm new in kernel compiling. when i'm trying to compile kernel 2.6.3 on Mandrake 9.1
I got message that telling me the network loopback failed to start because other host using
the address 127.0.0.1.

FYI i have compiled the kernel w/ network block devices activated

~sorryforbadenglish
 
Old 03-02-2004, 11:43 AM   #170
micho523
LQ Newbie
 
Registered: Mar 2004
Location: Florida
Distribution: Fedora
Posts: 14

Rep: Reputation: 0
Question Help me!!

I have only been using linx for a handful of days and need some serious help! I am having networking problems ( i know this is not the topic to be posting in for that problem), but everywhere i look to fix that, it says i should recompile the kernel first. What program do i use to do that? I installed the kernel compiler that came with Fedora, but i dont know what it is called. I f someone could point me in the right direction i would be very grateful!
 
Old 03-02-2004, 12:11 PM   #171
sirpelidor
Member
 
Registered: Oct 2003
Location: Madison
Distribution: mdk 8.2, 9.0, 9.2, slack 9.1
Posts: 403

Rep: Reputation: 30
Re: Help me!!

Quote:
Originally posted by micho523
but everywhere i look to fix that, it says i should recompile the kernel first. What program do i use to do that? I installed the kernel compiler that came with Fedora, but i dont know what it is called.



did you read the first page of this thread!?
 
Old 03-02-2004, 12:31 PM   #172
micho523
LQ Newbie
 
Registered: Mar 2004
Location: Florida
Distribution: Fedora
Posts: 14

Rep: Reputation: 0
Re: Re: Help me!!

Quote:
Originally posted by sirpelidor
did you read the first page of this thread!?
Yes i did, it says how, just not what do use. Do i do all of this in the terminal?
 
Old 03-02-2004, 12:31 PM   #173
sirpelidor
Member
 
Registered: Oct 2003
Location: Madison
Distribution: mdk 8.2, 9.0, 9.2, slack 9.1
Posts: 403

Rep: Reputation: 30
yes
 
Old 03-02-2004, 01:14 PM   #174
micho523
LQ Newbie
 
Registered: Mar 2004
Location: Florida
Distribution: Fedora
Posts: 14

Rep: Reputation: 0
nothing i type in the terminal seems to work... i have tried make config, make menuconfig, and make xconfig, but it gives me some error message for all of them
 
Old 03-02-2004, 01:50 PM   #175
sirpelidor
Member
 
Registered: Oct 2003
Location: Madison
Distribution: mdk 8.2, 9.0, 9.2, slack 9.1
Posts: 403

Rep: Reputation: 30
u need the kernel source to began with. kernel source is locate at www.kernel.org
 
Old 03-02-2004, 02:04 PM   #176
micho523
LQ Newbie
 
Registered: Mar 2004
Location: Florida
Distribution: Fedora
Posts: 14

Rep: Reputation: 0
ok i got it to work somewhat, but when i type "rm linux" it says i am not allowed access. Same when i type ln -s /usr/src/linux-x.x.x /usr/src/linux (i know to replace the 'x' with the version number
 
Old 03-02-2004, 02:25 PM   #177
sirpelidor
Member
 
Registered: Oct 2003
Location: Madison
Distribution: mdk 8.2, 9.0, 9.2, slack 9.1
Posts: 403

Rep: Reputation: 30
u need to do all those stuff as root.

read the first post of this thread again (slowly, and carefully)

p.s: when i first tried linux, i began with a book call: Running Linux, from O'Reily, i think its a very good book, and you should keep one of those as for linux reference
 
Old 03-02-2004, 02:33 PM   #178
micho523
LQ Newbie
 
Registered: Mar 2004
Location: Florida
Distribution: Fedora
Posts: 14

Rep: Reputation: 0
Sorry if i sound like an ignorant little twit, but i dont see how i would do that as root. Is there some different way to log on? Or can i do it through the terminal? Thank you for your help so far though, and i will definetly check out that book!
 
Old 03-02-2004, 03:29 PM   #179
sirpelidor
Member
 
Registered: Oct 2003
Location: Madison
Distribution: mdk 8.2, 9.0, 9.2, slack 9.1
Posts: 403

Rep: Reputation: 30
in unix world, user permission is very important. root has power to do anything, then user acct, and then group acct, then guest acct.

if you wanna do system maintance, u need to be in root.



u don't need to restart computer and login as root.
just go to terminal, and type: su -



here's very decent online book you may wanna read, its not directly relate to your distro, but linux in general share same properities

http://www.slackware.com/book/

Last edited by sirpelidor; 03-02-2004 at 03:31 PM.
 
Old 03-02-2004, 03:30 PM   #180
micho523
LQ Newbie
 
Registered: Mar 2004
Location: Florida
Distribution: Fedora
Posts: 14

Rep: Reputation: 0
i understan that... so would i login as <username> root <password> rootpassword ?
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
I'm interested in compiling a 2.6.x kernel, is this is a decent guide? Erik_the_Red Linux - Newbie 7 08-14-2005 07:03 AM
Kernel compiling guide for newbies... DaOne Slackware 127 04-17-2005 05:20 AM
Acid Guide to compiling Kernel 2.6.10 on Slack 10.1 acidjuice Slackware 54 03-11-2005 06:16 PM
Quick newbie guide to rebuild kernel in FC3 borgware Fedora 0 12-29-2004 02:38 PM
: Kernel compiling guide for newbies Question Anibal Slackware 6 08-01-2003 08:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:43 AM.

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