LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   fedora dual kernel boot error (https://www.linuxquestions.org/questions/linux-newbie-8/fedora-dual-kernel-boot-error-198934/)

taoweijia 06-28-2004 10:42 PM

fedora dual kernel boot error
 
fedora core2 (upgraded from core 1) running on EPIA ME 10000.
cd /usr/src
tar -xvjpf ~/linux-2.4.26.tar.bz2
mv /usr/src/linux-2.4.26 /usr/src/linux-2.4.26-epia1

cd linux-2.4.26-epia1
gzip -dc ~/patch-2.4.26-epia1.gz|patch -p1
gzip -dc ~/patch-2.4.26-epia2.gz|patch -p1 -Rf

make oldconfig

make menuconfig
make dep , make , make modules, make modules_install, make install, reboot then Kernel panic : no init found.

grub.conf is:

titile Fedora Core (2.4.26)
root (hd0,0)
kernel .vmlinuz-2.4.26 ro root=LABEL=/ vga=0x317 rhgb
initrd /initrd-2.4.26.img
title Fedora Core (2.4.22-1.2115.nptl)
root (hd0,0)
kernel /vmlinuz-2.4.22-1.2.115.nptl ro root=LABEL=/ vga=0x317 rhgb
initrd /initrd-2.4.22-1.2115.nptl.img

my /boot has:

-rw-r--r-- 1 root root 0 Jun 29 11:30 boot.txt
-rw-r--r-- 1 root root 49612 Oct 30 2003 config-2.4.22-1.2115.nptl
drwxr-xr-x 2 root root 1024 Jun 29 10:29 grub
-rw-r--r-- 1 root root 167883 Jun 17 09:38 initrd-2.4.22-1.2115.nptl.img
-rw-r--r-- 1 root root 98483 Jun 29 10:29 initrd-2.4.26.img
-rw-r--r-- 1 root root 543 Jun 17 09:37 kernel.h
drwx------ 2 root root 12288 Jun 17 17:32 lost+found
lrwxrwxrwx 1 root root 29 Jun 29 10:45 System.map -> System.map-2.4.22-1.2115.nptl
-rw-r--r-- 1 root root 582775 Oct 30 2003 System.map-2.4.22-1.2115.nptl
-rw-r--r-- 1 root root 623719 Jun 29 10:29 System.map-2.4.26
lrwxrwxrwx 1 root root 41 Jun 17 09:37 vmlinux-2.4.22-1.2115.nptl -> ../lib/modules/2.4.22-1.2115.nptl/vmlinux
lrwxrwxrwx 1 root root 14 Jun 29 10:29 vmlinuz -> vmlinuz-2.4.26
-rw-r--r-- 1 root root 1252277 Oct 30 2003 vmlinuz-2.4.22-1.2115.nptl
-rw-r--r-- 1 root root 1203105 Jun 29 10:29 vmlinuz-2.4.26

can anyone help me make this new kernel bootable?
thanks

ppuru 06-28-2004 11:20 PM


titile Fedora Core (2.4.26)
root (hd0,0)
kernel
.vmlinuz-2.4.26 ro root=LABEL=/ vga=0x317 rhgb
initrd /initrd-2.4.26.img


should it not read as

kernel /vmlinuz-2.4.26 ro root=LABEL=/ vga=0x317 rhgb

/ instead of . -- is that the problem? Typo in your grub.conf or typo on your post?

taoweijia 06-29-2004 01:47 AM

ah, yes, it is a / not a dot my typo.

ppuru 06-29-2004 01:51 AM

may be a typo again ....

you are missing the /boot

that is

kernel /boot/vmlinuz...

taoweijia 06-29-2004 01:57 AM

nah.... not /boot/vmlinuz...


All times are GMT -5. The time now is 05:22 PM.