Red Hat Kernel - Custom kernel problems

This is Interesting: Free IT Magazines  
Home > Archive > Red Hat Kernel > January 2004 > Custom kernel problems





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Custom kernel problems
zeedan1

2004-01-23, 7:28 pm

I'm having trouble customizing my kernel and was hoping someone could give
me some idea of what's going wrong.

I'll list my procedure for this:

1. I log in as root and cd to /usr/src/linux-2.4 and run mkproper

2. I copy the kernel-2.4.20-athlon.config file into my linux-2.4 directory
from my config directory

3. I run make xconfig then I save and exit

4. I run make dep and make clean

5. I run make bzImage, make modules, and make module_install

6. Then it's make install and check my /boot/grub/grub.conf file and make
sure everything is ok and it is.

I went through this procedure twice so far after deleting the first custom
kernel after I got an error the first time.

I noticed on my second attempt that when I ran the make install command the
last line was:

mv: cannot stat vmlinuz or something very close to that but both times I
tried to boot the new custom kernel after a considerable way through the
boot process I get the error:

VFS: Cannot open root device "LABEL=/" or 00:00
Please append a correct "root=" boot option
Kernel panic: VFS: unable to mount root fs on 00:00

Could someone please give me an idea of what's going wrong? Does it have
something to do with my vmlinuz file?

Thank you,

Dan


zeedan1

2004-01-23, 7:28 pm

I'm running 9

thanks

"zeedan1" <Spammers@MustDie.com> wrote in message
news:4qKcnRC237Mr0nujXTWcpg@comcast.com...
quote:

> I'm having trouble customizing my kernel and was hoping someone could give
> me some idea of what's going wrong.
>
> I'll list my procedure for this:
>
> 1. I log in as root and cd to /usr/src/linux-2.4 and run mkproper
>
> 2. I copy the kernel-2.4.20-athlon.config file into my linux-2.4


directory
quote:

> from my config directory
>
> 3. I run make xconfig then I save and exit
>
> 4. I run make dep and make clean
>
> 5. I run make bzImage, make modules, and make module_install
>
> 6. Then it's make install and check my /boot/grub/grub.conf file and make
> sure everything is ok and it is.
>
> I went through this procedure twice so far after deleting the first custom
> kernel after I got an error the first time.
>
> I noticed on my second attempt that when I ran the make install command


the
quote:

> last line was:
>
> mv: cannot stat vmlinuz or something very close to that but both times I
> tried to boot the new custom kernel after a considerable way through the
> boot process I get the error:
>
> VFS: Cannot open root device "LABEL=/" or 00:00
> Please append a correct "root=" boot option
> Kernel panic: VFS: unable to mount root fs on 00:00
>
> Could someone please give me an idea of what's going wrong? Does it have
> something to do with my vmlinuz file?
>
> Thank you,
>
> Dan
>
>




jgk

2004-01-23, 7:28 pm

"zeedan1" <Spammers@MustDie.com> schreef in bericht
news:-CGdnYXWDebEzHujXTWcpA@comcast.com...
quote:

> I'm running 9
>
> thanks
>
> "zeedan1" <Spammers@MustDie.com> wrote in message
> news:4qKcnRC237Mr0nujXTWcpg@comcast.com...
give[QUOTE][color=darkred]
> directory
make[QUOTE][color=darkred]
custom[QUOTE][color=darkred]
> the
>
>


Dan,


You need step 2a.

make oldconfig


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com