Difference between revisions of "VirtualBox/pt-br"

Updating to match new version of source page
(Created page with "Assim que a instalação for concluída, será necessário adicionar o ''VirtualBox Module'' para o seu kernel. '''A maneira mais fácil é simplesmente reiniciar o sistema'''...")
 
(Updating to match new version of source page)
 
Line 1: Line 1:
<languages/>
<languages/>
__TOC__
__TOC__
==Overview==
<div class="mw-translate-fuzzy">
==Visão geral==
==Visão geral==
[[file:vbox.png|left]]
[[file:vbox.png|left]]
Line 8: Line 11:
* Aprendizagem e experimentação completamente seguras com sistemas operacionais, pois nada que ocorra dentro de um Convidado afetará o Host (por exemplo, o sistema operacional Host também pode ser instalado como um Convidado em uma máquina virtual como um meio livre de riscos de experimentar coisas novas), e
* Aprendizagem e experimentação completamente seguras com sistemas operacionais, pois nada que ocorra dentro de um Convidado afetará o Host (por exemplo, o sistema operacional Host também pode ser instalado como um Convidado em uma máquina virtual como um meio livre de riscos de experimentar coisas novas), e
* Uma capacidade quase ilimitada para instalar quantos sistemas operacionais adicionais desejar...desde que haja espaço disponível em seu disco rígido para armazená-los!
* Uma capacidade quase ilimitada para instalar quantos sistemas operacionais adicionais desejar...desde que haja espaço disponível em seu disco rígido para armazená-los!
</div>


==Instalando Virtualbox no Manjaro==
==Instalando Virtualbox no Manjaro==
Line 13: Line 17:
Antes de instalar o VirtualBox, é importante primeiro garantir que a '''virtualização''' foi ativado na BIOS.  As instruções exatas para fazer isso variam de acordo com o seu hardware. Consulte o manual fornecido pelo fabricante do seu computador ou placa-mãe para obter instruções específicas.
Antes de instalar o VirtualBox, é importante primeiro garantir que a '''virtualização''' foi ativado na BIOS.  As instruções exatas para fazer isso variam de acordo com o seu hardware. Consulte o manual fornecido pelo fabricante do seu computador ou placa-mãe para obter instruções específicas.


<div class="mw-translate-fuzzy">
===Instale o VirtualBox===
===Instale o VirtualBox===
Para instalar o VirtualBox, você precisa instalar os pacotes {{ic|virtualbox}} e {{ic|linux*-virtualbox-host-modules}}.  Este último deve corresponder à versão do kernel que você está executando. Para listar quais kernels estão instalados use mhwd  
Para instalar o VirtualBox, você precisa instalar os pacotes {{ic|virtualbox}} e {{ic|linux*-virtualbox-host-modules}}.  Este último deve corresponder à versão do kernel que você está executando. Para listar quais kernels estão instalados use mhwd  
Line 20: Line 25:
  Os seguintes kernels estão instalados em seu sistema:
  Os seguintes kernels estão instalados em seu sistema:
     * linux54
     * linux54
</div>


To install VirtualBox, you need to install the packages {{ic|virtualbox}} and {{ic|linux*-virtualbox-host-modules}}.  The latter must match the version of the kernel you are running. To list what kernels is installed use mhwd (example)
{{UserCmdOutput|command=mhwd-kernel -li|result=
<pre>
Currently running: 6.6.17-1-MANJARO (linux66)
The following kernels are installed in your system:
  * linux66
</pre>}}
<div class="mw-translate-fuzzy">
Para instalar o VirtualBox e os módulos de kernel para o seu kernel instalado, digite o seguinte comando no terminal:
Para instalar o VirtualBox e os módulos de kernel para o seu kernel instalado, digite o seguinte comando no terminal:
  $ sudo pacman -Syu virtualbox linux54-virtualbox-host-modules
  $ sudo pacman -Syu virtualbox linux54-virtualbox-host-modules
</div>


<div class="mw-translate-fuzzy">
Assim que a instalação for concluída, será necessário adicionar o ''VirtualBox Module'' para o seu kernel. '''A maneira mais fácil é simplesmente reiniciar o sistema'''. Caso contrário, para começar a usar o VirtualBox imediatamente, digite o seguinte comando:
Assim que a instalação for concluída, será necessário adicionar o ''VirtualBox Module'' para o seu kernel. '''A maneira mais fácil é simplesmente reiniciar o sistema'''. Caso contrário, para começar a usar o VirtualBox imediatamente, digite o seguinte comando:
  $ sudo vboxreload
  $ sudo vboxreload
</div>


<div class="mw-translate-fuzzy">
===Instale o Pacote de Extensão(Opcional)===
===Instale o Pacote de Extensão(Opcional)===
O pacote de extensões é um conjunto proprietário de extensões que fornece funcionalidade extra ao VirtualBox, como porta USB2 e USB3. Você só precisa disso se quiser usar a funcionalidade fornecida e for '''não requerido''' para o VirtualBox funcionar.
O pacote de extensões é um conjunto proprietário de extensões que fornece funcionalidade extra ao VirtualBox, como porta USB2 e USB3. Você só precisa disso se quiser usar a funcionalidade fornecida e for '''não requerido''' para o VirtualBox funcionar.
Line 35: Line 54:
* PXE ROM
* PXE ROM
* Criptografia de disco
* Criptografia de disco
* NVMe
</div>
The extension pack is a proprietary set of extensions providing extra functionality to VirtualBox like USB2 and USB3 passthrough. You only need this if you are going to use the functionality provided and it is '''not required''' for VirtualBox to function.
* Oracle Cloud Infrastructure integration
* USB 2.0 and USB 3.0 Host Controller
* Host Webcam
* VirtualBox RDP
* PXE ROM
* Disk Encryption
* NVMe
* NVMe


Line 40: Line 69:
'''Please install the same version extension pack as your installed version of VirtualBox.''' – [https://www.virtualbox.org/wiki/Downloads VirtualBox Download page]}}
'''Please install the same version extension pack as your installed version of VirtualBox.''' – [https://www.virtualbox.org/wiki/Downloads VirtualBox Download page]}}
Check your VirtualBox version (example)
Check your VirtualBox version (example)
$ vboxmanage --version
{{UserCmdOutput|command=vboxmanage --version|result=<pre>7.0.14r161095</pre>}}
6.1.14r140239


====Install extensionpack using AUR====
====Install extensionpack using AUR====
Locate the correct AUR PKGBUILD using pamac (or the AUR helper of choice) - example is using '''pamac'''
Locate the correct AUR PKGBUILD using pamac (or the AUR helper of choice) - example is using '''pamac'''
{{Important|AUR PKGBUILDs labelled manjaro is '''not''' maintained by Manjaro!}}
{{Important|AUR PKGBUILDs labelled manjaro is '''not''' maintained by Manjaro!}}
$ pamac search virtualbox-ext-oracle
{{UserCmdOutput|command=pamac search --aur virtualbox-ext-oracle|result=
virtualbox-ext-oracle-manjaro        6.1.12-2        AUR  
<pre>
    Oracle VM VirtualBox Extension
virtualbox6-ext-oracle 6.1.x-5                              AUR
    Pack
    Oracle VM VirtualBox Extension Pack 6.1.48 (stable)
virtualbox-ext-oracle-beta            6.1.0_RC1-1      AUR
virtualbox6.1-ext-oracle 6.1.50-1                           AUR
    Oracle VM VirtualBox Extension
    Oracle VM VirtualBox Extension Pack (version 6.1)
    Pack (Beta)
virtualbox-ext-oracle-dev  7.0.97.161344-1                   AUR
virtualbox-ext-oracle-5-test-build    5.2.35_135314-1 AUR  
    Oracle VM VirtualBox Extension Pack for virtualbox dev
    Oracle VM VirtualBox Extension
    version
    Pack Test Build 5.2.35_135314
virtualbox-ext-oracle 7.0.14-1                               AUR
virtualbox-ext-oracle-5.0             5.0.40-1         AUR  
    Oracle VM VirtualBox Extension Pack
    Oracle VM VirtualBox Extension
</pre>}}
    Pack
virtualbox-ext-oracle-5              5.2.x-1          AUR
    Oracle VM VirtualBox Extension
    Pack 5.2.x (stable)
virtualbox-ext-oracle                 6.1.14-1         AUR  
    Oracle VM VirtualBox Extension
    Pack


When you have found the match you can install using the helper - example is using pamac
When you have found the match you can install using the helper - example is using pamac
$ pamac build virtualbox-ext-<your-decision>
{{UserCmd|command=pamac build virtualbox-ext-<nowiki><your-decision></nowiki>}}


====Get extensionpack from VirtualBox====
====Get extensionpack from VirtualBox====
Line 80: Line 102:
The extension '''.vbox-extpack''' is a registered mime extension so just open the file and VirtualBox will install the extension pack. Provide your password when asked.
The extension '''.vbox-extpack''' is a registered mime extension so just open the file and VirtualBox will install the extension pack. Provide your password when asked.


==Configuring the host==
== Configuring the host ==
=== Adding Your Account to the '''vboxusers''' User Group ===
=== Adding Your Account to the '''vboxusers''' User Group ===
The final step is to now add your personal user account to the {{ic|vboxusers}} group. This is necessary in order to fully access the features provided by VirtualBox. The '''$USER''' variable translates to the currently logged in user and you must logout or restart for the change to take effect.
The final step is to now add your personal user account to the {{ic|vboxusers}} group. This is necessary in order to fully access the features provided by VirtualBox. The '''$USER''' variable translates to the currently logged in user and you must logout or restart for the change to take effect.
$ sudo gpasswd -a $USER vboxusers
{{UserCmd|command=sudo gpasswd -a $USER vboxusers}}


==Manjaro VBox guest==
==Manjaro VBox guest==
Line 91: Line 113:
Before installation of Manjaro ensure the correct display settings for VM. The Manjaro recommendation - to ensure the best experience - is contradicting the recommendations from VirtualBox developers. To have the VM screensize adapting to the window size - you need enable VBoxSVGA but doing so you cannot enable 3D. To use 3D you need to use VMSVGA which will force you to set the VM screen size inside the VM. If you use the VMSVGA adapter - mhwd will keep telling you to switch - you can do it but you will not be able to utilize 3D graphics.
Before installation of Manjaro ensure the correct display settings for VM. The Manjaro recommendation - to ensure the best experience - is contradicting the recommendations from VirtualBox developers. To have the VM screensize adapting to the window size - you need enable VBoxSVGA but doing so you cannot enable 3D. To use 3D you need to use VMSVGA which will force you to set the VM screen size inside the VM. If you use the VMSVGA adapter - mhwd will keep telling you to switch - you can do it but you will not be able to utilize 3D graphics.


===Troubleshooting guest===
===Troubleshooting Manjaro guest===
If you deem it necessary to ensure the packages are installed please follow this recipe
If you deem it necessary to ensure the packages are installed please follow this recipe
$ mhwd-kernel -li                                                          
{{UserCmdOutput|command=mhwd-kernel -li|result=
  Currently running: 5.4.0-1-MANJARO (linux54)
<pre>
  Currently running: 6.6.17-1-MANJARO (linux66)
  The following kernels are installed in your system:
  The following kernels are installed in your system:
     * linux54
     * linux66
  $ sudo pacman -Syu virtualbox-guest-utils linux54-virtualbox-guest-modules
  </pre>}}
{{UserCmd|command=sudo pacman -Syu virtualbox-guest-utils}}


===Guest Configuration===
===Guest Configuration===
You will need to load the modules if you don't want to reboot:
You will need to load the modules if you don't want to reboot:
$ sudo modprobe vboxguest vboxvideo vboxsf
{{UserCmd|command=sudo modprobe vboxguest vboxvideo vboxsf}}


The guest utils than need to be started and enabled:
The guest utils than need to be started and enabled:
$ sudo systemctl enable --now vboxservice.service
{{UserCmd|command=sudo systemctl enable --now vboxservice.service}}


Add you VM user to the vboxsf group (this requires you to logout to apply the new group)
Add you VM user to the vboxsf group (this requires you to logout to apply the new group)
$ sudo usermod -aG vboxsf ${USER}
{{UserCmd|command=sudo usermod -aG vboxsf <nowiki>${USER}</nowiki>}}


Create media folder in root directory if it does not already exist
Create media folder in root directory if it does not already exist
$ sudo mkdir /media
{{UserCmd|command=sudo mkdir /media}}


Assign the correct permissions to the media folder to be able to access shared folders
Assign the correct permissions to the media folder to be able to access shared folders
$ sudo chmod 755 /media
{{UserCmd|command=sudo chmod 755 /media}}


==Avisos, Dicas e Truques==
==Avisos, Dicas e Truques==
8,138

edits