將Arch Linux安裝在VirutalBox(GUEST端)跟一般安裝一樣沒啥特別,不過安裝Guest Additions時會比較麻煩一點:
1.在VBox選單選擇「Devices/Insert Guest Additions CD Image...」
2.安裝build kernel必要的package:
#sudo pacman -S gcc make perl
3.找出kernel版本,再安裝headers:
#uname -r
<4.19.59-1-MANJARO>
#sudo pacman -Si linux419-headers
版本: 4.19.59-1
#sudo pacmam -S linux419-headers
4.安裝guest additions
cd /run/media/username/VBox_GAs_6.0.10/
sudo sh VBoxLinuxAdditions.run
5.重開機,可以調整解析度囉!別忘了還要在HOST端安裝Extension Pack,才能支援USB 2.0 and USB 3.0 devices, VirtualBox RDP, disk encryption, NVMe and PXE boot for Intel cards…等功能
6.以後要是有升級kernel,記得要
rcvboxadd quicksetup <version>
或直接
rcvboxadd quicksetup all
重建module
ref:
https://wiki.archlinux.org/index.php/VirtualBox#Installation_steps_for_Arch_Linux_guests
https://www.virtualbox.org/wiki/Downloads
沒有留言:
張貼留言