[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #54820] grub2-standalone cannot boot from UEFI virtio disks
From: |
Etzion Bar-Noy |
Subject: |
[bug #54820] grub2-standalone cannot boot from UEFI virtio disks |
Date: |
Thu, 11 Oct 2018 00:16:37 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36 |
URL:
<https://savannah.gnu.org/bugs/?54820>
Summary: grub2-standalone cannot boot from UEFI virtio disks
Project: GNU GRUB
Submitted by: ezaton
Submitted on: Thu 11 Oct 2018 04:16:35 AM UTC
Category: Booting
Severity: Major
Priority: 5 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release:
Release: 2.02
Reproducibility: Every Time
Planned Release: None
_______________________________________________________
Details:
Physical host: Centos 7.5, running KVM (libvirtd+QEMU), with UEFI enabled, as
followed by this:https://www.server-world.info/en/note?os=CentOS_7&p=kvm&f=11
VM: Centos 7.5, with EFI bios (OVMF_CODE-pure-efi.fd). OS disk is virtio.
Grub2 related packages:
grub2-common-2.02-0.65.el7.centos.2.noarch
grub2-pc-modules-2.02-0.65.el7.centos.2.noarch
grub2-tools-minimal-2.02-0.65.el7.centos.2.x86_64
grub2-tools-extra-2.02-0.65.el7.centos.2.x86_64
grub2-tools-2.02-0.65.el7.centos.2.x86_64
grub2-pc-2.02-0.65.el7.centos.2.x86_64
grub2-efi-x64-modules-2.02-0.65.el7.centos.2.noarch
grub2-2.02-0.65.el7.centos.2.x86_64
grub2-efi-x64-2.02-0.65.el7.centos.2.x86_64
System (CentOS) installs and boots on virtual hardware correctly. Then
creating "grub2-standalone" using the following procedure:
grub2-mkstandalone --directory="/usr/lib/grub/x86_64-efi"
--format="x86_64-efi" --output="grub-standlone.efi" --locales="address@hidden"
--themes="" --modules="$grub_modules" --pubkey=elbit.pub -v boot/grub/user.cfg
boot/grub/grub.cfg boot/grub/user.cfg.sig boot/grub/grub.cfg.sig
The content of $grub_modules is:
acpi
adler32
affs
afs
ahci
all_video
aout
appleldr
archelp
ata
at_keyboard
backtrace
bfs
bitmap
bitmap_scale
blocklist
boot
bsd
btrfs
bufio
cat
cbfs
cbls
cbmemc
cbtable
cbtime
chain
cmdline_cat_test
cmp
configfile
cpio_be
cpio
cpuid
crc64
cryptodisk
crypto
cs5536
datehook
date
datetime
diskfilter
disk
dm_nv
echo
efifwsetup
efi_gop
efinet
efi_uga
ehci
elf
eval
exfat
exfctest
ext2
extcmd
fat
file
fixvideo
font
fshelp
functional_test
gcry_arcfour
gcry_blowfish
gcry_camellia
gcry_cast5
gcry_crc
gcry_des
gcry_dsa
gcry_idea
gcry_md4
gcry_md5
gcry_rfc2268
gcry_rijndael
gcry_rmd160
gcry_rsa
gcry_seed
gcry_serpent
gcry_sha1
gcry_sha256
gcry_sha512
gcry_tiger
gcry_twofish
gcry_whirlpool
geli
gettext
gfxmenu
gfxterm_background
gfxterm_menu
gfxterm
gptsync
gzio
halt
hashsum
hdparm
hello
help
hexdump
hfs
hfspluscomp
hfsplus
http
iorw
iso9660
jfs
jpeg
keylayouts
keystatus
ldm
legacycfg
legacy_password_test
linux16
linuxefi
linux
loadbios
loadenv
loopback
lsacpi
lsefimmap
lsefi
lsefisystab
lsmmap
ls
lspci
lssal
luks
lvm
lzopio
macbless
macho
mdraid09_be
mdraid09
mdraid1x
memdisk
memrw
minicmd
minix2_be
minix2
minix3_be
minix3
minix_be
minix
mmap
morse
mpi
msdospart
multiboot2
multiboot
nativedisk
net
newc
nilfs2
normal
ntfscomp
ntfs
odc
offsetio
ohci
part_acorn
part_amiga
part_apple
part_bsd
part_dfly
part_dvh
part_gpt
part_msdos
part_plan
part_sun
part_sunpc
parttool
password
password_pbkdf2
pata
pbkdf2
pbkdf2_test
pcidump
play
png
priority_queue
probe
procfs
progress
raid5rec
raid6rec
read
reboot
regexp
reiserfs
relocator
romfs
scsi
search_fs_file
search_fs_uuid
search_label
search
serial
setjmp
setjmp_test
setpci
sfs
signature_test
sleep
sleep_test
spkmodem
squash4
syslinuxcfg
tar
terminal
terminfo
test_blockarg
testload
test
testspeed
tftp
tga
time
trig
tr
true
udf
ufs1_be
ufs1
ufs2
uhci
usb_keyboard
usb
usbms
usbserial_common
usbserial_ftdi
usbserial_pl2303
usbserial_usbdebug
usbtest
verify
video_bochs
video_cirrus
video_colors
video_fb
videoinfo
video
videotest_checksum
videotest
xfs
xnu
xnu_uuid
xnu_uuid_test
xzio
zfscrypt
zfsinfo
zfs
This stadnalone grub can boot, and will stop prompting for no /vmlinuz and
/initramfs. However, when the disk type is changed from 'virtio' to 'sata',
the system will boot correctly. Using (in grub shell) 'ls -l' will not show
the virtio disk.
Regular GRUB2 works fine, it's just the standalone version.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?54820>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug #54820] grub2-standalone cannot boot from UEFI virtio disks,
Etzion Bar-Noy <=