Bhyve and CentOS 7 can't power off

PaulP

Cadet
Joined
Apr 5, 2019
Messages
7
<div class="bbWrapper">Hi,<br /> <br /> I thought this was fixed, but it apparently isn't (?).<br /> <br /> I do an install of CentOS 7 (1805) as everything later seems to crash with that MokUtil bug. (Has anyone got Centos-7 1810 working in FreeNAS 11.2 bHyve? )<br /> <br /> I'm installing on FreeNAS 11.2 Stable. Everything goes great. I install using the Centos7 GUI. I put in the Server with GUI config and everything goes fine.<br /> <br /> Since the MokUtil bug is still there, I don't dare upgrading so I keep the excludes=shim*,mokutil* line in my /etc/yum.conf file.<br /> <br /> I perform a 'yum update' and it works great as long as I use the '--skip-broken' due to the kernel conflict with excluding the upgrades in the line above.<br /> <br /> Great. Everything is working like a champ. I reboot.<br /> <br /> It works fine and reboots just great.<br /> <br /> Then, I power off the machine and restart, it goes back to the installer.<br /> <br /> So, I then shut it down again. Edit the VM's devices to make sure the DVD drive is at 1005 in the boot order.<br /> <br /> It still comes up with the installer. It seems that bHyve can't find the disk/boot strap. (but it's there in the partition where I put it.)<br /> <br /> So, I go into the installer, it finds the install and mounts it under /mnt. I try re-copying the /boot/efi/EFI/centos/grubx64.efi to /boot/efi/EFI/BOOT/BOOTX64.EFI<br /> <br /> Same behavior.<br /> <br /> So, what is the magic process to get this working? <br /> <br /> Thank you!<br /> <br /> P.</div>
 

PaulP

Cadet
Joined
Apr 5, 2019
Messages
7
<div class="bbWrapper">Next, I did something kind of crazy and totally removed the CDROM/DVD. I rebooted and everything is fine(??) so far.</div>
 

PaulP

Cadet
Joined
Apr 5, 2019
Messages
7
<div class="bbWrapper">So, it looks like everything is good. I can now use the image as my base and I've successfully cloned it and the clone boots as well.</div>
 
Top