I use UEFI, but I do have grub installed as a fallback. My drive looks like this
Device Start End Sectors Size Type
/dev/sda1 2048 1050623 1048576 512M EFI System
/dev/sda2 1050624 1550335 499712 244M Linux filesystem
/dev/sda3 1550336 1000214527 998664192 476.2G Linux LVM
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 477G 0 disk
sda1 8:1 0 512M 0 part /boot/efi
sda2 8:2 0 244M 0 part /boot
sda3 8:3 0 476.2G 0 part
xen-dom0 254:0 0 28.2G 0 lvm /
xen-win8 254:1 0 100G 0 lvm
My root is ext4, my boot is ext4, my efi is vfat. Setup was just like beginners guide with
the exception that at partitioning I added LVM so I can grow or reduce my host at will.
So my kernel was on the boot. I installed xen. ran grub update( this gave me the fallback
UEFI grub. I then copied the kernel over to /boot/efi/EFI/arch_grub. That dir now looks like this
[root@archxen ~]# ls /boot/efi/EFI/arch_grub
boot initramfs-linux-mainline.img xen.bak
grubx64.efi vmlinuz-linux-mainline xen.cfg
initramfs-linux-mainline-fallback.img xen-4.5.0.efi
I then ran
efibootmgr -w -L ArchLinux_Xen -l "\EFI\arch_grub\xen-4.5.0.efi" -c
****NOTE: that EFI is the first dir under vfat****
I am betting your boot is ext4? and EFI is the mount for your EFI partition?
if so then try
efibootmgr -w -L Xen -l "\EFI\arch_grub\xen-4.5.0.efi" -c
Search Criteria
Package Details: xen-efi 4.5.0-1
Package Actions
| Package Base: | xen-efi |
|---|---|
| Description: | Xen 4.5 (hypervisor tools and doc git ver) |
| Upstream URL: | http://xen.org/ |
| Category: | system |
| Licenses: | |
| Conflicts: | |
| Provides: | |
| Submitter: | dlm1065 |
| Maintainer: | dlm1065 |
| Last Packager: | dlm1065 |
| Votes: | 2 |
| First Submitted: | 2015-01-17 04:36 |
| Last Updated: | 2015-01-17 04:36 |
Dependencies (46)
- bin86
- bluez-libs
- bridge-utils
- bzip2
- cmake
- e2fsprogs
- glibc
- gnutls
- iasl
- inetutils
- iproute
- libaio
- libgl
- libiscsi
- libpng
- lzo2
- mingw-w64-binutils
- nss
- ovmf
- pkgconfig
- python
- python2
- sdl
- spice
- spice-protocol
- transfig
- urlgrabber
- usbredir
- usleep
- xz
- yajl
- zlib
- dev86 (make)
- dtc (make)
- ghostscript (make)
- git (make)
- libaio (make)
- libcacard (make)
- libgl (make)
- libiscsi (make)
- markdown (make)
- ocaml-findlib (make)
- spice (make)
- spice-protocol (make)
- texi2html (make)
- usbredir (make)
Required by (0)
Sources
- 09_xen
- 4.4_Example.xen.conf
- conf.d-xenconsoled
- conf.d-xenstored
- efi-xen.cfg
- grub.conf
- xen.install
- xen
Latest Comments
Comment by dlm1065
Comment by lazycat
Thank you, dlm1065 for this work! You start your xen-efi with grub?
Anyone know, how to start it with efibootmgr?
After
efibootmgr -w -L Xen -l "\boot\EFI\EFI\arch_grub\xen-4.5.0.efi" -c
my system crash. What i doing wrong? :(
Comment by jbbr
Works fine for me, switched from 4.4.1 xen aur package. I only had to enable new systemd services and adjust my boot configuration.
Thank you!
Comment by dlm1065
This is xen 4.5.0 this is set to boot via efi by grub and/or xen itself. It uses git to pull the xen-4.5.0-RELEASE in with its specific tool chains. The ovmf build dependency is used rather than pulling and installing the tool chain version. XEND is deprecated. If grub2 is installed then it will act as a fallback safety feature in case of boot issues.