惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

D
Docker
大猫的无限游戏
大猫的无限游戏
Jina AI
Jina AI
酷 壳 – CoolShell
酷 壳 – CoolShell
博客园 - 司徒正美
美团技术团队
雷峰网
雷峰网
阮一峰的网络日志
阮一峰的网络日志
WordPress大学
WordPress大学
T
Tailwind CSS Blog
U
Unit 42
C
Check Point Blog
S
SegmentFault 最新的问题
Martin Fowler
Martin Fowler
Stack Overflow Blog
Stack Overflow Blog
云风的 BLOG
云风的 BLOG
L
LangChain Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
腾讯CDC
罗磊的独立博客
小众软件
小众软件
Recent Announcements
Recent Announcements
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
D
DataBreaches.Net

WeepingDogel

A Simple Client Server Project Made by Python and Vue3 Annual Summary in 2023 Solve the problem of dual screen with NVIDIA and Intel GPUs How To Transfer A Value From The Parent Component To The Child Component in Vue 3.2 Attempted solution to the OpenStack Provincial Competition problem (Part One: Installation) Some Thoughts on Writing HTML and CSS Python Learning Notes - ArgParse LAN Penetration Testing with Beef, Bettercap, and Other Tools Help with College Computer Homework
Attempt to Solve the Problem of VirtualBox Stuck on 'Star...
WeepingDogel · 2023-03-06 · via WeepingDogel

Prologue: What was the problem?

Today, I felt like playing around with VirtualBox and discovered that every virtual machine was stuck at Starting virtual machine..

The first step when encountering a problem is to go to Google.

Hmm… I found two posts on the official Arch forum.

After reading the two posts, I discovered that it was due to a bug in KVM in the new version of the kernel.

Fortunately, a skilled individual had already submitted a bug report.

As for how this bug came about… I’m not sure, I’m not that knowledgeable.

Thinking about how to solve it

Based on the content of the posts I’ve read, the solution is to set the kernel parameter ibt=off.

Thank you

appending

to kernel boot params fixed my problem.

How do I set kernel boot parameters?

Since I didn’t know how to do this, I went to Google and found a method.

Proposed Solution

Actually, the solution is to edit the value of GRUB_CMDLINE_LINUX="" in the /etc/default/grub file and add “ibt=off” to it.

Solution Steps

1. Edit the /etc/default/grub file

The purpose of editing this file is to set the kernel boot parameters. The method for setting this may vary depending on the system booted by different bootloaders. As I am using Grub in my Arch system, I need to edit this file.

1
$ sudo vim /etc/default/grub

Find the keyword GRUB_CMDLINE_LINUX="" and add the parameter ibt=off.

1
2
3
4
5
6
7
8
9
# GRUB boot loader configuration

GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="Arch"
GRUB_CMDLINE_LINUX_DEFAULT="loglevel=7"
GRUB_CMDLINE_LINUX="ibt=off"

......

Enter : and type wq to save and exit the file (this is a basic operation and requires no further explanation).

2. Regenerate the Grub configuration file

Then, regenerate the Grub configuration file.

1
$ sudo grub-mkconfig -o /boot/grub/grub.cfg

Wait for the operation to complete. If there are no errors, you can restart the operating system.

Testing and Verification

After restarting the system, open VirtualBox again and start a virtual machine. At this point, it should successfully enter the system.

/img/photo_2023-03-06_23-08-43.jpg

This means that the problem has been solved.