[問題] 救命,virtualBOX 6 無縫就是灰色的不能用

看板Linux作者 (鋼鐵人史塔克)時間3年前 (2020/12/29 15:25), 編輯推噓1(103)
留言4則, 2人參與, 3年前最新討論串1/1
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要換版本嗎? 救命啊~~~ -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 61.230.57.71 (臺灣) ※ 文章網址: https://www.ptt.cc/bbs/Linux/M.1609226718.A.432.html

12/29 20:08, 3年前 , 1F
你的ubuntu夠新,可以試試看直接用apt裝virtualbox-gue
12/29 20:08, 1F

12/29 20:08, 3年前 , 2F
st-x11、virtualbox-guest-utils、virtualbox-guest-dk
12/29 20:08, 2F

12/29 20:08, 3年前 , 3F
ms三個套件後重開虛擬機,不一定要用光碟裡的安裝程式
12/29 20:08, 3F

12/30 18:01, 3年前 , 4F
謝謝 安裝了沒有用,換成ubuntu16 就可以用無縫
12/30 18:01, 4F
文章代碼(AID): #1VwjdUGo (Linux)
文章代碼(AID): #1VwjdUGo (Linux)