Skip to content

emka.web.id

menulis pengetahuan – merekam peradaban

Menu
  • Home
  • Tutorial
  • Search
Menu

How to Install VirtualBox on Fedora 35

Posted on November 21, 2021

VirtualBox is a widely known open-source virtualization software that lets you run multiple guest operating systems (virtual machines) on a single host machine.

It supports the guest virtual machines running Windows, Linux, BSD, OS/2, Solaris, Haiku, and OSx86 operating systems.

Here, we will see how to install VirtualBox on Fedora 35.

Add VirtualBox Repository

Switch to the root user.

sudo su -

Install kernel-headers and DKMS.

dnf install -y kernel-devel-$(uname -r) kernel-headers

Download Oracle public key.

rpm --import  https://www.virtualbox.org/download/oracle_vbox.asc

Add the following content to it.

cat  /etc/yum.repos.d/virtualbox.repo [virtualbox] name=Fedora $releasever - $basearch - VirtualBox baseurl=http://download.virtualbox.org/virtualbox/rpm/fedora/34/x86_64/ enabled=1 gpgcheck=1 gpgkey=https://www.virtualbox.org/download/oracle_vbox.asc EOF

Install VirtualBox on Fedora 35

BIOS System

First, install VirtualBox using the dnf command.

dnf install -y VirtualBox-6.1

Then, add your user account to the vboxuser group.

usermod -aG vboxusers raj

EFI System

First, install VirtualBox using the dnf command.

dnf install -y VirtualBox-6.1

Then, add your user account to the vboxuser group.

usermod -aG vboxusers raj

On EFI secure boot systems, you need to sign VirtualBox modules (vboxdrv, vboxnetflt, vboxnetadp, vboxpci) before you can load them. So, to sign the modules, you will need to have a machine owner key that is trusted by EFI firmware.

Follow the below steps to sign all the VirtualBox modules.

First, generate the MOK (Machine Owner Key).

mkdir /root/module-signing cd /root/module-signing openssl req -new -x509 -newkey rsa:2048 -keyout MOK.priv -outform DER -out MOK.der -nodes -days 36500 -subj "/CN=MSI/" chmod 600 MOK.priv

Then, import the generated key to the system. This command will prompt you to set the password, which you will later while enrolling the key.

mokutil --import /root/module-signing/MOK.der

Reboot the system and then press any key to start the MOK management utility

1. Choose Enroll MOK

2. Choose View Key 0 to check the Machine Owner Key. If the key is OK, press enter and then select Continue

3. Choose Yes to enroll the key(s) and then enter the password you supplied during the import

4. Finally, choose Reboot to reboot the system

Create a script called /root/module-signing/sign-vbox-modules to sign all the VirtualBox modules using the generated MOK key.

#!/bin/bash for modfile in $(dirname $(modinfo -n vboxdrv))/*.ko; do echo "Signing $modfile" /usr/src/kernels/$(uname -r)/scripts/sign-file sha256  /root/module-signing/MOK.priv  /root/module-signing/MOK.der "$modfile" done 

Then, change the ownership of the script and run it. You can run this script whenever you update the system.

chmod 700 sign-vbox-modules /root/module-signing/sign-vbox-modules

Finally, start the VirtualBox Linux kernel module service.

systemctl start vboxdrv

Launch VirtualBox

After the installation, you can launch VirtualBox by going to Activities >> Search for VirtualBox or running the virtualbox command in the terminal.

Sumber: disini

Terbaru

  • Ketemu Link Video Viral ‘Petualangan Ustadzah Rahma’? Hati-hati, Kamu Bisa Dihack
  • Ikon Mic Roblox Hilang? Gini Caranya Mengaktifkan Kembali Voice Chat Biar Bisa Mabar Lagi!
  • Ini Cara Hapus Rombel Ganda di EMIS 4.0 yang Nggak Muncul Tombol Hapus
  • Inilah Kenapa Data Info GTK Kalian Nggak Berubah Padahal Dapodik Udah Sinkron
  • Belum Tahu CoreTax? Ini Trik Supaya Affiliator Lancar Lapor SPT Tahunan 2025 Tanpa Ribet
  • Inilah Cara Pendaftaran Peserta TKA SD dan SMP yang Benar Biar Nggak Salah Langkah!
  • Gagal Sinkron Dapodik 2026 C? Ini Trik Lengkap Supaya Berhasil Tanpa Pusing!
  • Cara Download Bukti Potong BPA1 di CoreTax, Nggak Perlu Ribet Minta HRD Lagi!
  • Cara Lapor SPT Tahunan di CoreTax Buat Pekerjaan Bebas, Ternyata Nggak Ribet Kalau Tahu Triknya!
  • Cara Beresin Siswa Tidak Teridentifikasi dan Rombel Ganda di EMIS 4.0
  • Cara Usul PIP di Dapodik 2026.B Biar Peserta Didik Kalian Dapat Bantuan!
  • Inilah Cara Awal Mengelola Web TKA Biar Nggak Pusing Pas Pelaksanaan!
  • Inilah Cara Mengatasi Masalah Jam Mengajar di InfoGTK Biar Cepat Valid!
  • Cara Atasi Residu Verval PD yang Tetap Muncul Padahal Sudah Hijau, Operator Sekolah Wajib Tahu!
  • Mau Cuan dari Nonton Drama di Cash Reels? Jangan Buru-buru Install Sebelum Baca Ini!
  • Tertipu Saldo Palsu? Apakah Game Layer Drop Penipu?
  • Inilah Syarat Terbaru dan Cara Daftar Bansos PKH-BPNT 2026 Lewat HP!
  • Inilah Trik Hubungkan Telegram ke WaIDN Biar Saldo Ngalir Terus!
  • Caranya Mengatasi Kode Verifikasi PayPal yang Nggak Pernah Nyampe di HP
  • Inilah Cara Cek Pencairan KJP Plus Januari 2026 Biar Nggak Bingung Lagi
  • Inilah Cara Cek Dana PIP yang Cair Senin 19 Januari 2026 Lewat HP!
  • Ingin Kuliah Gratis di 2026? Ini Cara Daftar KIP Kuliah via HP dan Syarat Lengkapnya!
  • Inilah Cara Cek Status KIS Bansos Aktif Secara Instan Lewat Smartphone Kamu!
  • Inilah Cara Cek NIK KTP Penerima Bansos PKH dan BPNT Januari 2026 yang Paling Gampang!
  • Ini Trik Ampuh Mengatasi Kode Verifikasi PayPal yang Nggak Kunjung Masuk!
  • Sering Gagal Transaksi? Ini Cara Mengatasi Kode FP2769 di BRImo yang Bikin Pusing!
  • Layar Oppo Muncul Error Hubungan Baterai? Gini Cara Beresinnya Sampai Tuntas!
  • Cara Munculin Menu Hadiah Melolo di iPhone
  • Inilah Cara Main Melolo Drama Biar Gak Boros Kuota dan Saldo Cair Terus!
  • Ini Trik Rahasia Cara Memunculkan Potongan Harga TikTok Shop yang Nggak Muncul di Akun Kalian!
  • Siapa itu Kelompok Hacker Silver Fox?
  • Apa itu CVE-2025-52691 SmarterMail? Celah Keamanan Paling Berbahaya Tahun 2025
  • Apa Itu ErrTraffic? Mengenal Platform ClickFix yang Bikin Website Jadi ‘Error’ Palsu
  • What is Reflex Framework? A Full-stack Python Framework
  • CloudFlare Acquired AstroJS!
  • Tutorial Python Deepseek Math v2
  • Cara Menggunakan SAM3D untuk Segmentasi dan Pembuatan Model 3D dari Teks
  • Cara Membuat AI Agent Super Cerdas dengan DeepAgents dan LangGraph
  • Perbedaan GPU vs TPU, Mana yang Terbaik
  • Tutorial Langfuse: Pantau & Optimasi Aplikasi LLM
  • Siapa itu Kelompok Hacker Silver Fox?
  • Apa itu CVE-2025-52691 SmarterMail? Celah Keamanan Paling Berbahaya Tahun 2025
  • Apa Itu ErrTraffic? Mengenal Platform ClickFix yang Bikin Website Jadi ‘Error’ Palsu
  • Ini Kronologi Hacking ESA (European Space Agency) 2025
  • Apa itu Zoom Stealer? Ini Definisi dan Bahaya Tersembunyi di Balik Ekstensi Browser Kalian
Beli Pemotong Rumput dengan Baterai IRONHOOF 588V Mesin Potong Rumput 88V disini https://s.shopee.co.id/70DBGTHtuJ
Beli Morning Star Kursi Gaming/Kantor disini: https://s.shopee.co.id/805iTUOPRV

©2026 emka.web.id | Design: Newspaperly WordPress Theme