I created a vm for 'rocky linux' using
The
However, the contents of /mnt/sysimage/boot/grub2/ do not match. On the VM this directory only contains a soft link from grubenv to ../efi/EFI/rocky/grubenv. This file contains a grub environment block which is similar to that found in /boot/grub2/grubenv/ on the actual rocky linux installation.
What needs to be done to get the VM to boot into the installed system instead of the installer?
virt-manager
. A virtual console was presented and the install was completed normally. When I rebooted from the console the machine evidently restarted and is currently running. However, I cannot get a console window to open. The
virt-manager
display shows that a serial device is configured. If I forcibly stop the vm and restart then the installation menu is displayed in the virtual console. I can break into the rescue mode and mount the file system. The contents of /mnt/sysimage/boot/ are correct when I compare them to an actual 'rocky linux' install.However, the contents of /mnt/sysimage/boot/grub2/ do not match. On the VM this directory only contains a soft link from grubenv to ../efi/EFI/rocky/grubenv. This file contains a grub environment block which is similar to that found in /boot/grub2/grubenv/ on the actual rocky linux installation.
What needs to be done to get the VM to boot into the installed system instead of the installer?