Kernel update/ replaceThere was an error generating the initrd (1)

Builded image by kiwi (susestudio). When I update or replace kernel there was an errors.

zypper remove kernel-default
Telepítési forrás adatainak beolvasása…
Telepített csomagok beolvasása…
Függőségek feloldása…

A következő ÚJ csomagok kerülnek telepítésre:
kernel-desktop vmware-guest-kmp-desktop

A következő csomagok kerülnek ELTÁVOLÍTÁSRA:
kernel-default vmware-guest-kmp-default

2 új csomag telepítése, 2 eltávolítása.
Letöltés mérete: 37,7 MiB. A művelet után további 3,1 MiB szabadul fel.
Folytatja? * (i):
csomag kernel-desktop-3.4.47-2.38.1.i686 letöltése (1/2), 37,5 MiB (111,8 MiB kicsomagolva)
Letöltés: kernel-desktop-3.4.47-2.38.1.i686.rpm …[kész (2,7 MiB/s)]
csomag vmware-guest-kmp-desktop-8.8.2_k3.4.33_2.24-3.6.4.i586 letöltése (2/2), 114,2 KiB (253,9 KiB kicsomagolva)
Letöltés: vmware-guest-kmp-desktop-8.8.2_k3.4.33_2.24-3.6.4.i586.rpm …[kész]
Eltávolítás: vmware-guest-kmp-default-8.8.2_k3.4.33_2.24-3.6.4 …[kész]
Eltávolítás: kernel-default-3.4.47-2.38.1 …[kész]
További rpm kimenet:
warning: %postun(kernel-default-3.4.47-2.38.1.i586) scriptlet failed, exit status 1

kernel-desktop-3.4.47-2.38.1 telepítése …[kész]
További rpm kimenet:

Kernel image: /boot/vmlinuz-3.4.47-2.38-desktop
Initrd image: /boot/initrd-3.4.47-2.38-desktop
KMS drivers: vmwgfx
Root device: /dev/vgsystem/LVRoot (mounted on / as ext3)
Resume device: /dev/vgsystem/LVSwap
setup-md.sh: md0 found multiple times
modprobe: Module hid_generic not found.
WARNING: no dependencies for kernel module ‘hid-generic’ found.
Kernel Modules: thermal_sys thermal processor fan dm-mod dm-snapshot scsi_dh scsi_dh_hp_sw scsi_dh_emc scsi_dh_rdac scsi_dh_alua drm ttm vmwgfx scsi_transport_spi mptbase mptscsih mptspi xhci-hcd hid-logitech-dj raid0 raid1 raid10 async_tx async_memcpy xor async_xor raid6_pq async_pq async_raid6_recov raid456 linear
Features: acpi dm kms plymouth block usb md lvm2 resume.userspace resume.kernel
Perl-Bootloader: 2013-07-10 13:13:37 ERROR: Command ‘/usr/sbin/grub2-install --force --skip-fs-probe /dev/vgsystem/LVRoot >/var/log/YaST2/y2log_bootloader 2>&1’ failed with code 256 and output: /usr/sbin/grub2-probe: error: cannot find a GRUB drive for /dev/vgsystem/LVRoot. Check your device.map.

There was an error generating the initrd (1)

vmware-guest-kmp-desktop-8.8.2_k3.4.33_2.24-3.6.4 telepítése …[kész]

Have somebody met the error message ?

After kernel updated couldn’t refresh the /boot/grub2/grub.cfg file and system rebooted get error. (edited grub2 and system reboot without error)
If run manually grub2-mkconfig -o /boot/grub2/grub.cfg then the result is OK.
But If I used zypper patch (update) command there was error above.

Thanks
Attila*

On 2013-07-10 13:46, amaxiprivate wrote:
>
> Builded image by kiwi (susestudio). When I update or replace kernel
> there was an errors.

Then you have to ask in the susestudio subforum. Please ask a moderator
to move your post - use report button below.

> zypper remove kernel-default
> Telepítési forrás adatainak beolvasása…
> Telepített csomagok beolvasása…

Two things, we can not read that. One:

Please use code tags for printouts and commands (the’#’ button).
Posting in
Code Tags - A Guide

Two:

When the system language is not English, you should do,
in order to post here, like this:


minas-tirith:~ # LANG=en_US.UTF-8 zypper info kvm
Loading repository data...
Warning: Repository 'openSUSE-11.4-Update' appears to outdated. Consider
using a different mirror or server.
Reading installed packages...

or this:


minas-tirith:~ # LANG=C zypper info kvm
Loading repository data...
Warning: Repository 'openSUSE-11.4-Update' appears to outdated. Consider
using a different mirror or server.
Reading installed packages...
^C

That way we can all read it, regardless of local languages of sender and
reader.


Cheers / Saludos,

Carlos E. R.
(from 12.3 x86_64 “Dartmouth” at Telcontar)

Hi,

Thanks the answer.

I assume that I found the solution.
I think this is not kiwi problem.

Caused the problem some failure parameters that I used in the device.map.

Attila