Mailinglist Archive: opensuse-virtual (28 mails)

< Previous Next >
[opensuse-virtual] Chainloaded Xen Dom0 on EFI hardware FAILs at grub config generation after upgrade from Opensuse 13.2 -> Leap 42.1. Has the Xen-on-EFI prep process changed?
I've been running a Xen Dom0 server

Opensuse 13.2
Xen from /Virtualization
kernel from Kernel:Stable

rpm -qa | egrep "kernel-xen-4|^xen-4|grub2-x" | sort
grub2-x86_64-efi-2.02~beta2-68.2.x86_64
grub2-x86_64-xen-2.02~beta2-68.2.x86_64
kernel-xen-4.3.0-4.1.g734b32c.x86_64
xen-4.6.0_02-397.1.x86_64

on EFI hardware.

I've been chainloading xen.efi.

I'm attempting an upgrade on the server, from Opensuse 13.2 -> Leap.

After the upgrade, but before a reboot, generation of the grub config now FAILs during the mkinitrd step(s)

@ console

/usr/sbin/grub2-mkconfig
Generating grub configuration file ...
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub2-mkconfig using
templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -f ${config_directory}/grubenv ]; then
load_env -f ${config_directory}/grubenv
elif [ -s $prefix/grubenv ]; then
load_env
fi

if [ "${env_block}" ] ; then
load_env -f "${env_block}"
fi

if [ "${next_entry}" ] ; then
set default="${next_entry}"
set next_entry=
save_env next_entry
if [ "${env_block}" ] ; then
save_env -f "${env_block}" next_entry
fi
set boot_once=true
else
set default="${saved_entry}"
fi

if [ x"${feature_menuentry_id}" = xy ]; then
menuentry_id_option="--id"
else
menuentry_id_option=""
fi

export menuentry_id_option

if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi

function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}

function load_video {
if [ x$feature_all_video_module = xy ]; then
insmod all_video
else
insmod efi_gop
insmod efi_uga
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
fi
}

serial --unit=0 --speed=115200 --word=8 --parity=no --stop=1
terminal_input console serial
terminal_output console serial
if [ x${boot_once} = xtrue ]; then
set timeout=0
elif [ x$feature_timeout_style = xy ] ; then
set timeout_style=menu
set timeout=8
# Fallback normal timeout code in case the timeout_style
feature is
# unavailable.
else
set timeout=8
fi
### END /etc/grub.d/00_header ###

...

### BEGIN /etc/grub.d/20_linux_xen ###
Found hypervisor: /boot/xen-4.6.0_02-397.gz
Found linux image: /boot/vmlinuz-4.3.0-4.g734b32c-xen
Found initrd image: /boot/initrd-4.3.0-4.g734b32c-xen
menuentry 'openSUSE Leap 42.1, with Xen hypervisor' --class opensuse --class gnu-linux --class gnu --class os --class xen $menuentry_id_option 'xen-gnulinux-simple-4716053b-39da-4cc1-a7ce-72171b862357' {
echo 'Loading Xen 4.6.0_02-397 with Linux 4.3.0-4.g734b32c-xen ...'
chainloader $cmdpath/xen-4.6.0_02-397.efi xen-4.6.0_02-397.efi config.1
}

cp: cannot stat '/vmlinuz-4.3.0-4.g734b32c-xen': No such file
or directory

Where

ls -al /boot/efi/EFI/opensuse
total 2.3M
drwxrwxr-x 2 root root 4.0K Nov 16 17:16 ./
drwxrwxr-x 4 root root 4.0K Mar 28 2015 ../
-rwxrwxr-x 1 root root 133K Nov 16 15:26 grubx64.efi*
-rwxrwxr-x 1 root root 42 Nov 16 17:16 grub.xen-files*
-rwxrwxr-x 1 root root 990 Nov 16 17:16 xen-4.6.0_02-397.cfg*
-rwxrwxr-x 1 root root 2.1M Nov 11 13:18 xen-4.6.0_02-397.efi*

Have the prep steps needed changed?

--
To unsubscribe, e-mail: opensuse-virtual+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-virtual+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups