Guia de instalação do VirtualBox no Fedora 23

Publicado por Edson Doria em 18/01/2016

[ Hits: 8.494 ]

Blog: http://fenixse.blogspot.com

 


Guia de instalação do VirtualBox no Fedora 23



Traduzido do site: If Not True Then False | If !1 0 |

Olá. Embora o site nos ensine a instalar o VirtualBox no Fedora 23/22, CentOs/RHEL 7.2/6.7/5.11, eu vou apenas falar do Fedora 23, pois acho que está faltando documentação em Pt-br.

Como sabemos o VirtualBox é um virtualizador poderoso para empresas e também uso doméstico. Voltado para servidores e desktops com qualidade profissional e open source. Sem mais delongas.

1. Mude para o usuário 'root':

su
Senha: (digite tua senha de root)

2. Instalar o repositório para o Fedora 23:

# cd /etc/yum.repos.d/
# wget http://download.virtualbox.org/virtualbox/rpm/fedora/virtualbox.repo


3. Atualizar os pacotes e checar a versão do Kernel:

# dnf update

* verifique se está instalada a última versão do kernel:

# rpm -qa kernel |sort -V |tail -n 1
# uname -r


NOTA: se houve uma atualização do kernel e você está executando o antigo, reinicie o sistema.

4. Instalar as dependências:

# dnf install binutils gcc make patch libgomp glibc-headers glibc-devel kernel-headers kernel-devel dkms

Para quem usa kernel PAE:

# dnf install binutils gcc make patch libgomp glibc-headers glibc-devel kernel-headers kernel-PAE-devel dkms

5. Instalar o VirtualBox em tua última versão (atual 5.0.12):

# dnf install VirtualBox-5.0

Este comando vai criar automaticamente o grupo vboxusers e adicionar o usuário virtualbox como membro deste grupo e também vai construir os módulos de kernel necessários.

Vamos reconstruir os módulos de kernel com o seguinte comando.

# /usr/lib/virtualbox/vboxdrv.sh setup

6. Adicionar o seu usuário virtualbox ao grupo vboxusers (não precisei fazer).

Troque usuário pelo seu próprio nome de usuário ou algum outro nome real de usuário (não precisei fazer).

# /usermod -a -G vboxusers user_name

7. Inicie o virtualbox.

Use o lançador no menu ou simplesmente rode o comando no terminal:

# VirtualBox

É isso então. Até mais.
Edson Doria
fenix.se@gmail.com

Outras dicas deste autor
Nenhuma dica encontrada.
Leitura recomendada

Instalando Grub Customizer no Ubuntu 22.04

Barra Social estática no GIMP [vídeo]

Instalação e integração do CLAMAV com o SAMBA

Imprimindo no OpenOffice

Como instalar o Real Player no Linux

  

Comentários
[1] Comentário enviado por snayp2r em 19/01/2016 - 14:36h

Bom dia a todos

já tentei vários tutoriais e sempre apresenta o mesmo erro... não consegue carregar o modulo do kernel vboxdrv.

Stopping VirtualBox kernel modules [ OK ]
Uninstalling old VirtualBox DKMS kernel modules [ OK ]
Trying to register the VirtualBox kernel modules using DKMS[ OK ]
Starting VirtualBox kernel modules [FALHOU]
(modprobe vboxdrv failed. Please use 'dmesg' to find out why)

versão do kernel: 4.3.3-300.fc23.x86_64
fedora 23 kde

rodando o dmesg me retornou alguns erros; alguem pode me ajudar?

[ 35.750315] ACPI Warning: \_SB_.PCI0.RP05.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)
[ 35.750576] ACPI: \_SB_.PCI0.RP05.PEGP: failed to evaluate _DSM
[ 35.750579] ACPI Warning: \_SB_.PCI0.RP05.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)
[ 35.750715] nouveau 0000:08:00.0: DRM: evicting buffers...
[ 35.763027] nouveau 0000:08:00.0: DRM: waiting for kernel channels to go idle...
[ 35.763050] nouveau 0000:08:00.0: DRM: suspending client object trees...
[ 35.764901] nouveau 0000:08:00.0: DRM: suspending kernel object tree...
[ 37.167465] Adjusting tsc more than 11% (8055339 vs 7777438)
[ 52.584487] nouveau 0000:08:00.0: DRM: resuming kernel object tree...
[ 52.647706] nouveau 0000:08:00.0: priv: HUB0: 10ecc0 ffffffff (1970822c)
[ 52.761202] nouveau 0000:08:00.0: DRM: resuming client object trees...
[ 57.238771] [drm:gen8_irq_handler [i915]] *ERROR* The master control interrupt lied (SDE)!
[ 57.238920] [drm:gen8_irq_handler [i915]] *ERROR* The master control interrupt lied (SDE)!
[ 58.458778] ACPI Warning: \_SB_.PCI0.RP05.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)
[ 58.459032] ACPI: \_SB_.PCI0.RP05.PEGP: failed to evaluate _DSM
[ 58.459035] ACPI Warning: \_SB_.PCI0.RP05.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)
[ 58.459175] nouveau 0000:08:00.0: DRM: evicting buffers...
[ 58.459177] nouveau 0000:08:00.0: DRM: waiting for kernel channels to go idle...
[ 58.459197] nouveau 0000:08:00.0: DRM: suspending client object trees...
[ 58.461030] nouveau 0000:08:00.0: DRM: suspending kernel object tree...
[ 71.115577] Bluetooth: RFCOMM TTY layer initialized
[ 71.115584] Bluetooth: RFCOMM socket layer initialized
[ 71.115648] Bluetooth: RFCOMM ver 1.11
[ 367.216952] [drm:intel_pipe_update_end [i915]] *ERROR* Atomic update failure on pipe A (start=22819 end=22820)
[ 476.377964] perf interrupt took too long (2501 > 2500), lowering kernel.perf_event_max_sample_rate to 50000
[ 548.351295] [drm:intel_pipe_update_end [i915]] *ERROR* Atomic update failure on pipe A (start=33681 end=33682)
[ 548.617888] [drm:intel_pipe_update_end [i915]] *ERROR* Atomic update failure on pipe A (start=33697 end=33698)
[ 555.453207] [drm:intel_pipe_update_end [i915]] *ERROR* Atomic update failure on pipe A (start=34107 end=34108)
[ 558.916088] show_signal_msg: 21 callbacks suppressed
[ 558.916093] VirtualBox[12715]: segfault at 0 ip 00007f63b6179e79 sp 00007ffce052a880 error 4 in libkio.so.5.14.14[7f63b5f7a000+2cd000]
[ 644.539851] [drm:intel_pipe_update_end [i915]] *ERROR* Atomic update failure on pipe A (start=39449 end=39450)
[ 697.464933] [drm:intel_pipe_update_end [i915]] *ERROR* Atomic update failure on pipe A (start=42623 end=42624)
[ 712.458649] [drm:intel_pipe_update_end [i915]] *ERROR* Atomic update failure on pipe A (start=43522 end=43523)
[ 760.515761] [drm:intel_pipe_update_end [i915]] *ERROR* Atomic update failure on pipe A (start=46404 end=46405)


[2] Comentário enviado por wagnerfs em 19/01/2016 - 22:55h


[1] Comentário enviado por snayp2r em 19/01/2016 - 14:36h

Bom dia a todos

já tentei vários tutoriais e sempre apresenta o mesmo erro... não consegue carregar o modulo do kernel vboxdrv.

Stopping VirtualBox kernel modules [ OK ]
Uninstalling old VirtualBox DKMS kernel modules [ OK ]
Trying to register the VirtualBox kernel modules using DKMS[ OK ]
Starting VirtualBox kernel modules [FALHOU]
(modprobe vboxdrv failed. Please use 'dmesg' to find out why)

versão do kernel: 4.3.3-300.fc23.x86_64
fedora 23 kde

rodando o dmesg me retornou alguns erros; alguem pode me ajudar?

[ 35.750315] ACPI Warning: \_SB_.PCI0.RP05.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)
[ 35.750576] ACPI: \_SB_.PCI0.RP05.PEGP: failed to evaluate _DSM
[ 35.750579] ACPI Warning: \_SB_.PCI0.RP05.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)
[ 35.750715] nouveau 0000:08:00.0: DRM: evicting buffers...
[ 35.763027] nouveau 0000:08:00.0: DRM: waiting for kernel channels to go idle...
[ 35.763050] nouveau 0000:08:00.0: DRM: suspending client object trees...
[ 35.764901] nouveau 0000:08:00.0: DRM: suspending kernel object tree...
[ 37.167465] Adjusting tsc more than 11% (8055339 vs 7777438)
[ 52.584487] nouveau 0000:08:00.0: DRM: resuming kernel object tree...
[ 52.647706] nouveau 0000:08:00.0: priv: HUB0: 10ecc0 ffffffff (1970822c)
[ 52.761202] nouveau 0000:08:00.0: DRM: resuming client object trees...
[ 57.238771] [drm:gen8_irq_handler [i915]] *ERROR* The master control interrupt lied (SDE)!
[ 57.238920] [drm:gen8_irq_handler [i915]] *ERROR* The master control interrupt lied (SDE)!
[ 58.458778] ACPI Warning: \_SB_.PCI0.RP05.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)
[ 58.459032] ACPI: \_SB_.PCI0.RP05.PEGP: failed to evaluate _DSM
[ 58.459035] ACPI Warning: \_SB_.PCI0.RP05.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)
[ 58.459175] nouveau 0000:08:00.0: DRM: evicting buffers...
[ 58.459177] nouveau 0000:08:00.0: DRM: waiting for kernel channels to go idle...
[ 58.459197] nouveau 0000:08:00.0: DRM: suspending client object trees...
[ 58.461030] nouveau 0000:08:00.0: DRM: suspending kernel object tree...
[ 71.115577] Bluetooth: RFCOMM TTY layer initialized
[ 71.115584] Bluetooth: RFCOMM socket layer initialized
[ 71.115648] Bluetooth: RFCOMM ver 1.11
[ 367.216952] [drm:intel_pipe_update_end [i915]] *ERROR* Atomic update failure on pipe A (start=22819 end=22820)
[ 476.377964] perf interrupt took too long (2501 > 2500), lowering kernel.perf_event_max_sample_rate to 50000
[ 548.351295] [drm:intel_pipe_update_end [i915]] *ERROR* Atomic update failure on pipe A (start=33681 end=33682)
[ 548.617888] [drm:intel_pipe_update_end [i915]] *ERROR* Atomic update failure on pipe A (start=33697 end=33698)
[ 555.453207] [drm:intel_pipe_update_end [i915]] *ERROR* Atomic update failure on pipe A (start=34107 end=34108)
[ 558.916088] show_signal_msg: 21 callbacks suppressed
[ 558.916093] VirtualBox[12715]: segfault at 0 ip 00007f63b6179e79 sp 00007ffce052a880 error 4 in libkio.so.5.14.14[7f63b5f7a000+2cd000]
[ 644.539851] [drm:intel_pipe_update_end [i915]] *ERROR* Atomic update failure on pipe A (start=39449 end=39450)
[ 697.464933] [drm:intel_pipe_update_end [i915]] *ERROR* Atomic update failure on pipe A (start=42623 end=42624)
[ 712.458649] [drm:intel_pipe_update_end [i915]] *ERROR* Atomic update failure on pipe A (start=43522 end=43523)
[ 760.515761] [drm:intel_pipe_update_end [i915]] *ERROR* Atomic update failure on pipe A (start=46404 end=46405)



Já tentou atualizar o sistema? Fazendo isso atualiza também o kernel. Peguei uma bronca assim e fiz a atualização do sistema antes de instalar o virtualbox e funcionou de boa, mas foi na época do Fedora 17.

[3] Comentário enviado por aldooliveira em 20/01/2016 - 08:46h


[1] Comentário enviado por snayp2r em 19/01/2016 - 14:36h

Bom dia a todos

já tentei vários tutoriais e sempre apresenta o mesmo erro... não consegue carregar o modulo do kernel vboxdrv.

Stopping VirtualBox kernel modules [ OK ]
Uninstalling old VirtualBox DKMS kernel modules [ OK ]
Trying to register the VirtualBox kernel modules using DKMS[ OK ]
Starting VirtualBox kernel modules [FALHOU]
(modprobe vboxdrv failed. Please use 'dmesg' to find out why)

versão do kernel: 4.3.3-300.fc23.x86_64
fedora 23 kde

rodando o dmesg me retornou alguns erros; alguem pode me ajudar?

[ 35.750315] ACPI Warning: \_SB_.PCI0.RP05.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)
[ 35.750576] ACPI: \_SB_.PCI0.RP05.PEGP: failed to evaluate _DSM
[ 35.750579] ACPI Warning: \_SB_.PCI0.RP05.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)
[ 35.750715] nouveau 0000:08:00.0: DRM: evicting buffers...
[ 35.763027] nouveau 0000:08:00.0: DRM: waiting for kernel channels to go idle...
[ 35.763050] nouveau 0000:08:00.0: DRM: suspending client object trees...
[ 35.764901] nouveau 0000:08:00.0: DRM: suspending kernel object tree...
[ 37.167465] Adjusting tsc more than 11% (8055339 vs 7777438)
[ 52.584487] nouveau 0000:08:00.0: DRM: resuming kernel object tree...
[ 52.647706] nouveau 0000:08:00.0: priv: HUB0: 10ecc0 ffffffff (1970822c)
[ 52.761202] nouveau 0000:08:00.0: DRM: resuming client object trees...
[ 57.238771] [drm:gen8_irq_handler [i915]] *ERROR* The master control interrupt lied (SDE)!
[ 57.238920] [drm:gen8_irq_handler [i915]] *ERROR* The master control interrupt lied (SDE)!
[ 58.458778] ACPI Warning: \_SB_.PCI0.RP05.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)
[ 58.459032] ACPI: \_SB_.PCI0.RP05.PEGP: failed to evaluate _DSM
[ 58.459035] ACPI Warning: \_SB_.PCI0.RP05.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95)
[ 58.459175] nouveau 0000:08:00.0: DRM: evicting buffers...
[ 58.459177] nouveau 0000:08:00.0: DRM: waiting for kernel channels to go idle...
[ 58.459197] nouveau 0000:08:00.0: DRM: suspending client object trees...
[ 58.461030] nouveau 0000:08:00.0: DRM: suspending kernel object tree...
[ 71.115577] Bluetooth: RFCOMM TTY layer initialized
[ 71.115584] Bluetooth: RFCOMM socket layer initialized
[ 71.115648] Bluetooth: RFCOMM ver 1.11
[ 367.216952] [drm:intel_pipe_update_end [i915]] *ERROR* Atomic update failure on pipe A (start=22819 end=22820)
[ 476.377964] perf interrupt took too long (2501 > 2500), lowering kernel.perf_event_max_sample_rate to 50000
[ 548.351295] [drm:intel_pipe_update_end [i915]] *ERROR* Atomic update failure on pipe A (start=33681 end=33682)
[ 548.617888] [drm:intel_pipe_update_end [i915]] *ERROR* Atomic update failure on pipe A (start=33697 end=33698)
[ 555.453207] [drm:intel_pipe_update_end [i915]] *ERROR* Atomic update failure on pipe A (start=34107 end=34108)
[ 558.916088] show_signal_msg: 21 callbacks suppressed
[ 558.916093] VirtualBox[12715]: segfault at 0 ip 00007f63b6179e79 sp 00007ffce052a880 error 4 in libkio.so.5.14.14[7f63b5f7a000+2cd000]
[ 644.539851] [drm:intel_pipe_update_end [i915]] *ERROR* Atomic update failure on pipe A (start=39449 end=39450)
[ 697.464933] [drm:intel_pipe_update_end [i915]] *ERROR* Atomic update failure on pipe A (start=42623 end=42624)
[ 712.458649] [drm:intel_pipe_update_end [i915]] *ERROR* Atomic update failure on pipe A (start=43522 end=43523)
[ 760.515761] [drm:intel_pipe_update_end [i915]] *ERROR* Atomic update failure on pipe A (start=46404 end=46405)



Tente seguir esses passos: https://www.if-not-true-then-false.com/2010/install-virtualbox-with-yum-on-fedora-centos-red-hat-rhe...
Conseguir instalar no Fedora 23 e rodou belezinha.

[4] Comentário enviado por snayp2r em 20/01/2016 - 18:13h


Tente seguir esses passos: https://www.if-not-true-then-false.com/2010/install-virtualbox-with-yum-on-fedora-centos-red-hat-rhe....
Conseguir instalar no Fedora 23 e rodou belezinha.


Tentei com esse tuto... mas o erro continua... :(

[5] Comentário enviado por fenix.se em 21/01/2016 - 13:49h

Instalem o kernel-devel referente ao kernel que está sendo usado e rodem novamente o comando. Vai resolver.

[6] Comentário enviado por fabioantonio em 19/05/2016 - 13:07h


Olá muito bom seu tutorial, instalei utilizando o Fedora 23 e funcionou muito bem!!! Obrigado pela colaboração.

[7] Comentário enviado por fenix.se em 21/05/2016 - 17:58h

Fico feliz por ter ajudado Fabio.

[8] Comentário enviado por xBrunoSousa em 24/06/2016 - 23:36h

Funcionando perfeitamente no Fedora 24!
Obrigado!

[9] Comentário enviado por ivanferrer em 01/08/2016 - 18:36h

Aqui tem um passo a passo:
http://www.if-not-true-then-false.com/2010/install-virtualbox-with-yum-on-fedora-centos-red-hat-rhel...



Contribuir com comentário




Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts