OpenVZ Forum


Home » General » Support » stable kernel not installing
stable kernel not installing [message #4224] Mon, 03 July 2006 09:45 Go to next message
atomico80 is currently offline  atomico80
Messages: 14
Registered: July 2006
Location: Belgium
Junior Member

I'm running 2.6.15-1.2054_FC5 kernel under a Vmware virtual machine.
my VM has 160mb RAM, 6Gb HD, and intel p4 Processor.

i downloaded ovzkernel-2.6.8-022stab078.10.i686.rpm and also ovzkernel-2.6.8-022stab078.10.nosrc.rpm and ovzkernel-2.6.8-022stab078.10.src.rpm.

following the quick insallation guide i run the rpm command.
a process is executed with a progressive bar.
at the end back to the normal cursor.

following up with the guide, i open /boot/grub/grub.conf file and i ADD (because i couldn't find that lines inside that file) the line as written there (just modifing the number of the verion .1 with .10).

the same with sysctl.

i tried the same operation with the 3 kernels.

rebooting, i get the message kernel not found.

what's wrong?
can u please help me?
Alessandro

Re: stable kernel not installing [message #4225 is a reply to message #4224] Mon, 03 July 2006 10:22 Go to previous messageGo to next message
dim is currently offline  dim
Messages: 344
Registered: August 2005
Senior Member
Your /boot/grub/grub.conf file should contain something like this:
 title Fedora Core (2.6.8-022stab078.10)
        root (hd0,0)
        kernel /vmlinuz-2.6.8-022stab078.10 ro root=LABEL=/ console=ttyS0,115200 console=tty debug silencelevel=8
        initrd /initrd-2.6.8-022stab078.10.img

in order to boot installed OpenVZ kernel.
If you provide entire `cat /boot/grub/grub.conf` output here, I'll could say exactly, what's wrong with your config.


http://static.openvz.org/openvz_userbar_en.gif
Re: stable kernel not installing [message #4229 is a reply to message #4224] Mon, 03 July 2006 10:54 Go to previous messageGo to next message
atomico80 is currently offline  atomico80
Messages: 14
Registered: July 2006
Location: Belgium
Junior Member

here is the grub file.

note, in the meanwhile i tried to install kernel-2.6.16-1.2111_FC5.026test012.i686.rpm

i did the modification following the guide and rebooting i get the error reported in the image attached(kernel panic).

I also followed the "How to modify initrd image", but the init script mentioned in the guide is rather different from the one i get from "initrd-2.6.16-1.2111_FC5.026test012.img" file.

so i replaced the old conf files and I inverted the 2 'title' bloks in grub.conf file.
below the grub file.

I hope I've been clear
thanks

[root@localhost ~]# cat /boot/grub/grub.conf
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /boot/, eg.
#          root (hd0,0)
#          kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
#          initrd /initrd-version.img
#boot=/dev/sda
default=0
timeout=20
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu

title Fedora Core (2.6.15-1.2054_FC5)
        root (hd0,0)
        kernel /vmlinuz-2.6.15-1.2054_FC5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
        initrd /initrd-2.6.15-1.2054_FC5.img

title Fedora Core (2.6.16-1.2111_FC5.026test012)
        root (hd0,0)
        kernel /vmlinuz-2.6.16-1.2111_FC5.026test012 ro root=/dev/VolGroup00/LogVol00 
        initrd /initrd-2.6.16-1.2111_FC5.026test012.img
[root@localhost ~]#

[Updated on: Mon, 03 July 2006 11:04]

Report message to a moderator

Re: stable kernel not installing [message #4242 is a reply to message #4229] Mon, 03 July 2006 16:10 Go to previous messageGo to next message
dim is currently offline  dim
Messages: 344
Registered: August 2005
Senior Member
Attached image is incomplete. Please, setup serial console - check http://wiki.openvz.org/Remote_console_setup for details on how to configure it on sending side. Then, if you created your VM in regular way, add serial port with output in regular file to it. In this file you will get entire boot output. Please, attach it here.

http://static.openvz.org/openvz_userbar_en.gif
Re: stable kernel not installing [message #4257 is a reply to message #4242] Tue, 04 July 2006 09:48 Go to previous messageGo to next message
atomico80 is currently offline  atomico80
Messages: 14
Registered: July 2006
Location: Belgium
Junior Member

attached the txt file with the output.

  • Attachment: output.txt
    (Size: 11.19KB, Downloaded 305 times)

[Updated on: Tue, 04 July 2006 09:49]

Report message to a moderator

Re: stable kernel not installing [message #4313 is a reply to message #4257] Wed, 05 July 2006 11:39 Go to previous message
dim is currently offline  dim
Messages: 344
Registered: August 2005
Senior Member
This is known issue, will be fixed in the next kernels. Workaround is to use smp kernel.

http://static.openvz.org/openvz_userbar_en.gif
Previous Topic: No module aar81xx found for kernel while installing kernel rpm
Next Topic: *SOLVED* java 5 at debian ve can't be installed?!
Goto Forum:
  


Current Time: Mon Aug 19 16:18:35 GMT 2024

Total time taken to generate the page: 0.03125 seconds