You are not logged in.

#1 2012-09-28 10:54:19

crespicarlos
Member
From: Spain
Registered: 2012-09-28
Posts: 4

(SOLVED) VirtualBox 4.2 Guest Additions

Hi,
I have problems installing VirtualBox Guest Additions.
I followed the guide to VirtualBox Arch and the step of executing the commands following error occurs:

# modprobe -a vboxguest vboxsf vboxvideo
ERROR: could not insert 'vboxguest': No such device
ERROR: could not insert 'vboxsf': No such device

I do not know how to continue.
Thanks for your answers!

Last edited by crespicarlos (2012-10-05 18:39:34)

Offline

#2 2012-09-28 11:38:39

satanselbow
Member
Registered: 2011-06-15
Posts: 530

Re: (SOLVED) VirtualBox 4.2 Guest Additions

Can't say I use virtualbox for anything too exciting - and I have never even checked for a wiki page...

Setup goes like this for me:

1. install virtualbox from community repo

# pacman -Syy virtualbox

2. Add vboxdrv to modules (only has to be done once) and load module

# tee /etc/modules-load.d/virtualbox.conf <<< "vboxdrv"

# modprobe vboxdrv

3. Download extension pack from Oracle

https://www.virtualbox.org/wiki/Downloads

and install through gui virtualbox settings

4. Download guest additions ISO from

http://download.virtualbox.org/virtualbox/

and install on your guest vm

... can't see a "last edited" date on the arch wiki - so it may be a tad old wink

Offline

#3 2012-09-28 12:44:43

x33a
Forum Moderator
Registered: 2009-08-15
Posts: 3,311
Website

Re: (SOLVED) VirtualBox 4.2 Guest Additions

Update your system properly and install virtualbox-guest-modules.

See

/usr/lib/modules/extramodules-3.5-ARCH/vboxguest.ko.gz is owned by virtualbox-guest-modules 4.2.0-2
satanselbow wrote:

3. Download extension pack from Oracle

https://www.virtualbox.org/wiki/Downloads

and install through gui virtualbox settings

That is also available from AUR in the form of virtualbox-ext-oracle.

Offline

#4 2012-10-02 10:25:23

crespicarlos
Member
From: Spain
Registered: 2012-09-28
Posts: 4

Re: (SOLVED) VirtualBox 4.2 Guest Additions

Thanks for your answers,
I thought it would be a mistake of Guest Additions, but just after installing a VM with additions stuck, and then you can not recover the VHDD.

Offline

#5 2012-10-02 10:53:40

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: (SOLVED) VirtualBox 4.2 Guest Additions

Reboot the VM. Do not "suspend" it. Reboot.

Because if you can't modprobe anything it probably means that you upgraded the linux package (the Linux kernel). Always reboot after a kernel update.


PS: Guest Additions need to be installed on the guest OS, not the host. Follow the VirtualBox wiki page and you should be fine.

https://wiki.archlinux.org/index.php/Virtualbox


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#6 2012-10-03 21:51:42

whaler
Member
From: Oslo, Norway
Registered: 2008-03-25
Posts: 317

Re: (SOLVED) VirtualBox 4.2 Guest Additions

DSpider wrote:

Follow the VirtualBox wiki page and you should be fine.

Hardly. It says:

Installing Arch under VirtualBox is straightforward, and additions should be installed through pacman (...)

No direct mention of having to install the package on the guest. The Wiki has ample room for improvement on this point.

Last edited by whaler (2012-10-03 21:53:52)

Offline

#7 2012-10-04 05:36:00

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: (SOLVED) VirtualBox 4.2 Guest Additions

Did you read the title of that quote?

https://wiki.archlinux.org/index.php/Vi … nux_guests

It doesn't say Ubuntu guests, does it? There's a clear distinction between host and guest. Read the TOC (table of contents):

3 Arch Linux guests
      3.1 Install the Guest Additions
      3.2 Using USB webcam / microphone
      3.3 Using Arch under Virtualbox EFI mode

If you think you can improve it in any way, you're welcome to do it.


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#8 2012-10-04 22:47:03

whaler
Member
From: Oslo, Norway
Registered: 2008-03-25
Posts: 317

Re: (SOLVED) VirtualBox 4.2 Guest Additions

DSpider wrote:

Did you read the title of that quote?
(...)
If you think you can improve it in any way, you're welcome to do it.

Irrelevant. The point is to make explicit explanations, which I already said in my post above.

Offline

#9 2012-10-05 08:47:45

crespicarlos
Member
From: Spain
Registered: 2012-09-28
Posts: 4

Re: (SOLVED) VirtualBox 4.2 Guest Additions

I installed VirtualBox, all modeulos and Guest from pacman following the wiki.
Installed a Windows 7 in the VM, install the Guest and restart windows. when it starts the shutdown process is stuck.

thanks again

Last edited by crespicarlos (2012-10-05 08:48:37)

Offline

#10 2012-10-05 09:42:22

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: (SOLVED) VirtualBox 4.2 Guest Additions

Boy, what a waste of time... Was the original post referring to Windows 7, as well? Because you failed to mention this fact.

https://wiki.archlinux.org/index.php/Fo … pport_ONLY

Community technical support shall only be provided for the Arch Linux distribution and the Arch User Repository. Threads concerning issues with, and requesting support for, derivate distributions, or operating systems other than Arch Linux are prohibited and will be closed.

I installed VirtualBox, all modeulos and Guest from pacman following the wiki.

Again, why do you think they're called guest additions? There's a guest OS, and then there's a host OS.

Installing guest additions on the Arch Linux host OS, with pacman, has absolutely no impact on the guest OS (Windows) whatsoever. Start the virtual machine, go to Devices and click "Install Guest Additions... Host+D". Then go to My Computer and install from there.

And don't forget to mark the topic as solved (by editing the first post).


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#11 2012-10-05 09:43:27

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: (SOLVED) VirtualBox 4.2 Guest Additions

Wait a minute...

Installed a Windows 7 in the VM, install the Guest and restart windows. when it starts the shutdown process is stuck.

When it starts the shutdown process is stuck? My troll sense is tingling.


Edit: Or maybe you're using Google Translate ("moduleos"). Shouldn't you be asking on http://foros.archlinux-es.org or something? Come back when you're a bit more proficient in English.

Last edited by DSpider (2012-10-05 09:47:38)


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#12 2012-10-05 09:47:30

crespicarlos
Member
From: Spain
Registered: 2012-09-28
Posts: 4

Re: (SOLVED) VirtualBox 4.2 Guest Additions

LOL

I made a slight translation error, sorry

smile

Offline

#13 2012-10-05 18:30:31

whaler
Member
From: Oslo, Norway
Registered: 2008-03-25
Posts: 317

Re: (SOLVED) VirtualBox 4.2 Guest Additions

DSpider wrote:

Installing guest additions on the Arch Linux host OS, with pacman, has absolutely no impact on the guest OS (Windows) whatsoever. Start the virtual machine, go to Devices and click "Install Guest Additions... Host+D". Then go to My Computer and install from there.

Great! Now this looks like a very good amendment to the ArchWiki VirtualBox text.

Offline

Board footer

Powered by FluxBB