[Solved] Unable to install RHEL9 on VirtualBox
-
- Posts: 38
- Joined: 12. Feb 2021, 00:02
[Solved] Unable to install RHEL9 on VirtualBox
Whenever to start it, it will almost immediately panic:
Thanks.
Please see the attached logs and the screen copy.Thanks.
-
- Site Moderator
- Posts: 20945
- Joined: 30. Dec 2009, 20:14
- Primary OS: MS Windows 10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows, Linux
Re: Unable to install RHEL9 on VirtualBox
There was no log, but the green turtle is present, so Hyper-V is enabled. See HMR3Init: Attempting fall back to NEM (Hyper-V is active)
-
- Volunteer
- Posts: 5690
- Joined: 14. Feb 2019, 03:06
- Primary OS: Mac OS X other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Linux, Windows 10, ...
- Location: Germany
Re: Unable to install RHEL9 on VirtualBox
If you haven't already eliminated Hyper-V, please try if the following command helps:
[/s]
Edit:
Damn it, that happens when you type instead of copy!
Please try the following command instead:
If it does not help, and only then, additionally try:
Code: Select all
VBoxManage setextradata "RHEL9" "VBoxInternal/CFGM/IsaExts/POPCNT" "1"
Edit:
Damn it, that happens when you type instead of copy!

Please try the following command instead:
Code: Select all
VBoxManage setextradata "RHEL9" "VBoxInternal/CPUM/IsaExts/POPCNT" "1"
Code: Select all
VBoxManage setextradata "RHEL9" "VBoxInternal/CPUM/IsaExts/POPCNT" "2"
Last edited by fth0 on 31. Jul 2022, 13:01, edited 1 time in total.
-
- Posts: 38
- Joined: 12. Feb 2021, 00:02
Re: Unable to install RHEL9 on VirtualBox
Just clarify: as after I turned off the Hyper-V in Windows 11's setting and rebooted the machine, tried to install RHEL9, still same problem, so I re-enabled the Hyper-V.
Just tried your VBoxMange command, but still, the RHEL9 will almost immediately panic. I tried to add the logs, now I found it said the log file too big, max allowed size is only 128Kib, but my log files are all bigger than that, let me know how should I send the log files over.
Just tried your VBoxMange command, but still, the RHEL9 will almost immediately panic. I tried to add the logs, now I found it said the log file too big, max allowed size is only 128Kib, but my log files are all bigger than that, let me know how should I send the log files over.
-
- Site Moderator
- Posts: 39134
- Joined: 4. Sep 2008, 17:09
- Primary OS: MS Windows 10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Mostly XP
Re: Unable to install RHEL9 on VirtualBox
I deleted your pasted, partial logs.
Please provide a VM log file. Make sure the VM is fully shut down, then right click it in the manager UI. Select "Show Log" and save "VBox.log" (no other file) to a zip file. Then attach the zip here.
I would say to look for the "Upload attachment" tab when composing a message, but you already posted a screenshot so you must already know about it.
Please provide a VM log file. Make sure the VM is fully shut down, then right click it in the manager UI. Select "Show Log" and save "VBox.log" (no other file) to a zip file. Then attach the zip here.
I would say to look for the "Upload attachment" tab when composing a message, but you already posted a screenshot so you must already know about it.
-
- Posts: 38
- Joined: 12. Feb 2021, 00:02
Re: Unable to install RHEL9 on VirtualBox
Ok, please see the attached zipped log file
- Attachments
-
- VBox.zip
- VBox.log
- (28.54 KiB) Downloaded 76 times
-
- Volunteer
- Posts: 5690
- Joined: 14. Feb 2019, 03:06
- Primary OS: Mac OS X other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Linux, Windows 10, ...
- Location: Germany
Re: Unable to install RHEL9 on VirtualBox
Sorry, I made a mistake. 
Please see my previous post for the correct command.

Please see my previous post for the correct command.
-
- Posts: 38
- Joined: 12. Feb 2021, 00:02
Re: Unable to install RHEL9 on VirtualBox
The
VBoxManage setextradata "RHEL9" "VBoxInternal/CPUM/IsaExts/POPCNT" "1"
fixed the issue. Thanks a lot!!!
VBoxManage setextradata "RHEL9" "VBoxInternal/CPUM/IsaExts/POPCNT" "1"
fixed the issue. Thanks a lot!!!
-
- Volunteer
- Posts: 5690
- Joined: 14. Feb 2019, 03:06
- Primary OS: Mac OS X other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Linux, Windows 10, ...
- Location: Germany
Re: Unable to install RHEL9 on VirtualBox
Thanks for reporting back! 

-
- Posts: 38
- Joined: 12. Feb 2021, 00:02
Re: Unable to install RHEL9 on VirtualBox
Hi fth0, may I know what does the command VBoxManage setextradata "RHEL9" "VBoxInternal/CPUM/IsaExts/POPCNT" "1" do? as I found now the svm flag in /proc/cpuinfo is gone on all my Linux VMs, could not get KVM support for qemu. If that's the cause, how to restore it to its original state? Thanks a lot.fth0 wrote:Thanks for reporting back!
-
- Volunteer
- Posts: 5690
- Joined: 14. Feb 2019, 03:06
- Primary OS: Mac OS X other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Linux, Windows 10, ...
- Location: Germany
Re: [Solved] Unable to install RHEL9 on VirtualBox
VirtualBox 6.1.36 does not to provide the CPU capability POPCNT to the guest OS when running in NEM mode (under Hyper-V). The given extradata setting overrides this decision. Leave out only the digit '1' (but keep the then empty quotes "") to remove the extradata setting.
I don't see any connection to the SVM flag, but let's discuss that in your other thread.
I don't see any connection to the SVM flag, but let's discuss that in your other thread.