The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Kernel did not update after up2date

Discussion in 'General Discussion' started by vladgur, May 20, 2003.

  1. vladgur

    vladgur Member

    Joined:
    Apr 18, 2003
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    1
    I searched these forums and found a way to update kernel using up2date:
    up2date -noX -f kernel
    My old kernel was 2.4.18-27.7 and the new one I tried to update with was 2.4.20-13.7.
    So I went ahead and issued the above up2date command. It did download the kernel rpm but didnt seem to install it. So I went to /var/spool/up2date and issued
    rpm -ivh kernel-2.4.20-13.7.i686.rpm
    After that was complete I checked /etc/grub.conf and surely there it was:
    Just to make sure, I edited my lilo.conf and made this the default label:
    So basically, this guaranteed that I will boot into 2.4.20...reboot...30 seconds....
    I checked dmesg:
    It seems that the new kernel just refuses to boot. ANy advice would be appreciated....

    cPanel.net Support Ticket Number:

    cPanel.net Support Ticket Number:
     
  2. vladgur

    vladgur Member

    Joined:
    Apr 18, 2003
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    1
    thanks, that was the missing piece :)

    cPanel.net Support Ticket Number:
     
  3. Adz

    Adz Member
    PartnerNOC

    Joined:
    Jul 2, 2003
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    I had the same problems as above, made the same steps to correct but on running lilo I get


    root@lucy [~]# lilo
    Added linux.too
    Fatal: Kernel doesn't support initial RAM disks

    Any ideas?

    cPanel.net Support Ticket Number:
     
  4. sexy_guy

    sexy_guy Well-Known Member

    Joined:
    Mar 19, 2003
    Messages:
    848
    Likes Received:
    0
    Trophy Points:
    16
    To apply the new kernel, after you have made the necesarry modifications etc you should have typed;

    lilo -v -v

    not

    lilo, which does nothing.

    cPanel.net Support Ticket Number:
     
  5. nitromax

    nitromax Well-Known Member

    Joined:
    Feb 12, 2002
    Messages:
    189
    Likes Received:
    0
    Trophy Points:
    16
    New Kernel Won't Boot...

    I have successfully updated the kernel with up2date on one of our RH 7.3 servers that uses lilo as the boot loader, no problems.

    But on another one of our RH 7.2 machines I go thru the up2date process and I just can't get the new kernel to boot. I think it's using grub, but I'm honestly not sure. I have no anaconda-ks.cfg file like our other newer servers do. I have updated the lilo.conf file and the grub.conf file just to make sure, but still nothing...

    After much research I have found that my /proc/cmdline file looks like this:

    initrd=initrd.img root=/dev/sda1 BOOT_IMAGE=vmlinuz auto


    I think that is the problem, as our 7.3 machine which I upgraded with no problems looks like this:

    auto BOOT_IMAGE=linuxnew ro root=307 BOOT_FILE=/boot/vmlinuz-2.4.20-19.7

    But again, the 7.3 machine uses lilo for sure! So I'm not sure exactly if that cmdline file is the problem, and if it is I'm not sure exactly what to change in to make it work.

    Can anyone point me in the right direction as to know for sure what boot loader is being used on this 7.2 machine? Remember, I don't have an anaconda-ks.cfg file to check as I have read in every other post. And can anyone tell me for sure what I would change the cmdline file to if that is indeed the problem?

    Any help would be appreciated! :)

    cPanel.net Support Ticket Number:
     
  6. Higgins

    Higgins Well-Known Member

    Joined:
    Jan 31, 2003
    Messages:
    82
    Likes Received:
    0
    Trophy Points:
    6
    Im getting the same Error. An other Machine with the same old Kernel has been updated without any Problem. Only on these MAchine i have that Problem

    cPanel.net Support Ticket Number:
     
  7. nitromax

    nitromax Well-Known Member

    Joined:
    Feb 12, 2002
    Messages:
    189
    Likes Received:
    0
    Trophy Points:
    16
Loading...

Share This Page