当前位置:网站首页>Summary of virtual box usage problems
Summary of virtual box usage problems
2022-06-12 13:54:00 【123axj】
Catalog
Virtualbox Prompt inaccessible / inaccessible
ubuntu The interface prompts dev/sda1 contains a file system with error, Tips initramfs
virtualbox The blue screen will be displayed after startup
Prompt after startup welcome to emergency mode
VirtualBox Adding xxx.vdi Time report uuid error
Zoom in and out of the virtual machine ui Interface stuck
ssh Log in to the virtual machine
ssh Cannot use... When logging in root user
apt install Tips unable to lock the administration directory
Command line configuration virtualbox
Virtualbox Prompt inaccessible / inaccessible
If virtualbox manager The interface displays a similar interface

resolvent : According to the prompt , find PCieVM1.vbox The path to this file ,ll The following information will be displayed , It can be seen that PCieVM1.vbox The file size is 0, And one more PCieVM1.vbox-prev The file of . therefore , direct mv PCieVM1.vbox-prev PCieVM1.vbox You can solve the problem .

If virtualbox The tips are as follows error, It is probably the same problem as above , here , Close this pop-up window , find PCieVM1.vbox The path to this file , Then perform the above operation .

If virtualbox Note the following error , According to the prompt , Get into /home/hao.config/VirtualBox Folder , I found something similar to the above ,virtualBox.xml File size is 0, therefore mv virtualBox.xml-prev virtualBox.xml You can solve the problem .


ubuntu The interface prompts dev/sda1 contains a file system with error, Tips initramfs
Solutions refer to https://blog.csdn.net/u011007997/article/details/90475633

virtualbox The blue screen will be displayed after startup

Solutions refer to https://forums.virtualbox.org/viewtopic.php?f=6&t=80178

Prompt after startup welcome to emergency mode
resolvent :https://blog.csdn.net/qq_30500113/article/details/81697937 , You can find /etc/fstab Be rewritten .

VirtualBox Adding xxx.vdi Time report uuid error
If the same user uses the same vdi image File installs two ubuntu virtual machine , That's the problem . You can enter your xxx.vdi In the path of , perform VBoxManage internalcommands sethduuid xxx.vdi , modify uuid that will do .
Zoom in and out of the virtual machine ui Interface stuck
It may be set at this time display The virtual memory is too small , Just set it larger . You can also use the following command to change , among 32 That's what you need to set memory size .
VBoxManage modifyvm YOUR_VBOX_MACHINE_NAME --vram 32

ssh Log in to the virtual machine
If a computer is used by multiple users virtualbox, And these users use the same image (xxx.vdi) file , At this time due to image In the document ip address identical , In order to distinguish individual users , You need to configure network by NAT The way .
If there is only one user on a physical machine , You can select the bridging method


ssh Cannot use... When logging in root user
ssh Login time , If non root Users can log in normally , But use root The account cannot be logged in , You can refer to Ubuntu SSH root Sign in Permission denied error
install ssh If something goes wrong , Reference resources https://blog.csdn.net/lyc0424/article/details/102555121
apt install Tips unable to lock the administration directory
explain apt Locked ,ps -ef |grep apt Find the corresponding pid,kill that will do
Virtual disk space expansion
Reference resources https://my.oschina.net/u/4414208/blog/3720000
The first 1 Step , Add... In the management interface vdi Virtual hard disk size of . Be careful : This step requires shutting down the virtual machine .

The first 2 Step , Start virtual machine , stay terminal perform sudo apt install gparted; sudo gparted
The first 3 Step :resize /dev/sda1, And save the configuration ( spot √ )
The first 4 Step :reboot Restart the virtual machine ,df -lh Check the disk space .




Command line configuration virtualbox
Virtualbox Provides a full set of command lines to configure virtual machines , For example, modify the virtual machine netport,core Count , Virtual memory and so on .
Official document reference https://www.virtualbox.org/manual/ch08.html
边栏推荐
- 阿里云开发板vscode开发环境搭建
- Factory mode of "object creation" mode
- Codeforces 1637 B. mex and array - reading, violence
- Codeforces 1629 F2. Game on sum (hard version) - Yang Hui's triangle, violence, finding rules
- Codeforces 1637 C. Andrew and stones - simple thinking
- Codeforces 1629 E. grid XOR - simple thinking
- 上海解封背后,这群开发者“云聚会”造了个AI抗疫机器人
- AVFoundation
- Alicloud development board vscode development environment setup
- C language array and pointer
猜你喜欢

Is MySQL query limit 1000,10 as fast as limit 10? How to crack deep paging

Mold and remainder

阿里云开发板HaaS510解析串口JSON数据并发送属性

Paw 高级使用指南

Démontage et modification de la machine publicitaire - décompression amateur

Implementing singleton mode of database under QT multithreading

如何使用android studio制作一个阿里云物联网APP

Alibaba cloud development board haas510 sends the serial port data to the Internet of things platform
![[advanced MySQL] evolution of MySQL index data structure (IV)](/img/eb/e32387b172eb4c3a4152dbc3b0cb8f.png)
[advanced MySQL] evolution of MySQL index data structure (IV)

Hash tables, sets, maps, trees, heaps, and graphs
随机推荐
m1 pod install pod lint 失败解决方案
Encryptor and client authenticate with each other
Greed issues - Egypt scores
Comparator summary
Top 10 tips for visual studio code on Google
Rk3399 platform development series explanation (kernel debugging chapter) 2.50 use of systrace
Scyther工具形式化分析Woo-Lam协议
Codeforces 1629 F1. Game on sum (easy version) - DP, game, thinking
go-zero 微服务实战系列(二、服务拆分)
How to brush leetcode
Application of binary search -- finding the square root sqrt of a number
Codeforces 1629 F2. Game on sum (hard version) - Yang Hui's triangle, violence, finding rules
618 entered the second half of the period, apple occupied the high-end market, and the domestic mobile phones finally undercut the price competition
阿里云开发板HaaS510连接物联网平台--HaaS征文
Compile and install lamp architecture of WordPress and discuz for multi virtual hosts based on fastcgi mode
Seeking magic square of order n with C language
[WUSTCTF2020]颜值成绩查询-1
Codeforces 1634 F. Fibonacci additions - Fibonacci sequence addition, ideas
Convert the string to hexadecimal string and display it
Single bus temperature sensor 18B20 data on cloud (Alibaba cloud)