You are not logged in.

#1 2016-09-05 13:25:10

Bearded_Blunder
Dodging A Bullet
From: Seat: seat0; vc7
Registered: 2015-09-29
Posts: 1,146

Default VirtualBox install detected as laptop.

Using VirtualBox 5.1.4r110228 for Windows

Steps to reproduce:
Create a VM selecting Debian (32bit)
Accept all defaults
Install bunsenlabs (bl-Hydrogen-i386_20160710.iso)
When first boot fails enable PAE/NX in the VM settings as suggested by the error:
Boot the VM

When bl-welcome runs, the machine is detected as a laptop, when clearly it isn't.

Host Machine is Windows 10 desktop hardware (not a laptop either).

Update: 
Having dug into this somewhat, looking both at the content of bl-welcome and laptop-detect, I feel it's fair to point out, that a detectable ACPI battery does not a laptop make, it would appear that the presence of one on the host is passed to the VM by VirtualBox.

However, it's the result of my main pc being plugged into a UPS, and neither fdpowermon, nor xfce4-power-manager would be appropriate even if they were on the host machine a UPS package such as nut might be.

The point being I feel I should have at least the third option of informing the bl-welcome script "no it's not a laptop", and proceeding down that path instead of being shunted down the one I was.  Particularly in the case of virtual machines.

Last edited by Bearded_Blunder (2016-09-05 21:01:48)


Blessed is he who expecteth nothing, for he shall not be disappointed...
If there's an obscure or silly way to break it, but you don't know what.. Just ask me

Offline

#2 2016-09-06 03:12:37

Horizon_Brave
Operating System: Linux-Nettrix
Registered: 2015-10-18
Posts: 1,473

Re: Default VirtualBox install detected as laptop.

I have my Windows 10 desktop plugged into an APC battery back up unit as well, and I went through the Virtualbox install process as well.  The welcome script does indeed ask you if it's a laptop, but it gives you the option for fdpowermon or xfce4-pm ...  As you said though, these probably won't do you much good, so if you choose not to install them, what's the issue? You're not worse off right?   Aside from having the external UPS software (Powerchute in my case) work on B.L what is it that could really be done?


"I have not failed, I have found 10,000 ways that will not work" -Edison

Offline

#3 2016-09-06 04:47:27

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,612
Website

Re: Default VirtualBox install detected as laptop.

Fdpowermon is already installed by default.
If bl-welcome thinks it's found a laptop it offers to install xfce4-power-manager and remove fdpowermon.
If it "detects" a non-laptop it offers to remove fdpowermon.

In either case, if the user declines the offer they are left with the default setup, ie fdpowermon is installed. You can remove it manually, but it does no harm - no system icon will be displayed if it does not detect a battery.

Bl-welcome is a utility intended to smooth the way for new users. While we do our best to make it useful for as many people as possible, it's extremely dificult to cover every possible situation, and manual solutions are always available, along with help on these forums.


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Online

#4 2016-09-06 10:21:19

Bearded_Blunder
Dodging A Bullet
From: Seat: seat0; vc7
Registered: 2015-09-29
Posts: 1,146

Re: Default VirtualBox install detected as laptop.

Understood, and no real biggie, just that it caught me by surprise, with expecting it to offer removal of fdpowermon, and no way to inform the script "you happen to have mis-detected this time - the other track is more appropriate"


Blessed is he who expecteth nothing, for he shall not be disappointed...
If there's an obscure or silly way to break it, but you don't know what.. Just ask me

Offline

Board footer

Powered by FluxBB