Web lists-archives.com

Re: Installer: 32 vs. 64 bit




On Fri, Nov 09, 2018 at 05:31:00AM +0000, Chris Knadle wrote:
> A logical place to check or the lack of BIOS virtualization features and show an
> error message for this would be within the .postinst script for the virtualbox
> package in Debian.  This way when Virtualbox is installed the user installing it
> can be warned that VT-x or AMD-V isn't active and give a hint as to how to fix

It's pretty easy to miss messages in postinst scripts; sometimes a few
hundred go flying past and some of them print information that is noise
at best. Something this important probably ought to be a message in the
GUI somewhere, since people expect to interact with VirtualBox via GUI.

The cpu-checker package in Ubuntu might be worth stealing. The kvm-ok
script runs a handful of small checks to try to diagnose if KVM-based
virtualization acceleration will work or not:

$ kvm-ok
INFO: /dev/kvm exists
KVM acceleration can be used

https://launchpad.net/ubuntu/+source/cpu-checker
https://launchpad.net/cpu-checker

Thanks

Attachment: signature.asc
Description: PGP signature