You are not logged in.

#1 2020-12-02 05:40:47

zeromomentum
New Member
Registered: 2020-12-02
Posts: 3

Having some trouble installing in Virtualbox

Hi, I'm trying to install bunsenlabs in VirtualBox as a separate machine that's simple for focus purposes. However, I'm running into a big problem when installing it. It keeps saying the Grub bootloader is unable to be installed to /target. I've tried switching on EFI mode as well to see if that helps, but that gave me the same error. If i skip it, i get taken to some kind of a UEFI shell, which I've never seen before. I've installed oses like ubuntu and arch before to a vm, but i've never encountered this.

Can anyone help me?
thanks in advance.

Last edited by damo (2020-12-02 08:32:03)

Offline

#2 2020-12-02 05:42:36

zeromomentum
New Member
Registered: 2020-12-02
Posts: 3

Re: Having some trouble installing in Virtualbox

oops, accidentally made the title say vmware instead of virtual box. sorry

Offline

#3 2020-12-02 08:33:08

damo
....moderator....
Registered: 2015-08-20
Posts: 6,575

Re: Having some trouble installing in Virtualbox

zeromomentum wrote:

oops, accidentally made the title say vmware instead of virtual box. sorry

I've edited the title for you, but you can do it yourself by editing your first post.


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#4 2020-12-02 09:41:41

rbh
Member
From: Sweden/Vasterbotten/Rusfors
Registered: 2016-08-11
Posts: 1,002

Re: Having some trouble installing in Virtualbox

zeromomentum wrote:

VirtualBox as a separate machine that's simple for focus purposes.

Just curious: what is "focus purposes"?

I've tried switching on EFI mode as well to see if that helps, but that gave me the same error. If i skip it, i get taken to some kind of a UEFI shell,

You shall not enable EFI in Virtualbox. (The choise also says: "(special OSes only)".

Unmark that, create partions anew and continue installation.

If (however unlikely it sounds) you encounter samer error,
Boot Bunsenlab Live session. Create partion and format file system from the live session.
Reboot and install, without touching file systems, just tell the installer how the partions should be mounted.

If error still persist, you have to give information about OS for host, version of VirtualBox, errors in Virtualbox log and installlog in target.

edit: Also, what size of virtual disk.

Last edited by rbh (2020-12-02 10:18:21)


// Regards rbh

Offline

#5 2020-12-03 01:03:37

zeromomentum
New Member
Registered: 2020-12-02
Posts: 3

Re: Having some trouble installing in Virtualbox

hey again, i ended up just using vmware instead of vbox and it worked perfectly


i'm not sure if im allowed to put another question in the same thread, but how do i add emoji support? i've tried installing an emoji font (noto color emoji) and then adding it to fontconfig, but it still shows the same squares with numbers in them, and i would really like to see emojis

nvm - i just had to refresh font cache

Last edited by zeromomentum (2020-12-03 01:27:32)

Offline

#6 2020-12-03 03:50:24

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 7,858
Website

Re: Having some trouble installing in Virtualbox

zeromomentum wrote:

i'm not sure if im allowed to put another question in the same thread

It's not so much about what you're allowed to do, as what would be most helpful for future users who arrive at this thread via a search. If the second question is related then it's probably fine to add it.

If it's pretty different then:
1) Other users who might have an answer are less likely to notice it buried in the first topic, so you're less likely to get help.
2) Other users looking for a solution to the same problem are less likely to find it later.


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), idle Twitterings and GitStuff )

Introduction to the Bunsenlabs Lithium Desktop

Offline

#7 2020-12-13 22:09:04

ovum
Member
Registered: 2020-04-17
Posts: 68

Re: Having some trouble installing in Virtualbox

Also unable to get virtualbox to work in updated latest version of lithium.
I receive the following message

Kernel driver not installed (rc=-1908)

The VirtualBox Linux kernel driver is either not loaded or not set up correctly. Please try setting it up again by executing

'/sbin/vboxconfig'

as root.

If your system has EFI Secure Boot enabled you may also need to sign the kernel modules (vboxdrv, vboxnetflt, vboxnetadp, vboxpci) before you can load them. Please see your Linux system's documentation for more information.

where: suplibOsInit what: 3 VERR_VM_DRIVER_NOT_INSTALLED (-1908) - The support driver is not installed. On linux, open returned ENOENT.

Running the supplied command does nothing.  I don't have secure boot enabled.  Does anyone have any hints on where to start?

Thanks a lot!

Offline

#8 2020-12-14 00:08:14

rbh
Member
From: Sweden/Vasterbotten/Rusfors
Registered: 2016-08-11
Posts: 1,002

Re: Having some trouble installing in Virtualbox

ovum wrote:

Also unable to get virtualbox to work
[...]  Does anyone have any hints on where to start?

Have you checked The ultimate guide for installing VBox with GA and Shared Folders?

Last edited by rbh (2020-12-14 00:08:35)


// Regards rbh

Offline

#9 2020-12-14 00:33:18

ovum
Member
Registered: 2020-04-17
Posts: 68

Re: Having some trouble installing in Virtualbox

no, but i'll do so right now and post results.  thank you so very much.

Offline

#10 2020-12-14 00:39:12

ovum
Member
Registered: 2020-04-17
Posts: 68

Re: Having some trouble installing in Virtualbox

can't get a vm running, throws errors as in original post.  i have virtualbox extension pack added.  Sort of lost, and would appreciate this running.  Alas.

Offline

#11 2020-12-14 00:40:41

rbh
Member
From: Sweden/Vasterbotten/Rusfors
Registered: 2016-08-11
Posts: 1,002

Re: Having some trouble installing in Virtualbox

Add Virtualbox repository to /etc/apt/sources.list
    deb http://download.virtualbox.org/virtualbox/debian buster contrib non-free

Import apt-key, run:
    $ wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | sudo apt-key add -
   
Install Virtualbox and needed packages:
    $ sudo apt update
    $ sudo apt install virtualbox linux-headers-"uname -r" build-essential virtualbox-guest-utils virtualbox-dkms

Reboot

Add user to group vboxsf:
    $ sudo adduser $USER vboxsf

Start Virtualbox.
In Virtual Machine (VM) mount VBoxLinuxAdditions.iso (can be done from VirtualBox menu for the VM => Devices => Insert ...)
In terminal, run:
    $ sudo bash /media/drom/VBoxLinuxAdditions.run

If any error, check /var/log/vboxadd-setup.log

Last edited by rbh (2020-12-14 00:47:34)


// Regards rbh

Offline

#12 2020-12-14 01:14:22

rbh
Member
From: Sweden/Vasterbotten/Rusfors
Registered: 2016-08-11
Posts: 1,002

Re: Having some trouble installing in Virtualbox

ovum wrote:

can't get a vm running, throws errors as in original post.  i have virtualbox extension pack added.  Sort of lost, and would appreciate this running.  Alas.

It sounds weird that nothing happens when running

$ sudo /sbin/vboxconfig

I listed what to do above. Have you done that?

What answer do you get on command:

$ lsmod | grep vbox

What is in your log for installing virtualbox?

If still same error as in your first post, not in op (original post), redo.
First uninstal with removing configfiles...

$ sudo purge virtualbox-*

Last edited by rbh (2020-12-14 01:15:23)


// Regards rbh

Offline

#13 2020-12-14 02:12:23

ovum
Member
Registered: 2020-04-17
Posts: 68

Re: Having some trouble installing in Virtualbox

purge command not installed/doesn't work with lithium install fresh out of box, neither does deb.   Really could use some help.  No idea what is making it behave like this.

Offline

#14 2020-12-14 05:12:35

ohnonot
...again
Registered: 2015-09-29
Posts: 5,394
Website

Re: Having some trouble installing in Virtualbox

VERR_VM_DRIVER_NOT_INSTALLED (-1908) - The support driver is not installed. On linux, open returned ENOENT.

ovum, you don't co-operate much to help us help you solve your problem.
First of all you casually refer to "original post" (no article) although you did not start this thread.
Then, your subsequent posts are - too short.

The error you see is the single most posted problem people have with VB, for years and years. Hence the search link.

Last edited by ohnonot (2020-12-14 05:17:39)


Please use CODE tags for code.
Search youtube without a browser: repo | thread
BL quote proposals to this thread please.
my repos / my repos

Offline

#15 2020-12-14 14:50:09

ovum
Member
Registered: 2020-04-17
Posts: 68

Re: Having some trouble installing in Virtualbox

I restarted and now it works!?

Offline

#16 2021-04-04 23:26:24

ovum
Member
Registered: 2020-04-17
Posts: 68

Re: Having some trouble installing in Virtualbox

Ok, from the start-
I begin by installing from the .deb package the most recent virtualbox (6.1)
then it throws the same errors as previously in this thread
then i proceed to :
    $ wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | sudo apt-key add -
as kind bro rbh suggested
but now it pulls this and I cannot continue

Err:4 http://download.virtualbox.org/virtualbox/debian buster InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A2F683C52980AECF
Reading package lists... Done
W: GPG error: http://download.virtualbox.org/virtualbox/debian buster InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A2F683C52980AECF
E: The repository 'http://download.virtualbox.org/virtualbox/debian buster InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

Fairly frustrated, not sure what to do at this point.  Please advise.

Offline

#17 2021-04-05 09:11:36

rbh
Member
From: Sweden/Vasterbotten/Rusfors
Registered: 2016-08-11
Posts: 1,002

Re: Having some trouble installing in Virtualbox

In the post before, you stated or asked:

ovum wrote:

I restarted and now it works!?

Can you explain?

Ok, from the start-
I begin by installing from the .deb package the most recent virtualbox (6.1)
then it throws the same errors as previously in this thread

If you download and install package, you do not need to add the third party repository to /etc/apt/sources.list or better /etc/apt/sources.list.d/. But, then you do not get info about updates from debian packge manager. I think it is better to install from the repository, than to install from downloaded debs.

Do you realy want people to scroll up and search for your error? And when do the error occour. Not when installing Virtualbox I guess. Maybe when you start virtualbox?

then i proceed to :
    $ wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | sudo apt-key add -
as kind bro rbh suggested
but now it pulls this and I cannot continue

Err:4 http://download.virtualbox.org/virtualbox/debian buster InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A2F683C52980AECF [...]

Sorry my misstake. The apt-key, tells your system that it can trust the repository at download.virtualbox.org. I see now, that you are supposed to import two keys!
Look at https://www.virtualbox.org/wiki/Linux_Downloads, under heading: Debian-based Linux distributions.

combine downloading and registering:

wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add -
wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | sudo apt-key add -

When your system is instructed to trust virtualbox repo, that error will disapear.
Then you can update to newest virtualbox version 6.1.18, with "apt upgrade".

Fairly frustrated, not sure what to do at this point.  Please advise.

Allways try to understand what the advices do, so you do not need to ask in similar but slightly different situation


// Regards rbh

Offline

#18 2021-04-05 17:08:26

ovum
Member
Registered: 2020-04-17
Posts: 68

Re: Having some trouble installing in Virtualbox

it can trust the repository at download.virtualbox.org. I see now, that you are supposed to import two keys!
Look at https://www.virtualbox.org/wiki/Linux_Downloads, under heading: Debian-based Linux distributions.

combine downloading and registering:

wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add -
wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | sudo apt-key add -

I manually installed the .asc keys from the downloads section of virtualbox.org, but more or less yes, this fixed the issuie.  Thanks a lot.

Offline

Board footer

Powered by FluxBB