You are missing the initramfs for that kernel. Choose another kernel from the GRUB menu under Advanced options for Ubuntu and run sudo update-initramfs -u -k version to generate the initrd for version (replace version with the kernel version string such as 4.15.0-36-generic) then sudo update-grub.
Il faudrait traduire les commandes apt en rpm (debian en redhat)
# update-initramfs -u -k 2.6.32-754.25.1.el6.x86_64.img
-bash: update-initramfs : commande introuvable
# uname -r
2.6.32-754.24.3.el6.x86_64
# ls -al /boot/initramfs-2.6.32-754.2*
-rw------- 1 root admin 16671395 2 oct. 23:15 /boot/initramfs-2.6.32-754.23.1.el6.x86_64.img
-rw------- 1 root admin 16710299 16 nov. 14:49 /boot/initramfs-2.6.32-754.24.3.el6.x86_64.img
-rw------- 1 root root 10256384 29 déc. 02:26 /boot/initramfs-2.6.32-754.25.1.el6.x86_64.img
=> mkinitrd -f -v initramfs-2.6.32-754.25.1.el6.x86_64.img 2.6.32-754.25.1.el6.x86_64
J'ai essayé aussi
=> dracut -f /boot/initramfs-2.6.32-754.25.1.el6.x86_64.img 2.6.32-754.25.1.el6.x86_64
le boot sur le noyau 2.6.32-754.24.3 fonctionne mais que nenni sur le noyau 2.6.32-754.25.1
https://sites.google.com/site/syscookbook/rhel/rhel-kernel-rebuildJ'ai toujours la même erreur avec le noyau 2.6.32-754.25.1
www.linux-nuts.com/convert-vcf2/IMG_2496.JPGsuite...
cat /etc/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,0)
# kernel /vmlinuz-version ro rd_NO_PLYMOUTH root=/dev/sda3
# initrd /initrd-[generic-]version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,0)/grub/smeserver.xpm.gz
foreground 000000
background 4E95D3
title SME Server 9.2 (2.6.32-754.25.1.el6.x86_64)
root (hd0,0)
kernel /vmlinuz-2.6.32-754.25.1.el6.x86_64 ro rd_NO_PLYMOUTH root=UUID=bfceb947-f798-4bc7-9782-d86bef103315 rd_NO_LUKS rd_NO_MD nodmraid LANG=fr_FR.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=fr-latin9 rd_NO_LVM rd_NO_DM rhgb quiet crashkernel=auto
title SME Server 9.2 (2.6.32-754.24.3.el6.x86_64)
root (hd0,0)
kernel /vmlinuz-2.6.32-754.24.3.el6.x86_64 ro rd_NO_PLYMOUTH root=UUID=bfceb947-f798-4bc7-9782-d86bef103315 rd_NO_LUKS rd_NO_MD nodmraid LANG=fr_FR.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=fr-latin9 rd_NO_LVM rd_NO_DM rhgb quiet crashkernel=auto
initrd /initramfs-2.6.32-754.24.3.el6.x86_64.img
title SME Server 9.2 (2.6.32-754.23.1.el6.x86_64)
root (hd0,0)
kernel /vmlinuz-2.6.32-754.23.1.el6.x86_64 ro rd_NO_PLYMOUTH root=UUID=bfceb947-f798-4bc7-9782-d86bef103315 rd_NO_LUKS rd_NO_MD nodmraid LANG=fr_FR.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=fr-latin9 rd_NO_LVM rd_NO_DM rhgb quiet crashkernel=auto
initrd /initramfs-2.6.32-754.23.1.el6.x86_64.img
Pour la version 2.6.32-754.25.1.el6.x86_64 pas de ligne :
initrd /initramfs-2.6.32-754.25.1.el6.x86_64.img
=> suite
J'ai trouvé la solution ici
https://forums.contribs.org/index.php?topic=53312.0voir le post de Stefano
# rpm -qa | grep kernel
kernel-2.6.32-754.23.1.el6.x86_64
dracut-kernel-004-411.el6.noarch
kernel-2.6.32-754.25.1.el6.x86_64
kernel-headers-2.6.32-754.25.1.el6.x86_64
kernel-firmware-2.6.32-754.25.1.el6.noarch
kernel-2.6.32-754.24.3.el6.x86_64
# yum remove kernel-2.6.32-754.25.1.el6.x86_64
Modules complémentaires chargés : fastestmirror, post-transaction-actions, smeserver
Configuration du processus de suppression
Résolution des dépendances
--> Lancement de la transaction de test
---> Package kernel.x86_64 0:2.6.32-754.25.1.el6 will be effacé
--> Résolution des dépendances terminée
Dépendances résolues
=============================================================================================================================================================================================================================================================================================================================
Paquet Architecture Version Dépôt Taille
=============================================================================================================================================================================================================================================================================================================================
Suppression:
kernel x86_64 2.6.32-754.25.1.el6 installed 133 M
Résumé de la transaction
=============================================================================================================================================================================================================================================================================================================================
Suppression de 1 paquet(s)
Taille d'installation : 133 M
Est-ce correct [o/N] : o
Téléchargement des paquets :
Lancement de rpm_check_debug
Lancement de la transaction de test
Transaction de test réussie
Lancement de la transaction
Suppression : kernel-2.6.32-754.25.1.el6.x86_64 1/1
attention: erase n'a pu délier /lib/modules/2.6.32-754.25.1.el6.x86_64/modules.order: Aucun fichier ou dossier de ce type
attention: erase n'a pu délier /lib/modules/2.6.32-754.25.1.el6.x86_64/modules.networking: Aucun fichier ou dossier de ce type
attention: erase n'a pu délier /lib/modules/2.6.32-754.25.1.el6.x86_64/modules.modesetting: Aucun fichier ou dossier de ce type
attention: erase n'a pu délier /lib/modules/2.6.32-754.25.1.el6.x86_64/modules.drm: Aucun fichier ou dossier de ce type
attention: erase n'a pu délier /lib/modules/2.6.32-754.25.1.el6.x86_64/modules.block: Aucun fichier ou dossier de ce type
Migrating existing database yum_installed
Migrating existing database backups
Migrating existing database hosts
Migrating existing database configuration
Migrating existing database yum_updates
Migrating existing database mailpatterns
Migrating existing database spamassassin
Migrating existing database domains
Migrating existing database networks
Migrating existing database accounts
Migrating existing database yum_available
Migrating existing database yum_repositories
Verifying : kernel-2.6.32-754.25.1.el6.x86_64 1/1
Supprimé:
kernel.x86_64 0:2.6.32-754.25.1.el6
Terminé !
==============================================================
WARNING: You now need to run BOTH of the following commands
to ensure consistent system state:
signal-event post-upgrade; signal-event reboot
You should run these commands unless you are certain that
yum made no changes to your system.
==============================================================
# yum update
Modules complémentaires chargés : fastestmirror, post-transaction-actions, smeserver
Configuration du processus de mise à jour
Loading mirror speeds from cached hostfile
* base: ftp.pasteur.fr
* updates: ftp.pasteur.fr
base | 3.7 kB 00:00
remi-safe | 3.0 kB 00:00
smeaddons | 2.9 kB 00:00
smeextras | 2.9 kB 00:00
smeos | 3.1 kB 00:00
smeupdates | 2.9 kB 00:00
updates | 3.4 kB 00:00
Résolution des dépendances
--> Lancement de la transaction de test
---> Package kernel.x86_64 0:2.6.32-754.25.1.el6 will be installé
--> Résolution des dépendances terminée
Dépendances résolues
=============================================================================================================================================================================================================================================================================================================================
Paquet Architecture Version Dépôt Taille
=============================================================================================================================================================================================================================================================================================================================
Installation:
kernel x86_64 2.6.32-754.25.1.el6 updates 32 M
Résumé de la transaction
=============================================================================================================================================================================================================================================================================================================================
Installation de 1 paquet(s)
Taille totale des téléchargements : 32 M
Taille d'installation : 133 M
Est-ce correct [o/N] : o
Téléchargement des paquets :
kernel-2.6.32-754.25.1.el6.x86_64.rpm | 32 MB 00:06
Lancement de rpm_check_debug
Lancement de la transaction de test
Transaction de test réussie
Lancement de la transaction
Installation : kernel-2.6.32-754.25.1.el6.x86_64 1/1
Migrating existing database yum_installed
Migrating existing database backups
Migrating existing database hosts
Migrating existing database configuration
Migrating existing database yum_updates
Migrating existing database mailpatterns
Migrating existing database spamassassin
Migrating existing database domains
Migrating existing database networks
Migrating existing database accounts
Migrating existing database yum_available
Migrating existing database yum_repositories
Verifying : kernel-2.6.32-754.25.1.el6.x86_64 1/1
Installé:
kernel.x86_64 0:2.6.32-754.25.1.el6
Terminé !
==============================================================
WARNING: You now need to run BOTH of the following commands
to ensure consistent system state:
signal-event post-upgrade; signal-event reboot
You should run these commands unless you are certain that
yum made no changes to your system.
==============================================================
# signal-event post-upgrade
# cat /etc/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,0)
# kernel /vmlinuz-version ro rd_NO_PLYMOUTH root=/dev/sda3
# initrd /initrd-[generic-]version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,0)/grub/smeserver.xpm.gz
foreground 000000
background 4E95D3
title SME Server 9.2 (2.6.32-754.25.1.el6.x86_64)
root (hd0,0)
kernel /vmlinuz-2.6.32-754.25.1.el6.x86_64 ro rd_NO_PLYMOUTH root=UUID=bfceb947-f798-4bc7-9782-d86bef103315 rd_NO_LUKS rd_NO_MD nodmraid LANG=fr_FR.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=fr-latin9 rd_NO_LVM rd_NO_DM rhgb quiet crashkernel=auto
initrd /initramfs-2.6.32-754.25.1.el6.x86_64.img
title SME Server 9.2 (2.6.32-754.24.3.el6.x86_64)
root (hd0,0)
kernel /vmlinuz-2.6.32-754.24.3.el6.x86_64 ro rd_NO_PLYMOUTH root=UUID=bfceb947-f798-4bc7-9782-d86bef103315 rd_NO_LUKS rd_NO_MD nodmraid LANG=fr_FR.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=fr-latin9 rd_NO_LVM rd_NO_DM rhgb quiet crashkernel=auto
initrd /initramfs-2.6.32-754.24.3.el6.x86_64.img
title SME Server 9.2 (2.6.32-754.23.1.el6.x86_64)
root (hd0,0)
kernel /vmlinuz-2.6.32-754.23.1.el6.x86_64 ro rd_NO_PLYMOUTH root=UUID=bfceb947-f798-4bc7-9782-d86bef103315 rd_NO_LUKS rd_NO_MD nodmraid LANG=fr_FR.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=fr-latin9 rd_NO_LVM rd_NO_DM rhgb quiet crashkernel=auto
initrd /initramfs-2.6.32-754.23.1.el6.x86_64.img
je crois que c'est ok
# signal-event reboot
Après le reboot
# uname -a
Linux tux 2.6.32-754.25.1.el6.x86_64 #1 SMP Mon Dec 23 15:19:53 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Je suis avec le dernier noyau!
Anne