救命,virtualBOX 6 無縫就是灰色的不能用 - Linux

Carol avatar
By Carol
at 2020-12-29T15:25

Table of Contents

windows 10 的OS下安裝 virtualbox 6.0.24,
virtualbox裡面跑虛擬 ubuntu 20,但是檢視的"無縫模式" 選項是灰色的,無法使用
請問該怎麼辦?(update upgrade build-essential 都裝了)


guest addition 也裝了,結果如下:

sudo sh ./VBoxLinuxAdditions.run

Verifying archive integrity... All good.
Uncompressing VirtualBox 6.0.24 Guest Additions for Linux........
VirtualBox Guest Additions installer
Removing installed version 6.0.24 of VirtualBox Guest Additions...
Copying additional installer modules ...
Installing additional modules ...
VirtualBox Guest Additions: Starting.
VirtualBox Guest Additions: Building the VirtualBox Guest Additions kernel
modules. This may take a while.
VirtualBox Guest Additions: To build modules for other installed kernels, run
VirtualBox Guest Additions: /sbin/rcvboxadd quicksetup <version>
VirtualBox Guest Additions: or
VirtualBox Guest Additions: /sbin/rcvboxadd quicksetup all
VirtualBox Guest Additions: Building the modules for kernel 5.8.0-33-generic.

VirtualBox Guest Additions: Look at /var/log/vboxadd-setup.log to find out
what went wrong
VirtualBox Guest Additions: Running kernel modules will not be replaced until
the system is restarted

********************************************************

查看 var/log/vboxadd-setup.log,有看到錯誤字樣,但不知道有沒沒關係

tmp/vbox.0/r0drv/linux/alloc-r0drv-linux.c: In function ‘
rtR0MemAllocExecVmArea’:
/tmp/vbox.0/r0drv/linux/alloc-r0drv-linux.c:171:15: error: implicit
declaration of function ‘__get_vm_area’; did you mean ‘get_vm_area’?
[-Werror=implicit-function-declaration]
171 | pVmArea = __get_vm_area(cbAlloc, VM_ALLOC, MODULES_VADDR,
MODULES_END);
| ^~~~~~~~~~~~~
| get_vm_area
/tmp/vbox.0/r0drv/linux/alloc-r0drv-linux.c:171:13: warning: assignment to ‘
struct vm_struct *’ from ‘int’ makes pointer from integer without a cast
[-Wint-conversion]
171 | pVmArea = __get_vm_area(cbAlloc, VM_ALLOC, MODULES_VADDR,
MODULES_END);
| ^
/tmp/vbox.0/r0drv/linux/alloc-r0drv-linux.c:204:14: error: implicit
declaration of function ‘map_vm_area’; did you mean ‘get_vm_area’?
[-Werror=implicit-function-declaration]
204 | if (!map_vm_area(pVmArea, PAGE_KERNEL_EXEC,
| ^~~~~~~~~~~
| get_vm_area
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:290:
/tmp/vbox.0/r0drv/linux/alloc-r0drv-linux.o] 錯誤 1
make[1]: *** [Makefile:1780: /tmp/vbox.0] Error 2
make: *** [/tmp/vbox.0/Makefile-footer.gmk:117: vboxguest] Error 2
~
***************************************************

請問是不是版本的問題? ubuntu要換版本嗎?

救命啊~~~

--
Tags: Linux

All Comments

Hardy avatar
By Hardy
at 2020-12-31T07:21
你的ubuntu夠新,可以試試看直接用apt裝virtualbox-gue
st-x11、virtualbox-guest-utils、virtualbox-guest-dk
ms三個套件後重開虛擬機,不一定要用光碟裡的安裝程式
Robert avatar
By Robert
at 2020-12-31T20:53
謝謝 安裝了沒有用,換成ubuntu16 就可以用無縫

請問能在 loop 中使用已定義的變數嗎?

Ida avatar
By Ida
at 2020-12-29T14:56
大家好 我將我的 code 簡化後如下: A_var=/home/fileA.txt B_var=/home/fileB.txt for nn in A B do head $and#34;${nn}_varand#34; done 希望能有 head /home/fi ...

可以問樹莓派的問題嗎?

Robert avatar
By Robert
at 2020-12-28T18:45
我想找住中壢的樹莓派的玩家 可是 PTT 沒有樹莓派的專版 來這裡問看看 如果違反版規,請版主刪文 - ...

關於CentOS之死,請轉用Debian。

Ingrid avatar
By Ingrid
at 2020-12-27T19:04
andlt;andlt;轉傳andgt;andgt; 手機版 https://reurl.cc/Gr7413 電腦版 https://reurl.cc/k0mrxq 關於 CentOS Linux 之死,請轉用 Debian Linux,才是最佳選擇! 以下 CentOS project 及 Cent ...

crontab執行無效的問題

Cara avatar
By Cara
at 2020-12-25T16:49
小弟有一個腳本是對ELK的index進行刪除的動作,單獨執行腳本是可以成功運作的。 但是如果透過crontab執行卻無法生效。 透過tail -f /var/log/syslog | grep CRON 查看log如下: Dec 25 16:30:01 hostname CRON[19982]: (ro ...

語音軟體

Sandy avatar
By Sandy
at 2020-12-20T21:20
在Windows10之下是有Nvda的語音旁白報讀軟體, 而Mac OSX10是Siri(美嘉)小姐的語音旁白報讀服務, 那麼Ubuntu是否有語音軟體可以下載安裝嗎? 因為本身是視障工作者需要語音軟體來幫忙啊,謝謝大家.... ----- Sent from JPTT on my Sony G322 ...