did i trash my kernel?
Greetings!
I tried to create a custom kernel with an added system call, so the goal was to have 2 kernels to choose from at boot time.
In /usr/src/linux-2.4.28-gentoo-r5, I edited the Makefile so that "EXTRAVERSION = -gentoo-r5-new", and recompiled my custom kernel with the following commands:
make mrproper
make menuconfig
make dep
make bzImage
make modules
make modules-install
make install
Now I have 2 kernels, and when I boot from the original, I get the following error at boot:
Bringing eth0 up via DHCP... [!!]
ERROR: Problem starting needed services.
"netmount" was not started.
The original kernel I compiled with genkernel. The new kernel used the method described above. Here is my grub.conf:
default 0
timeout 30
splashimage=(hd0,0)/grub/splash.xpm.gz
title=Gentoo Linux 2.4.28-r5
root (hd0,0)
kernel /kernel-2.4.28-gentoo-r5 root=/dev/ram0 init=/linuxrc
ramdisk=8192 real_root=/dev/hda3
initrd /initrd-2.4.28-gentoo-r5
title=Gentoo Linux 2.4.28-r5-new
root (hd0,0)
kernel /vmlinuz-2.4.28-gentoo-r5-new root=/dev/hda3
So, did I trash my original kernel? Was the method I used to compile a custom kernel incorrect?
Thank you for your help.
Jensen
__________________________________
Do you Yahoo!?
Yahoo! Mail - You care about security. So do we.
http://promotions.yahoo.com/new_mail
Hi,
Quoted 5 lines
In
/usr/src/linux-2.4.28-gentoo-r5, I edited theMakefileso that "EXTRAVERSION = -gentoo-r5-new", and recompiled my custom kernel with the following commands:
Quoted 7 lines
make mrproper
make menuconfig
make dep
make bzImage
make modules
make modules-install
make install
This looks fine so far except that we don't know if the settings in the .config-file match your computers hardware and needs.
Quoted 3 lines
Bringing eth0 up via DHCP... [!!]
ERROR: Problem starting needed services.
"netmount" was not started.
This is NOT a kernel error message.
This message is printed by the shellscript /etc/init.d/net.eth0 which is started by init.
Maybe there is no module for eth0 loaded? Log in as root and try dhcpcd eth0
What happens? What error message do you get? Fix that.
Quoted 2 lines
So, did I trash my original kernel? Was the method I used to compile a custom kernel incorrect?
As I said above - this is NOT a kernel error. Maybe there's a missing module, but the would depend on your kernel configuration or
on /etc/modules.autoload.d/kernel-2.4 (load the right modules on startup).
If you have further questions concerning this error and / or gentoo linux look at the forums at forums.gentoo.org or contact me directly. Don't bother the LKML with this.
Greets,
Manuel