PDA

View Full Version : Problem install kernel-2.6.33-0.24.rc5.git1.fc13.x86_64


chepioq
29th January 2010, 09:26 PM
Hi..
I have problem with kernel-2.6.33-0.24.rc5.git1.fc13.x86_64
When I update kernel with yum in console I have this message:
Lancement de la transaction
Installation : kernel-2.6.33-0.24.rc5.git1.fc13.x86_64 1/2
Non-fatal POSTIN scriptlet failure in rpm package kernel-2.6.33-0.24.rc5.git1.fc13.x86_64
E: Failed to install /lib/udev/firmware.sh
mkinitrd failed
attention: %post(kernel-2.6.33-0.24.rc5.git1.fc13.x86_64) scriptlet failed, exit status 1
Installation : kernel-devel-2.6.33-0.24.rc5.git1.fc13.x86_64 2/2

Installé:
kernel.x86_64 0:2.6.33-0.24.rc5.git1.fc13
kernel-devel.x86_64 0:2.6.33-0.24.rc5.git1.fc13

And when I want reboot on this kernel, it is not in my 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,7)
# kernel /vmlinuz-version ro root=/dev/sda9
# initrd /initrd-version.img
#boot=/dev/sda8
default=1
timeout=10
splashimage=(hd0,7)/grub/splash.xpm.gz
hiddenmenu

title Fedora (2.6.33-0.18.rc4.git7.fc13.x86_64)
root (hd0,7)
kernel /vmlinuz-2.6.33-0.18.rc4.git7.fc13.x86_64 ro root=UUID=215e72f1-9f2d-4940-96d8-f0f28c3854a3 rhgb vga=0x365 quiet LANG=fr_FR.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=fr-latin9 rd_plytheme=charge
initrd /initramfs-2.6.33-0.18.rc4.git7.fc13.x86_64.img

title Fedora (2.6.32.3-21.fc13.x86_64)
root (hd0,7)
kernel /vmlinuz-2.6.32.3-21.fc13.x86_64 ro root=UUID=215e72f1-9f2d-4940-96d8-f0f28c3854a3 rhgb vga=0x365 quiet LANG=fr_FR.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=fr-latin9 rd_plytheme=charge
initrd /initramfs-2.6.32.3-21.fc13.x86_64.img

In my /boot I have no initramfs for this kernel:
[root@localhost ~]# ls /boot
config-2.6.32.3-21.fc13.x86_64
config-2.6.33-0.18.rc4.git7.fc13.x86_64
config-2.6.33-0.24.rc5.git1.fc13.x86_64
efi
grub
initramfs-2.6.32.3-21.fc13.x86_64.img
initramfs-2.6.33-0.18.rc4.git7.fc13.x86_64.img
lost+found
System.map-2.6.32.3-21.fc13.x86_64
System.map-2.6.33-0.18.rc4.git7.fc13.x86_64
System.map-2.6.33-0.24.rc5.git1.fc13.x86_64
vmlinuz-2.6.32.3-21.fc13.x86_64
vmlinuz-2.6.33-0.18.rc4.git7.fc13.x86_64
vmlinuz-2.6.33-0.24.rc5.git1.fc13.x86_64

leigh123linux
29th January 2010, 09:32 PM
It's easy to fix ( you need the latest dracut package dracut-004-5 )


su
yum update dracutif it isn't available get it from koji.

Then build initramfs

su
dracut -v /boot/initramfs-2.6.33-0.24.rc5.git1.fc13.x86_64.img 2.6.33-0.24.rc5.git1.fc13.x86_64Edit grub.conf and add the missing entry


i.e


# 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,7)
# kernel /vmlinuz-version ro root=/dev/sda9
# initrd /initrd-version.img
#boot=/dev/sda8
default=1
timeout=10
splashimage=(hd0,7)/grub/splash.xpm.gz
hiddenmenu

title Fedora (2.6.33-0.24.rc5.git1.fc13.x86_64)
root (hd0,7)
kernel /vmlinuz-2.6.33-0.24.rc5.git1.fc13.x86_64 ro root=UUID=215e72f1-9f2d-4940-96d8-f0f28c3854a3 rhgb vga=0x365 quiet LANG=fr_FR.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=fr-latin9 rd_plytheme=charge rdblacklist=nouveau
initrd /initramfs-2.6.33-0.24.rc5.git1.fc13.x86_64.img

title Fedora (2.6.33-0.18.rc4.git7.fc13.x86_64)
root (hd0,7)
kernel /vmlinuz-2.6.33-0.18.rc4.git7.fc13.x86_64 ro root=UUID=215e72f1-9f2d-4940-96d8-f0f28c3854a3 rhgb vga=0x365 quiet LANG=fr_FR.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=fr-latin9 rd_plytheme=charge
initrd /initramfs-2.6.33-0.18.rc4.git7.fc13.x86_64.img

title Fedora (2.6.32.3-21.fc13.x86_64)
root (hd0,7)
kernel /vmlinuz-2.6.32.3-21.fc13.x86_64 ro root=UUID=215e72f1-9f2d-4940-96d8-f0f28c3854a3 rhgb vga=0x365 quiet LANG=fr_FR.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=fr-latin9 rd_plytheme=charge
initrd /initramfs-2.6.32.3-21.fc13.x86_64.img

chepioq
30th January 2010, 05:13 AM
Thank leigh, that 's work.

Skopje Travel Photos on Instagram - Termoli Travel Photos on Instagram - Elazig Travel Photos