Results 1 to 5 of 5
  1. #1
    Join Date
    Feb 2007
    Location
    Florida
    Posts
    1,930

    Question Cannot boot server to new kernel.

    We cannot figure out why our dedicated server will not boot to the correct kernel. I've removed all other options from grub.conf but it's still booting to the default CentOS setup.

    grub.conf:
    Code:
    # grub.conf generated by anaconda
    #
    # Note that you do not have to rerun grub after making changes to this file
    # NOTICE:  You do not have a /boot partition.  This means that
    #          all kernel and initrd paths are relative to /, eg.
    #          root (hd0,0)
    #          kernel /boot/vmlinuz-version ro root=/dev/mapper/ddf1_4c53492020202020808627c300000000378494a900000a28p1
    #          initrd /boot/initrd-version.img
    #boot=/dev/mapper/ddf1_4c53492020202020808627c300000000378494a900000a28
    default=0
    timeout=5
    splashimage=(hd0,0)/boot/grub/splash.xpm.gz
    hiddenmenu
    title CentOS (2.6.18-028stab062.3)
            root (hd0,0)
            kernel /boot/vmlinux-2.6.18-028stab062.3 ro root=LABEL=/
            initrd /boot/initrd-2.6.18-028stab062.3.img
    Code:
    uname -r
    2.6.18-128.el5
    -Joe @ Secure Dragon LLC.
    + OpenVZ Powered by Wyvern | KVM | cPanel Hosting | Backup VPSs | LowEndBoxes | DDOS Protection
    + Florida | Colorado | Illinois | California | Oregon | Georgia | New Jersey | Arizona | Texas

  2. #2
    Join Date
    Jul 2001
    Location
    Singapore
    Posts
    1,790
    I guess you are editing the file in /etc/grub.conf? One thing to check is whether /etc/grub.conf is a symlink to /boot/grub/grub.conf. If it is not, you can simply remove /etc/grub.conf and symlink to /boot/grub/grub.conf.
    Giam Teck Choon
    :: Join choon.net Community today to share your tips and tricks on server issues please ::
    :: Singapore Dedicated Servers :: Singapore Virtual Private Servers :: Linux/FreeBSD Server Management ::

  3. #3
    Join Date
    Jul 2009
    Location
    SLASH ROOT
    Posts
    26
    Yes. the file that actually is used is /boot/grub/grub.conf. This is the correct boot loader for the server. If any changes are to be made, it should be made here.

    On boot a symbolic link will be made to the path "/etc/grub.conf".

    ----------------------------
    Sr. Systems Engineer
    WHRSS
    We grow by helping you grow.

  4. #4
    Hello,

    In /boot/grub/grub.conf you will find the similar entries,

    kernel /vmlinuz-2.6.18-92.1.22.el5 ro root=LABEL=/
    initrd /initrd-2.6.18-92.1.22.el5.img


    Check them and compare the versions of kernel is right or wrong.

  5. #5
    Join Date
    Feb 2007
    Location
    Florida
    Posts
    1,930
    Thanks for the replies, we figured out the problem (we were using Parallel's installation guide which is incorrect). We reinstalled everything with the correct setup and all is working properly!
    -Joe @ Secure Dragon LLC.
    + OpenVZ Powered by Wyvern | KVM | cPanel Hosting | Backup VPSs | LowEndBoxes | DDOS Protection
    + Florida | Colorado | Illinois | California | Oregon | Georgia | New Jersey | Arizona | Texas

Similar Threads

  1. Server does not boot new kernel...why ?
    By glace in forum Hosting Security and Technology
    Replies: 4
    Last Post: 01-08-2008, 02:27 PM
  2. using specific kernel only on next boot?
    By NuCode in forum Hosting Security and Technology
    Replies: 2
    Last Post: 09-26-2006, 12:27 PM
  3. Kernel boot
    By linuxperts in forum Hosting Security and Technology
    Replies: 22
    Last Post: 04-05-2005, 05:02 AM
  4. Kernel upgrade failed how to boot to old kernel Urgent Please
    By WWWhost in forum Hosting Security and Technology
    Replies: 2
    Last Post: 01-07-2005, 11:00 PM
  5. boot kernel.. how do i change?
    By AtlasPC-Darren in forum Hosting Security and Technology
    Replies: 7
    Last Post: 06-21-2004, 09:01 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •