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. |
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 |
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 |
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 |
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! :newbie:
|
Re: Help me!!
Quote:
did you read the first page of this thread!? |
Re: Re: Help me!!
Quote:
|
yes
|
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
|
u need the kernel source to began with. kernel source is locate at www.kernel.org
|
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
|
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 :) |
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! :)
|
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/ |
i understan that... so would i login as <username> root <password> rootpassword ?
|
All times are GMT -5. The time now is 07:56 AM. |