You are not logged in.
Hi all
After change system table:
switch from gpt to lvm,
System starts normally with Arch, Windows10 but without Xen
xen is no longer started with grub
i tried with sudo /usr/bin/grub-mkconfig -o /boot/grub/grub.cfg
and grub-customizer
with no result.
grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/10_linux_proxy ###
menuentry "Arch Linux" --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-1ba5d044-ada6-4fc1-9d5f-dc58b6f8e038' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod lvm
insmod ext2
set root='lvmid/mlQyIm-91ge-RtP3-vVX3-JY6Y-48XT-ZQVg2b/8nmdJO-mxdH-sfCD-sajf-MNMr-tNKF-fd1fPu'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint='lvmid/mlQyIm-91ge-RtP3-vVX3-JY6Y-48XT-ZQVg2b/8nmdJO-mxdH-sfCD-sajf-MNMr-tNKF-fd1fPu' 1ba5d044-ada6-4fc1-9d5f-dc58b6f8e038
else
search --no-floppy --fs-uuid --set=root 1ba5d044-ada6-4fc1-9d5f-dc58b6f8e038
fi
echo 'Loading Linux linux ...'
linux /boot/vmlinuz-linux root=/dev/mapper/vg1-lv_root rw loglevel=3 quiet
echo 'Loading initial ramdisk ...'
initrd /boot/intel-ucode.img /boot/initramfs-linux.img
}
menuentry "Arch Linux, with Linux 5.11.3-config-5.11.3_arch2-1_fw_xen_lvm210311-1" --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.11.3-config-5.11.3_arch2-1_fw_xen_lvm210311-1-advanced-1ba5d044-ada6-4fc1-9d5f-dc58b6f8e038' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod lvm
insmod ext2
set root='lvmid/mlQyIm-91ge-RtP3-vVX3-JY6Y-48XT-ZQVg2b/8nmdJO-mxdH-sfCD-sajf-MNMr-tNKF-fd1fPu'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint='lvmid/mlQyIm-91ge-RtP3-vVX3-JY6Y-48XT-ZQVg2b/8nmdJO-mxdH-sfCD-sajf-MNMr-tNKF-fd1fPu' 1ba5d044-ada6-4fc1-9d5f-dc58b6f8e038
else
search --no-floppy --fs-uuid --set=root 1ba5d044-ada6-4fc1-9d5f-dc58b6f8e038
fi
echo 'Loading Linux 5.11.3-config-5.11.3_arch2-1_fw_xen_lvm210311-1 ...'
linux /boot/vmlinuz-5.11.3-config-5.11.3_arch2-1_fw_xen_lvm210311-1 root=/dev/mapper/vg1-lv_root rw loglevel=3 quiet
echo 'Loading initial ramdisk ...'
initrd /boot/intel-ucode.img /boot/initramfs-5.11.3-config-5.11.3_arch2-1_fw_xen_lvm210311-1.img
}
menuentry "Arch Linux, with Linux 5.11.3-config-5.11.3_arch2-1_fw_xen_lvm210311-1 (recovery mode)" --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.11.3-config-5.11.3_arch2-1_fw_xen_lvm210311-1-recovery-1ba5d044-ada6-4fc1-9d5f-dc58b6f8e038' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod lvm
insmod ext2
set root='lvmid/mlQyIm-91ge-RtP3-vVX3-JY6Y-48XT-ZQVg2b/8nmdJO-mxdH-sfCD-sajf-MNMr-tNKF-fd1fPu'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint='lvmid/mlQyIm-91ge-RtP3-vVX3-JY6Y-48XT-ZQVg2b/8nmdJO-mxdH-sfCD-sajf-MNMr-tNKF-fd1fPu' 1ba5d044-ada6-4fc1-9d5f-dc58b6f8e038
else
search --no-floppy --fs-uuid --set=root 1ba5d044-ada6-4fc1-9d5f-dc58b6f8e038
fi
echo 'Loading Linux 5.11.3-config-5.11.3_arch2-1_fw_xen_lvm210311-1 ...'
linux /boot/vmlinuz-5.11.3-config-5.11.3_arch2-1_fw_xen_lvm210311-1 root=/dev/mapper/vg1-lv_root rw single
echo 'Loading initial ramdisk ...'
initrd /boot/intel-ucode.img /boot/initramfs-5.11.3-config-5.11.3_arch2-1_fw_xen_lvm210311-1.img
}
menuentry "Arch Linux, with Linux linux (recovery mode)" --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-recovery-1ba5d044-ada6-4fc1-9d5f-dc58b6f8e038' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod lvm
insmod ext2
set root='lvmid/mlQyIm-91ge-RtP3-vVX3-JY6Y-48XT-ZQVg2b/8nmdJO-mxdH-sfCD-sajf-MNMr-tNKF-fd1fPu'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint='lvmid/mlQyIm-91ge-RtP3-vVX3-JY6Y-48XT-ZQVg2b/8nmdJO-mxdH-sfCD-sajf-MNMr-tNKF-fd1fPu' 1ba5d044-ada6-4fc1-9d5f-dc58b6f8e038
else
search --no-floppy --fs-uuid --set=root 1ba5d044-ada6-4fc1-9d5f-dc58b6f8e038
fi
echo 'Loading Linux linux ...'
linux /boot/vmlinuz-linux root=/dev/mapper/vg1-lv_root rw single
echo 'Loading initial ramdisk ...'
initrd /boot/initramfs-linux-fallback.img
}
submenu "Advanced options for Arch Linux"{
menuentry "Arch Linux, with Linux linux" --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-advanced-1ba5d044-ada6-4fc1-9d5f-dc58b6f8e038' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod lvm
insmod ext2
set root='lvmid/mlQyIm-91ge-RtP3-vVX3-JY6Y-48XT-ZQVg2b/8nmdJO-mxdH-sfCD-sajf-MNMr-tNKF-fd1fPu'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint='lvmid/mlQyIm-91ge-RtP3-vVX3-JY6Y-48XT-ZQVg2b/8nmdJO-mxdH-sfCD-sajf-MNMr-tNKF-fd1fPu' 1ba5d044-ada6-4fc1-9d5f-dc58b6f8e038
else
search --no-floppy --fs-uuid --set=root 1ba5d044-ada6-4fc1-9d5f-dc58b6f8e038
fi
echo 'Loading Linux linux ...'
linux /boot/vmlinuz-linux root=/dev/mapper/vg1-lv_root rw loglevel=3 quiet
echo 'Loading initial ramdisk ...'
initrd /boot/intel-ucode.img /boot/initramfs-linux.img
}
menuentry "Arch Linux, with Linux linux (fallback initramfs)" --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-fallback-1ba5d044-ada6-4fc1-9d5f-dc58b6f8e038' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod lvm
insmod ext2
set root='lvmid/mlQyIm-91ge-RtP3-vVX3-JY6Y-48XT-ZQVg2b/8nmdJO-mxdH-sfCD-sajf-MNMr-tNKF-fd1fPu'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint='lvmid/mlQyIm-91ge-RtP3-vVX3-JY6Y-48XT-ZQVg2b/8nmdJO-mxdH-sfCD-sajf-MNMr-tNKF-fd1fPu' 1ba5d044-ada6-4fc1-9d5f-dc58b6f8e038
else
search --no-floppy --fs-uuid --set=root 1ba5d044-ada6-4fc1-9d5f-dc58b6f8e038
fi
echo 'Loading Linux linux ...'
linux /boot/vmlinuz-linux root=/dev/mapper/vg1-lv_root rw loglevel=3 quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initramfs-linux-fallback.img
}
}
### END /etc/grub.d/10_linux_proxy ###
### BEGIN /etc/grub.d/12_header ###
insmod part_gpt
insmod part_msdos
if [ -s $prefix/grubenv ]; then
load_env
fi
if [ "${next_entry}" ] ; then
set default="${next_entry}"
set next_entry=
save_env next_entry
set boot_once=true
else
set default="0"
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
}
set menu_color_normal=light-blue/brown
set menu_color_highlight=light-cyan/blue
if [ x$feature_default_font_path = xy ] ; then
font=unicode
else
insmod part_gpt
insmod lvm
insmod ext2
set root='lvmid/mlQyIm-91ge-RtP3-vVX3-JY6Y-48XT-ZQVg2b/8nmdJO-mxdH-sfCD-sajf-MNMr-tNKF-fd1fPu'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint='lvmid/mlQyIm-91ge-RtP3-vVX3-JY6Y-48XT-ZQVg2b/8nmdJO-mxdH-sfCD-sajf-MNMr-tNKF-fd1fPu' 1ba5d044-ada6-4fc1-9d5f-dc58b6f8e038
else
search --no-floppy --fs-uuid --set=root 1ba5d044-ada6-4fc1-9d5f-dc58b6f8e038
fi
font="/usr/share/grub/unicode.pf2"
fi
if loadfont $font ; then
set gfxmode=auto
load_video
insmod gfxterm
set locale_dir=$prefix/locale
set lang=fr_FR
insmod gettext
fi
terminal_input console
terminal_output gfxterm
if [ x$feature_timeout_style = xy ] ; then
set timeout_style=menu
set timeout=180
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
set timeout=180
fi
### END /etc/grub.d/12_header ###
### BEGIN /etc/grub.d/13_grub-customizer_menu_color_helper ###
### END /etc/grub.d/13_grub-customizer_menu_color_helper ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows Boot Manager (on /dev/nvme0n1p1)' --class windows --class os $menuentry_id_option 'osprober-efi-D08D-D24F' {
insmod part_gpt
insmod fat
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root D08D-D24F
else
search --no-floppy --fs-uuid --set=root D08D-D24F
fi
chainloader /efi/Microsoft/Boot/bootmgfw.efi
}
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/31_uefi-firmware ###
menuentry 'UEFI Firmware Settings' $menuentry_id_option 'uefi-firmware' {
fwsetup
}
### END /etc/grub.d/31_uefi-firmware ###
### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
### BEGIN /etc/grub.d/41_custom ###
if [ -f ${config_directory}/custom.cfg ]; then
source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
I do not have grub-xen-git (i tried to install it but makepkg failed )
only grub2.
i do not remember if i had it before changes.
In addition 20_linux_xen and 40_custom escapes grub config.
how to find xen hypervisor sub-menu and different kernels?
Offline
About Xen install
[roger@##_##:~]$ LC_ALL=C pacman -Qi xen xen-docs
Name : xen
Version : 4.14.1-1
Description : Open-source type-1 or baremetal hypervisor
Architecture : x86_64
URL : https://xenproject.org/
Licenses : GPL2
Groups : None
Provides : None
Depends On : zlib python ncurses openssl libx11 libuuid.so=1-64 yajl libaio glib2 pkgconf
bridge-utils iproute2 inetutils acpica lib32-glibc gnutls vde2 lzo pciutils sdl
Optional Deps : ed2k-ovmf: UEFI support
seabios: SeaBIOS payload support [installed]
xen-docs: HTML documentation and man pages [installed]
grub-xen-git: GRUB and pvgrub2 bootloader support
Required By : None
Optional For : None
Conflicts With : None
Replaces : None
Installed Size : 258.23 MiB
Packager : Unknown Packager
Build Date : Sun Mar 28 22:43:13 2021
Install Date : Sun Mar 28 23:15:45 2021
Install Reason : Explicitly installed
Install Script : Yes
Validated By : None
Name : xen-docs
Version : 4.14.1-1
Description : Xen hypervisor documentation and man pages
Architecture : any
URL : https://xenproject.org/
Licenses : GPL2
Groups : None
Provides : None
Depends On : None
Optional Deps : None
Required By : None
Optional For : xen
Conflicts With : None
Replaces : None
Installed Size : 4.63 MiB
Packager : Unknown Packager
Build Date : Sun Mar 28 22:43:13 2021
Install Date : Sun Mar 28 23:15:45 2021
Install Reason : Explicitly installed
Install Script : No
Validated By : None
Hardware
lsblk -f
NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINT
nvme1n1
├─nvme1n1p1 vfat FAT32 EFI-SYSTEM1 90D0-3FC3
├─nvme1n1p2 vfat FAT32 EFI-SYSTEM2 979A-3195
└─nvme1n1p3 LVM2_member LVM2 001 i3zWXV-R1nR-0B6o-bYGP-KFnV-OFPB-2yClPU
└─vg1-lv_root ext4 1.0 ARCH_RACINE 1ba5d044-ada6-4fc1-9d5f-dc58b6f8e038 31,2G 68% /
nvme0n1
├─nvme0n1p1 vfat FAT32 EFI-SYSTEM D08D-D24F
├─nvme0n1p2
├─nvme0n1p3 ntfs WINDOWS CE16903E16902A0B
└─nvme0n1p4 ntfs CEA42FF3A42FDCA9
Now
It seems 11_custom do the job
differents tries
multiboot /boot/xen-4.14.1.gz
module /boot/vmlinuz
module /boot/initramfs.img
}
..
multiboot /boot/xen-efi-ucode.bin /boot/xen-4.14.1.gz root=/dev/mapper/vg1-lv_root
module /boot/xen-efi-ucode.bin /boot/vmlinuz
module /boot/xen-efi-ucode.bin /boot/initramfs.img
}
..
multiboot /xen.gz
module /vmlinuz
module /initramfs.img
}
but continues with no result
Can someone say me
What is the process of xen starting, please?
Thanks in advance
Last edited by tec14 (2021-04-27 07:47:28)
Offline