VMware
在 Ubuntu 上似乎討論比較少,所以有些問題找不到答案
copy paste
physical disk
Booting a Physical Windows 10 Disk Using VirtualBox on Linux
9.8.1. Using a Raw Host Hard Disk From a Guest
Add a raw disk to a virtualbox virtual machine
VirtualBox 使用實體的硬碟
找出硬碟的位置如 /dev/sdb
$ sudo groupadd win10disk
$ sudo usermod -a -G win10disk youruser
$ sudo udevadm info /dev/sdX | grep UUID
E: ID_PART_TABLE_UUID=01234567-89ab-cdef-0123-456789abcde
$ vi /etc/udev/rules.d/99-win10disk.rules
ENV{ID_PART_TABLE_UUID}=="1234567-89ab-cdef-0123-456789abcde", GROUP="win10disk"
$ ls -l /dev/sdb
brw-rw---- 1 root win10disk 8, 16 Nov 4 23:33 /dev/sdb
$ VBoxManage internalcommands createrawvmdk -filename /path/to/diskname.vmdk -rawdisk /dev/sdb
RAW host disk access VMDK file /path/to/windows10.vmdk created successfully.
How to Enable USB in VirtualBox
安裝 VirtualBox Extension Pack
File/Preferences/Extensions/
$ sudo usermod -a -G vboxusers youruser
$ sudo apt-get update -y
會出現錯誤
$ sudoedit /etc/apt/sources.list
#deb http://download.virtualbox.org/virtualbox/debian bionic contrib
deb [arch=amd64] http://download.virtualbox.org/virtualbox/debian bionic contrib
$ sudo apt-get update -y
會出現錯誤
$ sudoedit /etc/apt/sources.list
#deb http://download.virtualbox.org/virtualbox/debian bionic contrib
deb [arch=amd64] http://download.virtualbox.org/virtualbox/debian bionic contrib
沒有留言:
張貼留言