
Ubuntu에 VBox 게스트 추가를 설치할 수 없습니다. Linux 헤더에 몇 가지 문제가 있음을 보여줍니다. 추신: 저는 Windows8 호스트에서 ubuntu 12.10 게스트를 사용하고 있습니다. 설치하려고 했을 때 다음과 같은 결과가 나왔습니다.
Verifying archive integrity... All good.
Uncompressing VirtualBox 4.2.10 Guest Additions for Linux..........
VirtualBox Guest Additions installer
Removing installed version 4.2.10 of VirtualBox Guest Additions...
Removing existing VirtualBox non-DKMS kernel modules ...done.
Building the VirtualBox Guest Additions kernel modules
The headers for the current running kernel were not found. If the following
module compilation fails then this could be the reason.
Building the main Guest Additions module ...fail!
(Look at /var/log/vboxadd-install.log to find out what went wrong)
Doing non-kernel setup of the Guest Additions ...done.
Installing the Window System drivers
Installing X.Org Server 1.13 modules ...done.
Setting up the Window System to use the Guest Additions ...done.
You may need to restart the hal service and the Window System (or just restart
the guest system) to enable the Guest Additions.
Installing graphics libraries and desktop services components ...done.
Press Return to close this window...
답변1
VirtualBox Guest Additions를 성공적으로 설치하려면 linux-headers-generic
소프트웨어 센터에서 찾을 수 있는 패키지가 필요합니다. 입력한 후에도 표시되지 않으면 왼쪽 하단 모서리에 있는 "기술 항목 표시"를 클릭하면 목록이 표시됩니다. 패키지를 설치합니다.
또는 Ubuntu 패키지 사이트로 이동할 수 있습니다.여기(64비트 우분투의 경우) 32비트 Ubuntu를 사용하는 경우 이 링크로 이동하세요.여기. 어떤 링크를 클릭하든 "Quantal"을 클릭하고 패키지를 다운로드하세요. 다운로드한 패키지를 두 번 클릭하여 설치합니다.
어느 쪽이든(완료되면) 이제 문제 없이 VirtualBox Guest Additions를 설치할 수 있습니다.
도움이 되었기를 바랍니다.
답변2
데비안 기반 배포판을 사용하고 있고 Linux를 사용하는 대부분의 사람들처럼 목수염이 있는 경우 터미널 창을 열고 다음을 입력할 수도 있습니다.
(sudo) apt-get install linux-headers-generic
어떤 이유로든 소프트웨어 센터에 표시되지 않았기 때문에 이 방법을 사용했습니다(그리고 Show Technical Items
Vikramjeet이 언급한 옵션을 찾을 수 없었습니다.
답변3
VirtualBox 4.3.10이 설치된 Ubuntu 14.04 Desktop에서도 비슷한 문제가 발생했습니다.
실행하면 존재하지 않는 심볼릭 링크가 ls -al /sbin/mount*
표시됩니다 . 조금 둘러본 후 VBoxGuestAdditions가 다음 위치에 설치됩니다./sbin/mount.vboxsf
/usr/lib/VBoxGuestAdditions/mount.vboxsf
/opt/VBoxGuestAdditions-4.3.10/lib/VBoxGuestAdditions/
sudo ln -s /opt/VBoxGuestAdditions-4.3.10/lib/VBoxGuestAdditions /usr/lib/VBoxGuestAdditions
이로 인해 공유 폴더가 수정되었습니다.