Results 1 to 7 of 7
  1. #1

    Problems with upgrade kernel using yum

    Hi, Ive type:

    yum upgrade kernel

    Server was not back. Then, LT reboot mannualy and choose other kernel to boot.
    yum remove kernel-2.6.9-42.0.2.EL

    up2date --force kernel


    server not back again, then, LT says:


    The following error message tells you why it is not booting properly.

    Errors follow: ata 1 failed to set xfermode (err_mask=0x4
    mkroot: label/not found
    switchroot: mount failed:22
    kernel panic attempted to kill init!

    The kernel you have tried to use is not mounting /.

    Can you help with this problem? Im using old kernel, and it have security problem.

    look my grub.conf

    title CentOS (2.6.9-42.0.2.EL)
    root (hd0,0)
    kernel /vmlinuz-2.6.9-42.0.2.EL ro root=LABEL=/ ide0=noprobe ide1=noprobe
    initrd /initrd-2.6.9-42.0.2.EL.img
    title CentOS (2.6.9-34.0.2.EL)
    root (hd0,0)
    kernel /vmlinuz-2.6.9-34.0.2.EL ro root=LABEL=/ ide0=noprobe ide1=noprobe
    initrd /initrd-2.6.9-34.0.2.EL.img
    title CentOS-4 i386 (2.6.9-34.EL)
    root (hd0,0)
    kernel /vmlinuz-2.6.9-34.EL ro root=LABEL=/ ide0=noprobe ide1=noprobe
    initrd /initrd-2.6.9-34.EL.img
    my fstab
    # This file is edited by fstab-sync - see 'man fstab-sync' for details
    LABEL=/ / ext3 defaults,usrquota 1 1
    LABEL=/boot1 /boot ext3 defaults 1 2
    none /dev/pts devpts gid=5,mode=620 0 0
    none /dev/shm tmpfs defaults 0 0
    none /proc proc defaults 0 0
    none /sys sysfs defaults 0 0
    LABEL=SWAP-sda2 swap swap defaults 0 0

  2. #2
    Join Date
    Jul 2003
    Goleta, CA
    what's in /var/log/panic.log ?

  3. #3
    I can´t find this file, panic.log using locate, find, .. where is it in Centos 4 ?

  4. #4
    Please, kernel outdated for a long time, and LT don´t help.

  5. #5
    Join Date
    Nov 2002
    * Moved to Technical and Security Issues....

    I support the Human Rights Campaign!
    Moving to the Tampa, Florida area? Check out life in the suburbs in Trinity, Florida.

  6. #6
    hostz, you are using CentOS 4 ? Then try

    yum upgrade kernel

  7. #7
    Join Date
    Oct 2004
    Southwest UK
    your grub.conf is wrong. Get rid of the 'label=' parts so it looks like:
    kernel /vmlinuz- ro root=/dev/md3
    Then edit your grub.conf to remove the 'label=\' part on the first line and replace it with the device name of the IDE drive (eg. /dev/hda or /dev/sda)

    /dev/hda / ext3 defaults,usrquota 1 1
    Compare the current grub.conf and fstab with the original ones when you first installed the server and you'll see the problem.
    Do not meddle in the affairs of Dragons, for you are crunchy and taste good.

Posting Permissions

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