Find the answer to your Linux question:
Results 1 to 6 of 6
I have a New 64bit fedora 10 remote dedicated box from Hosting Company. I have updated its kernel from 2.6.27.21-170.2.56.fc10.x86_64 to 2.6.27.24-170.2.68.fc10.x86_64. After rebooting Server its always boot from kernel-2.6.27.21-170.2.56.fc10.x86_64. ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Dec 2007
    Posts
    3

    Kernel not booting from grub.conf


    I have a New 64bit fedora 10 remote dedicated box from Hosting Company. I have updated its kernel from 2.6.27.21-170.2.56.fc10.x86_64 to 2.6.27.24-170.2.68.fc10.x86_64.

    After rebooting Server its always boot from kernel-2.6.27.21-170.2.56.fc10.x86_64. It totally ignore the sequence of kernel booting defined in grub.conf. i have commented all older kernel entries in grub.conf except New one-2.6.27.24-170.2.68.fc10.x86_64. Even then it boot from older kernel 2.6.27.21-170.2.56.fc10.x86_64.

    For information i have not installed lilo. Can anyone tell why and how server is booting from a specific kernel and not entertaining grub.conf.

    I have checked the booting logs, server simply boot from kernel-2.6.27.21-170.2.56.fc10.x86_64 and not errors in logs. can someone tell me whats going on with my box.

    Regards, mateen

  2. #2
    Linux Guru Jonathan183's Avatar
    Join Date
    Oct 2007
    Posts
    3,042
    What does
    Code:
    ls /boot -la
    ls /boot/grub -la
    mount
    report ?

  3. #3
    Linux Guru Lakshmipathi's Avatar
    Join Date
    Sep 2006
    Location
    3rd rock from sun - Often seen near moon
    Posts
    1,757

    Exclamation

    and also post you /boot/grub/menu.lst file contents
    First they ignore you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
    -----
    FOSS India Award winning ext3fs Undelete tool www.giis.co.in. Online Linux Terminal http://www.webminal.org

  4. #4
    Just Joined!
    Join Date
    Dec 2007
    Posts
    3
    [root@09D9 ~]# ls /boot -la
    total 14523
    drwxr-xr-x 5 root root 1024 2009-05-28 15:28 .
    drwxr-xr-x 22 root root 4096 2009-05-31 05:01 ..
    -rw-r--r-- 1 root root 85102 2009-03-24 03:17 config-2.6.27.21-170.2.56.fc10.x86_64
    -rw-r--r-- 1 root root 85237 2009-05-21 02:56 config-2.6.27.24-170.2.68.fc10.x86_64
    drwxr-xr-x 3 root root 1024 2009-04-13 23:37 efi
    drwxr-xr-x 2 root root 1024 2009-05-28 19:14 grub
    -rw------- 1 root root 3054137 2009-04-13 23:43 initrd-2.6.27.21-170.2.56.fc10.x86_64.img
    -rw------- 1 root root 3448613 2009-05-28 15:28 initrd-2.6.27.24-170.2.68.fc10.x86_64.img
    drwxr-xr-x 2 root root 12288 2009-04-14 14:38 lost+found
    -rw-r--r-- 1 root root 1409005 2009-03-24 03:17 System.map-2.6.27.21-170.2.56.fc10.x86_64
    -rw-r--r-- 1 root root 1409836 2009-05-21 02:56 System.map-2.6.27.24-170.2.68.fc10.x86_64
    -rwxr-xr-x 1 root root 2642688 2009-03-24 03:17 vmlinuz-2.6.27.21-170.2.56.fc10.x86_64
    -rwxr-xr-x 1 root root 2644128 2009-05-21 02:56 vmlinuz-2.6.27.24-170.2.68.fc10.x86_64
    [root@09D9 ~]# ls /boot/grub -la
    total 279
    drwxr-xr-x 2 root root 1024 2009-05-28 19:14 .
    drwxr-xr-x 5 root root 1024 2009-05-28 15:28 ..
    -rw-r--r-- 1 root root 63 2009-04-13 23:38 device.map
    -rw-r--r-- 1 root root 11736 2009-04-13 23:38 e2fs_stage1_5
    -rw-r--r-- 1 root root 11512 2009-04-13 23:38 fat_stage1_5
    -rw-r--r-- 1 root root 10744 2009-04-13 23:38 ffs_stage1_5
    -rw------- 1 root root 1132 2009-05-28 19:14 grub.conf
    -rw-r--r-- 1 root root 10736 2009-04-13 23:38 iso9660_stage1_5
    -rw-r--r-- 1 root root 12328 2009-04-13 23:38 jfs_stage1_5
    lrwxrwxrwx 1 root root 11 2009-04-13 23:38 menu.lst -> ./grub.conf
    -rw-r--r-- 1 root root 10968 2009-04-13 23:38 minix_stage1_5
    -rw-r--r-- 1 root root 13360 2009-04-13 23:38 reiserfs_stage1_5
    -rw-r--r-- 1 root root 40685 2008-10-24 14:40 splash.xpm.gz
    -rw-r--r-- 1 root root 512 2009-04-13 23:38 stage1
    -rw-r--r-- 1 root root 111020 2009-05-28 19:21 stage2
    -rw-r--r-- 1 root root 11008 2009-04-13 23:38 ufs2_stage1_5
    -rw-r--r-- 1 root root 10344 2009-04-13 23:38 vstafs_stage1_5
    -rw-r--r-- 1 root root 12984 2009-04-13 23:38 xfs_stage1_5
    [root@09D9 ~]# mount
    /dev/sda1 on / type ext3 (rw)
    /proc on /proc type proc (rw)
    sysfs on /sys type sysfs (rw)
    devpts on /dev/pts type devpts (rw,gid=5,mode=620)
    /dev/sda3 on /boot type ext3 (rw)
    tmpfs on /dev/shm type tmpfs (rw)
    none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)

    cat /etc/grub.conf
    default=0
    timeout=0
    splashimage=(hd0,0)/boot/grub/splash.xpm.gz
    hiddenmenu
    title Fedora (2.6.27.24-170.2.68.fc10.x86_64)
    root (hd0,0)
    kernel /boot/vmlinuz-2.6.27.24-170.2.68.fc10.x86_64 ro root=UUID=f891f5fe-270c-422a-bc0f-6c5addaf7ae7 rhgb quiet
    initrd /boot/initrd-2.6.27.24-170.2.68.fc10.x86_64.img
    #title Fedora (2.6.27.21-170.2.56.fc10.x86_64)
    # root (hd0,0)
    # kernel /boot/vmlinuz-2.6.27.21-170.2.56.fc10.x86_64 ro root=UUID=f891f5fe-270c-422a-bc0f-6c5addaf7ae7 rhgb quiet
    # initrd /boot/initrd-2.6.27.21-170.2.56.fc10.x86_64.img

  5. #5
    Just Joined!
    Join Date
    Dec 2007
    Posts
    3
    Thanks guys especially greate hint @Jonathan183, my problem is solved.

    I have removed the /boot partition separately added for booting (sda3). MBR had the boot entry on /, instead of /boot, which was causing the problem.

  6. #6
    Linux Guru Jonathan183's Avatar
    Join Date
    Oct 2007
    Posts
    3,042
    Glad you sorted it out

Posting Permissions

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