A simple way, first install a Virtual Operating System in vmware windows, copy the VMX file to Ubuntu, install VMWARE-PLAYER in UBUNTU, you can start the previous Virtual Operating System. It can be any operating system. UBUNTU can also be virtualized out of UBUNTU. Because VMWare is not free, we recommend using VirtualBox as a virtual machine. Sudoapt-getinstallvirtua a simple way, first install a Virtual Operating System in windows vmware, copy the VMX file to Ubuntu, install VMWARE-PLAYER in UBUNTU, you can start the previous Virtual Operating System. It can be any operating system. UBUNTU can also be virtualized out of UBUNTU.
Because VMWare is not free of charge, we recommend using VirtualBox as a virtual machine.
Sudo apt-get install virtualbox
Similar to VMWare.
Note: When a USB device is attached to a VM, the system prompts that you do not have permission to access usb fs by default.
Solution:
1. Create a usb fs user group named usb fs. Remember the group id.
2. Edit the/etc/fstab file as root
3. Add a line of none/proc/bus/usb usbfs devgid = 1002, devmode = 664 0 0 to the file. Among them, usbfs is the user group just created, and 1002 is the id of the usb FS user group.
4. Restart ubuntu and unmount the USB device that needs to be mounted to the VM.
5. Start VirtualBox and attach a USB device to the VM.