LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   HELP upgraded kernel to 2.6.0, can't boot (https://www.linuxquestions.org/questions/linux-software-2/help-upgraded-kernel-to-2-6-0-cant-boot-140928/)

fobius 02-01-2004 02:21 AM

HELP upgraded kernel to 2.6.0, can't boot
 
hi,

i just finished configuring and compiling the 2.6.0 kernel on my mandrake 9.2 system and ran make modules and make install already. after that I editied lilo.conf and made an entry for my new kernel. Then I ran /sbin/lilo and then rebooted. After the system starts, I get a screen saying:

Code:

Could not find kernel image: linux
boot:

What should I do? Before I rebooted I checked the symlinks in /boot and vmlinuz and initrd.img etc were all pointing to my new kernel. the only thing that wasn't was kernel.h, which was pointing to my old 2.4.22 kernel. There wasn't a kernel.h for 2.6 in /boot.

Is there any way to fix this?

Thanks

fobius 02-01-2004 02:24 AM

ok, sorry about that last post, it was a stupid mistake. I was able to get past that part but now when I select the new kernel from lilo, all I get is a blank screen...not sure why..any ideas?

i can't seem to boot back into my old 2.4.22 kernel either since all I did was copy the 2.4.22 lilo entry and change the label to linux for my new kernel..

watashiwaotaku7 02-01-2004 10:26 AM

probably you didnt select the right framebuffer, in the graphics section under device drivers select the vesa driver this should be a safe bet and you likely dont need video performance while at the command prompt anyway, as for getting into 2.4 just undo the changes you made or best would be to set up your lilo to have two entries and the only difference is under label and image dont forget to run /sbin/lilo afterwards

fobius 02-01-2004 11:40 AM

where should my symlinks be pointing to for System.map, etc? the new kernel or my old 2.4.22?

fobius 02-01-2004 02:59 PM

i checked my configuration but I have those options selected. I just recompiled my kernel to make sure and I still have a black screen. After I selected "linux" from lilo upon reboot, I just get a black screen but the hd has activity still. in my lilo, I have an entry for my 2.6 kernel that is exactly the same as the entry for my old 2.4.22 kernel but only with label saying "linux" and image=/boot/vmlinuz-2.6.01

help?

watashiwaotaku7 02-01-2004 10:26 PM

system.map and such are entirely unimportant to a desktop user, what video card do you have? and post your /etc/lilo.conf

fobius 02-02-2004 02:04 AM

i have a Nvidia Geforce 2 MX card. here's my lilo:

Code:

boot=/dev/hda
map=/boot/map
default="linux"
keytable=/boot/us.klt
prompt
nowarn
timeout=100
message=/boot/message
menu-scheme=wb:bw:wb:bw
image=/boot/vmlinuz-2.6.01
        label="linux"
        root=/dev/hda9
        initrd=/boot/initrd.img
        append="quiet devfs=mount hdc=ide-scsi acpi=ht resume=/dev/hda10 splash=silent"
        vga=788
        read-only
image=/boot/vmlinuz-2.4.22-10mdk
        label="linux_2.4"
        root=/dev/hda9
        initrd=/boot/initrd.img
        append="quiet devfs=mount hdc=ide-scsi acpi=ht resume=/dev/hda10 splash=silent"
        vga=788
        read-only
image=/boot/vmlinuz
        label="linux-nonfb"
        root=/dev/hda9
        initrd=/boot/initrd.img
        append="quiet devfs=mount hdc=ide-scsi acpi=ht resume=/dev/hda10"
        read-only
other=/dev/hda1
        label="windows"
        table=/dev/hda
other=/dev/fd0
        label="floppy"
        unsafe
image=/boot/vmlinuz-2.4.21-0.13mdk
        label="2421-13"
        root=/dev/hda9
        initrd=/boot/initrd-2.4.21-0.13mdk.img
        append="quiet devfs=mount hdc=ide-scsi acpi=ht resume=/dev/hda10 splash=silent"
        read-only
image=/boot/vmlinuz-2.4.21-0.13mdk
        label="old_linux"
        root=/dev/hda9
        initrd=/boot/initrd-2.4.21-0.13mdk.img
        append="quiet devfs=mount hdc=ide-scsi acpi=ht resume=/dev/hda10"
        vga=788
        read-only
image=/boot/vmlinuz-2.4.21-0.13mdk
        label="old_linux-nonfb"
        root=/dev/hda9
        initrd=/boot/initrd-2.4.21-0.13mdk.img
        append="devfs=mount hdc=ide-scsi acpi=ht resume=/dev/hda10"
        read-only



All times are GMT -5. The time now is 01:24 AM.