救命,virtualBOX 6 無縫就是灰色的不能用 - Linux
By Carol
at 2020-12-29T15:25
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要換版本嗎?
救命啊~~~
--
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
By Hardy
at 2020-12-31T07:21
at 2020-12-31T07:21
By Robert
at 2020-12-31T20:53
at 2020-12-31T20:53
Related Posts
請問能在 loop 中使用已定義的變數嗎?
By Ida
at 2020-12-29T14:56
at 2020-12-29T14:56
可以問樹莓派的問題嗎?
By Robert
at 2020-12-28T18:45
at 2020-12-28T18:45
關於CentOS之死,請轉用Debian。
By Ingrid
at 2020-12-27T19:04
at 2020-12-27T19:04
crontab執行無效的問題
By Cara
at 2020-12-25T16:49
at 2020-12-25T16:49
語音軟體
By Sandy
at 2020-12-20T21:20
at 2020-12-20T21:20