Difference between revisions of "Talk:VirtualBox"

From ArchWiki
Jump to: navigation, search
(Remove closed.)
(boot loader)
(47 intermediate revisions by 14 users not shown)
Line 1: Line 1:
== Clean up ==
 
I really think this article should be cleaned up and simplified. It is a little confusing- specifically the "Using host interface networking" section. I would atempt to do it myself, but I am not super knowlegable about this topic. Even Breaking this into sections with advice on which way would be best to use would be helpful. ~[[User:meskarune|meskarune]] (Fri, June 26, 2009)
 
 
 
== vmware ==
 
== vmware ==
Anybody, any experience with how to use existing vmware virtual machine in virtualbox? I tried, but without success. I'll retry using: http://liquidat.wordpress.com/2007/11/23/howto-transform-a-qemu-image-to-a-virtualbox-image/ and post my findings.
+
Anybody, any experience with how to use existing vmware virtual machine in virtualbox? I tried, but without success. I'll retry using: http://liquidat.wordpress.com/2007/11/23/howto-transform-a-qemu-image-to-a-virtualbox-image/ and post my findings. -- [[User:Drakosha|Drakosha]] [[User talk:Drakosha|(talk)]] 08:38, 24 June 2007‎ (UTC)
 +
: I'm currently rewriting/restructuring the article and I'm gonna add this information. I'm quite accustomed to use VmWare VMs on VirtualBox. -- [[User:wget|wget]] ([[User talk:wget|talk]]) 09:10, 9 October 2013 (UTC)
  
== Make guest and host clear ==
+
== vbox-service ==
The main problem I find with this article is that it is not always clear which parts refer to an archlinux host and which to an archlinux guest. I think ideally the whole article should be re-structured to make this super-clear. [[User:maninalift|maninalift]]
+
  
Could someone please update the wiki with instructions on how to install Guest Additions on an Arch Linux virtual machine? I have been trying to figure this one out for a while now and I can't seem to get the proper daemons/modules to install. ~[[User:Thayer.w|Thayer]] (Thursday, 19 July 2007)
+
In section "Synchronise guest date with host" it should be noted that starting ''vbox-service'' is also required for the auto mounting feature to work. For example, creating a ''Shared Folder'' with the options ''Make Permanent'' and ''Auto-Mount'' selected will NOT auto mount in ''/media/sf_<SHARE_NAME>'' if ''vbox-service'' has not been started. --[[User:Sjroe|sjroe]] 19:13, 30 December 2011 (EST)
:<strike>I'm bumping this again, because the current instructions don't seem to work.</strike> Nevermind, got it working =) ~[[User:Thayer.w|Thayer]] (Weds, Aug 6, 2008)
+
  
== Corrected USB-problem ==
+
:With ''systemd'', running ''sudo systemd enable vboxservice.service'' makes ''VBoxService'' run on every install. Or, running ''VBoxService'' as root at boot works too. --[[User:Meatcar|Meatcar]] ([[User talk:Meatcar|talk]]) 17:34, 17 October 2012 (UTC)
  
The fstab entry contains the group-id 85 which can vary on other PCs. I added a possible solution...
+
== vdfuse ==
=== More USB ===
+
Can confirm that you can use mass storage USB passthrough with 3.0.4. But you must mount /proc/bus/usb as described in the article for any other types of USB devices such as mice & Blackberries
+
  
For me an entry in the fstab was also necessary to use my USB flash drive in the WinXP guest. But instead of the line in the wiki article I had to use this one:  
+
The tool [https://aur.archlinux.org/packages.php?ID=31200 vdfuse] (if it works with archlinux) could be suggested in the [[VirtualBox#Mounting_.vdi_Images|Mounting .vdi Images]] section instead of telling that it's impossible. -- [[User:Heinrich5991|Heinrich5991]] ([[User talk:Heinrich5991|talk]]) 11:01, 3 October 2012 (UTC)
none /sys/bus/usb/drivers usbfs devgid=108,devmode=664 0 0 (see this thread: http://bbs.archlinux.org/viewtopic.php?pid=640440)
+
: Since you use vdfuse and familiar with it, you can add these info yourself. See [[Help:Editing]] and [[Help:Style]] for a guide. -- [[User:Fengchao|Fengchao]] ([[User talk:Fengchao|talk]]) 12:17, 5 October 2012 (UTC)
  
== Using host interface networking (the Arch way) & udev rules ==
+
== USB on Win7 Guest ==
  
the wiki ask to set a file called 60-vboxdrv.rules under the directory /etc/udev/rules.d, but when I've tried, a file named 60-virtualbox.rules is already here, with the same setting. I don't know if the name matter, how from where the file come (virtualbox-ose via pacman ? guest addition ?)
+
In my experience I have found that USB devices will not be detected/installed correctly on a Windows 7 guest without enabling the USB 2.0 (EHCI) Controller which requires the full blown VirtualBox Extensions available from here: https://www.virtualbox.org/wiki/Downloads [[User:AdmiralAkber|AdmiralAkber]] ([[User talk:AdmiralAkber|talk]]) 02:59, 20 February 2013 (UTC)
  
So I report this.
+
== Extension pack gui installation ==
--[[User:Gkrnours|Gkrnours]] 04:38, 13 May 2009 (EDT)
+
  
== vboxdrv module ==
+
I had to install "gksu" to get rid of "https://www.virtualbox.org/ticket/8473" when trying to install the extension pack from gui.
Since Arch uses MODULES_AUTOLAD=yes by default in /etc/rc.conf, is it still mandatory to add vboxdrv in the MODULES array? I don't think so but I'm not totally sure.
+
[[User:Vvo|Vvo]] ([[User talk:Vvo|talk]]) 10:57, 21 December 2013 (UTC)
  
rent0n
+
: Thanks. I'll try to reproduce that problem and add the tip to the troubleshooting section. -- [[User:wget|wget]] ([[User talk:wget|talk]]) 11:57, 21 December 2013 (UTC)
  
=== Rebuilding ===
+
== boot loader ==
My mistake on an article edit, I was running an older virtualbox_bin from AUR. It is now /etc/rc.d/vboxdrv setup, this changed in 3.2.2.
+
--[[User:VitaminJ|VitaminJ]] 19:09, 2 July 2010 (EDT)
+
  
== vboxusers group ==
+
I'm new to virtual machines and I was following the guide for installing an arch host on an arch guest. The only way for me to get the bootloader to work in the host was to use syslinux and not grub. With grub the virtual machine just hangs at the boot screen. Maybe interesting to add, if this is a common problem and not just me... This guide uses syslinux and works perfectly: http://wideaperture.net/blog/?p=3851. --[[User:Demaratus|Demaratus]] ([[User talk:Demaratus|talk]]) 12:57, 11 January 2014 (UTC)
It would be nice if someone explained why you might need to add your user to {{Ic|vboxusers}} group. I did not add my user to this group and everything worked as expected. --[[User:Bhobbit|Bhobbit]] 19:11, 12 April 2010 (EDT)
+
  
== Arch Host vs. Arch Guest ==
+
:Hi Demaratus,
  
I think the whole article is a bit unclear with regard to instructions for setting up ''VirtualBox on Arch Linux'' and ''Arch Linux in VirtualBox'' - particularly when it comes to obtaining Guest Additions etc. Unless there's really no difference, I think a great improvement would be adding this clarification wherever applicable.
+
: I've just tested my ArchLinux VM with Grub and it is working flawlessly ;-) See the dedicated [[GRUB]] article for installation details. The commands I used for a standard BIOS install are:
 +
:{{bc|<nowiki>
 +
# pacman -S grub
 +
# grub-install --target=i386-pc --recheck --debug /dev/sda
 +
# grub-mkconfig -o /boot/grub/grub.cfg</nowiki>}}
  
=== IMHO article should be refactored ===
+
:Done and working ;-) Btw, I prefer Syslinux too for BIOS based installations. -- [[User:wget|wget]] ([[User talk:wget|talk]]) 16:50, 11 January 2014 (UTC)
 
+
I know that this article follows common pattern used at least in VirtualBox and VMware articles, but usage of ''VirtualBox'' instead of ''VirtualBox on Arch Linux'' is '''too''' misleading.
+
#It causes difference of real content within translations.
+
#We really need separate articles about virtual machines, their functions and installation to be linked to from [[Beginners%27_Guide/Preparation#Install_on_a_virtual_machine]]. As many newbies come from Windoze© content of ''VirtualBox'' article should not be Arch-specific.
+
 
+
Splitting main article into two articles with mentioned names and linking ''VirtualBox'' with ''VirtualBox on Arch Linux'' and ''Arch Linux in VirtualBox'' seems to be good idea. The same should possibly be done with VMware and other virtualization articles. Please share your opinion on this topic or maybe do things yourself. --[[User:AlexanderR|AlexanderR]] 20:25, 13 October 2011 (EDT)
+
:Even this talk page is disorienting!
+
:I understand your point about windows converts (and many others reading the beginners' guide for the first time), but I'm not clear on what you're proposing. Here's my take:
+
:*[[Beginners%27_Guide/Preparation#Install_on_a_virtual_machine]] is many people's entry point and already lays out the general ideas clearly and links to specific VMs. The four links at the bottom are a bit excessive and could be removed.
+
:*Instead, each of the particular VM pages would start out with general information (brief description, what can it do, etc) and early on link to relevant "installing ___ from ___" & etc articles. Arch specific stuff could come later in the main articles.
+
:I think this could be done in such a way as to be clear for people who might want to install from a VM for the first time, while staying out of the way of people who are already on Arch and want to use a VM more generally. I don't know enough about this topic to do much myself, but if I get some time to research and play around with these things I might try. | [[User:Emiralle|Emiralle]] 21:31, 13 October 2011 (EDT)
+
:To clarify: I disagree with having separate "VirtualBox" and "VirtualBox on Arch" articles, for example. I think a well written article can cover both cases without confusion. [[User:Emiralle|Emiralle]] 21:34, 13 October 2011 (EDT)
+
::Agree with you: ideally we should have perfect virtualization guid with topics of all kinds for both Windows and Arch users and for various situations. --[[User:AlexanderR|AlexanderR]] 21:57, 13 October 2011 (EDT)
+
 
+
== Page overhaul by dev request ==
+
 
+
Just bringing attention to [http://mailman.archlinux.org/pipermail/aur-general/2011-October/016246.html this] thread from the mailing list.
+
 
+
The page would be linked from the official package and should look something like:
+
 
+
# how to install it
+
# what modules to add in rc.conf and a short description of modules functionality
+
# how to run it
+
# how to run guest additions on arch(as a section rather than a new page like is it now)
+
 
+
No systemd.
+
 
+
On the last item, [[Arch Linux VirtualBox Guest]] would be merged in.
+
 
+
According to dev: "What i want is to have a page describing how to run virtualbox on
+
archlinux, as a host and as a guest(for additions)
+
 
+
A short descriptions of our packages at the beginning, what to install
+
when running as host and as a guest.
+
 
+
packages:
+
# virtualbox
+
# virtualbox-modules
+
# virtualbox-addtions
+
# virtualbox-source
+
# virtualbox-sdk
+
# virtualbox-archlinux-additions
+
# virtualbox-archlinux-modules
+
 
+
Install 1,2,3 to run as host add x,y,z modules to rc.conf(descriptions
+
for modules), 4 if you run a custom kernel(run vboxbuild to compile
+
modules), 5 nobody cares, 6,7 in a guest arch linux system, a,b,c
+
modules in rc.conf (see the above link for additions that i pasted)"
+
 
+
--[[User:Emiralle|Emiralle]] 22:45, 26 October 2011 (EDT)
+
:I decided to [[Wikipedia:Wikipedia:Be bold|be bold]] and implemented some of these changes.
+
:[[Arch Linux VirtualBox Guest]] could now be redirected to [[VirtualBox#Arch Linux guests]].
+
:There is now a [[VirtualBox Extras]] page for odds and ends.
+
:I'm not sure I got the right content in the right places, but now it should be easier to shuffle things into place. --[[User:Emiralle|Emiralle]] 00:25, 28 October 2011 (EDT)
+
 
+
--[[User:BlackEagle|BlackEagle]] 2011-10-28 21:10 (CEST)
+
:I moved the vboxbuild stuff a little down, since this will no longer be required from 4.1.4-3 and up
+
 
+
== Module building is now obselete isn't it? ==
+
 
+
Should we remove the section for the module building process? Is it obselete?
+
:Please sign edits in discussion pages with {{ic|<nowiki>~~~~</nowiki>}}.
+
:Yes, /usr/bin/vboxbuild doesn't even exist any longer, the article needs some little adaptations to the latest release. Also [[pm-utils]] mentions vboxbuild.
+
:-- [[User:Kynikos|Kynikos]] 08:07, 14 November 2011 (EST)
+
 
+
So, which is the new command for modules rebuild?
+
--[[User:Maevius|Maevius]] 05:34, 11 December 2011 (EST)
+
:There's no longer need for rebuilding the modules manually, they come with the {{pkg|virtualbox-modules}} package, whose current release, 4.1.6-3, depends on 3.1<={{pkg|linux}}<3.2. -- [[User:Kynikos|Kynikos]] 15:50, 15 December 2011 (EST)
+
 
+
== vbox-service ==
+
 
+
In section "Synchronise guest date with host" it should be noted that starting ''vbox-service'' is also required for the auto mounting feature to work.  For example, creating a ''Shared Folder'' with the options ''Make Permanent'' and ''Auto-Mount'' selected will NOT auto mount in ''/media/sf_<SHARE_NAME>'' if ''vbox-service'' has not been started. --[[User:Sjroe|sjroe]] 19:13, 30 December 2011 (EST)
+

Revision as of 16:50, 11 January 2014

vmware

Anybody, any experience with how to use existing vmware virtual machine in virtualbox? I tried, but without success. I'll retry using: http://liquidat.wordpress.com/2007/11/23/howto-transform-a-qemu-image-to-a-virtualbox-image/ and post my findings. -- Drakosha (talk) 08:38, 24 June 2007‎ (UTC)

I'm currently rewriting/restructuring the article and I'm gonna add this information. I'm quite accustomed to use VmWare VMs on VirtualBox. -- wget (talk) 09:10, 9 October 2013 (UTC)

vbox-service

In section "Synchronise guest date with host" it should be noted that starting vbox-service is also required for the auto mounting feature to work. For example, creating a Shared Folder with the options Make Permanent and Auto-Mount selected will NOT auto mount in /media/sf_<SHARE_NAME> if vbox-service has not been started. --sjroe 19:13, 30 December 2011 (EST)

With systemd, running sudo systemd enable vboxservice.service makes VBoxService run on every install. Or, running VBoxService as root at boot works too. --Meatcar (talk) 17:34, 17 October 2012 (UTC)

vdfuse

The tool vdfuse (if it works with archlinux) could be suggested in the Mounting .vdi Images section instead of telling that it's impossible. -- Heinrich5991 (talk) 11:01, 3 October 2012 (UTC)

Since you use vdfuse and familiar with it, you can add these info yourself. See Help:Editing and Help:Style for a guide. -- Fengchao (talk) 12:17, 5 October 2012 (UTC)

USB on Win7 Guest

In my experience I have found that USB devices will not be detected/installed correctly on a Windows 7 guest without enabling the USB 2.0 (EHCI) Controller which requires the full blown VirtualBox Extensions available from here: https://www.virtualbox.org/wiki/Downloads AdmiralAkber (talk) 02:59, 20 February 2013 (UTC)

Extension pack gui installation

I had to install "gksu" to get rid of "https://www.virtualbox.org/ticket/8473" when trying to install the extension pack from gui. Vvo (talk) 10:57, 21 December 2013 (UTC)

Thanks. I'll try to reproduce that problem and add the tip to the troubleshooting section. -- wget (talk) 11:57, 21 December 2013 (UTC)

boot loader

I'm new to virtual machines and I was following the guide for installing an arch host on an arch guest. The only way for me to get the bootloader to work in the host was to use syslinux and not grub. With grub the virtual machine just hangs at the boot screen. Maybe interesting to add, if this is a common problem and not just me... This guide uses syslinux and works perfectly: http://wideaperture.net/blog/?p=3851. --Demaratus (talk) 12:57, 11 January 2014 (UTC)

Hi Demaratus,
I've just tested my ArchLinux VM with Grub and it is working flawlessly ;-) See the dedicated GRUB article for installation details. The commands I used for a standard BIOS install are:
# pacman -S grub
# grub-install --target=i386-pc --recheck --debug /dev/sda
# grub-mkconfig -o /boot/grub/grub.cfg
Done and working ;-) Btw, I prefer Syslinux too for BIOS based installations. -- wget (talk) 16:50, 11 January 2014 (UTC)