I want to run Windows 10 on Windows 10 with QEMU (not with other software). I downloaded QEMU, and set up environment variable. I also got the Windows 10 iso file, renamed it to win10.iso, and put that in the same directory as the QEMU folder. Then I ran this command in the QEMU folder with cmd prompt: qemu-system-x86_64.exe -boot d -cdrom win10.iso -m 2048
It worked fine, but when it asked for the drive, I got confused. image.
I clicked on the first option, and it said this. So clicked on the second option, and it gave me this. I clicked "load driver" and it gave me this. How do I make a device driver?
You misunderstood windows installer. The window on the first image asks you for installation type - installing a new version or upgrading an existing. The upgrade option is only available when you have an installed version and runs the installer from a booted windows, not when booting from installation media. So installing a new version is your choice. The window on third image says windows installer cant find any disks where it can install the OS. This is because you ran qemu with a cdrom and no disks. The solution here is not to load a driver, but run qemu with a hard disk.
First create a disk, for example so:
qemu-img.exe create -f qcow2 win10.qcow2 50G
Then run qemu with this disk:
qemu-system-x86_64.exe -boot d -cdrom win10.iso -m 2048 win10.qcow2
Related
Anyone did Catalina kernel debug? I tried to copy the development edition of kernel from KDK folder(Catalina 536) to /System/Library/Kernels in the VMWare fusion target VM (Catalina beta8) according their readme file, anyhow that folder is readonly, you cannot copy any file there,
anyone has the solution?
One possible way is that reboot into recovery mode, but with VMWare fusion VM, it seems both latest version (Beta 8) and one vmx download from internet are not working, I tried both Cmd-R and 'reboot recovery' with nram settings.
Remoutning the root file system using
$ mount -u -w /
Worked for me to be able to copy the new kernel over. However my laptop is still slowly booting the debug kernel so I have not been able to verify end to end kernel debugging yet.
I am using Windows 10 and VBox v5.1.6r110634 (Qt5.5.1). Ubuntu 16.04.1 LTS and GNOME Terminal 3.18.3.
I am trying to copy from a Ubuntu system to my Windows 10 Visual Studio v14.0.25431.01 Update 3. I have set Ubuntu's settings to be bidirectional just as described on a web page (Settings->General->Advanced->Shared Clipboard and Drag'n'Drop to Bidirectional). But the copy/paste from a terminal to Windows does not work. I have verified that the Copy operation in Ubuntu works because I can then Past to Ubuntu. But when I try to Paste to Visual Studio it does not work. I have tried a complete shutdown of Vbox and restarted it but still no help. I have checked to be sure I have the guest additions loaded so that is not the problem.
Does anyone have any ideas as to what may be going on?
Devices -> Insert Guest Additions CD Image -> Install -> Restart.
Remember activate bi-directional shared clipboard!
You may also need to install some libraries if its from a standard Ubuntu desktop build
sudo apt-get install virtualbox-guest-dkms virtualbox-guest-utils virtualbox-ext-pack
And Install Insert Additions CD Image from the device menu of the virtualbox window of the running VM.
How to enable bi-directional copy and paste on virtual box/ubuntu 16.4
pkill 'VBoxClient --clipboard' -f & sleep 1 && VBoxClient --clipboard
I ran this command on virtualbox(5.2)/ubuntu(16.4). It worked for me. I have enabled the bi-direction mode in settings->advance as well and after that ran this command.
Finally, trying so many methods, this one worked for me.
I have Docker installed on Windows 7 platform. However when I try to run boot2docker start, the console gives me:
Failed to get machine 'boot2docker-vm': machine does not exist.
Ok, so I try to initialize the machine: boot2docker init. What now happens is even though I have the ISO image on the same path as docker, it tries to download a new image (and then fails to do so).
I uninstalled both OracleVM and GIT before installing them with boot2docker bundle as advised on Docker forums, but now I don't know how to proceed.
I had the same problem on a Windows 7 64 bit system when I installed the entire boot2docker package. It seems that running the solely 64-bit based boot2docker image from a 32-bit OS image (e.g. created by Virtualbox) does not work.
The solution for me was
to activate Intel Virtualisation Technolologies in my BIOS
(Lenovo X61 for me). Note that the settings can be found either
under CPU or Security.
choose a 64 bit OS version in VirtualBox and boot in with the
image obtained by boot2docker.
In case you're trying to do this now
For Windows 10 64-bit: Pro, Enterprise, or Education (Build 15063 or later), follow the instructions to install Docker Desktop here https://docs.docker.com/docker-for-windows/install/.
If you have Windows systems that do not meet the requirements of Docker Desktop for Windows(in my case Microsoft Windows 10 Home Single Language), you can install Docker Toolbox by following the instructions here https://docs.docker.com/toolbox/toolbox_install_windows/.
boot2docker does not support sharing directories on Windows IIRC. The way I run Docker on windows is:
install VirtualBox
install Vagrant
create a directory (let's say c:\vm\docker)
download this Vagrantfile and save it under c:\vm\docker\Vagrantfile
open a DOS command prompt
go to the directory cd c:\vm\docker
start the VM vagrant up and wait for it to install, start up and get provisionned
connect to the VM vagrant ssh
play with docker docker images, etc
Also you might want a real console instead of using the DOS command prompt:
install Git Bash for Windows
install Console
setup Console to use Git Bash (see this guide)
use Console to run the vagrant up and vagrant ssh commands
I am trying to install Mac(OSX-Mavericks) using virtualbox On Windows 8.1.
Everything works fine But, when MAC Installation setup starts in virtual machine, it keep on loading and do not start the installation wizard stays on the first screen.
I have waited for a log time like 3-4 hrs but unable to figure out the problem as there is no error.
I am using a dell(Inspiron 3537).
I have installed Mac on my previous Samsung laptop successfully in the same way.
I will provide other information on demand as I'm not sure where the problem is as setup loads but not starts the installation process.
Thanks in advance
enable virtualisation on your BIOS, it may helps.
Open an administrator CMD shell and try this:
cd "C:\Program Files\Oracle\Virtualbox"
VBoxManage modifyvm <name_of_your_vm> --cpuidset 00000001 000306a9 00020800 80000201 178bfbff
Then close/VirtualBox and open again (to save your new settings). Boot OSX with "-v" flag.
I know that by using virtual box, graphics card cannot be utilized by all the measures so I think it is not possible but I also think that coding cuda at least setting the CUDA developing environment is easier at Windows (unfortunately) thus if it is possible I plan to setup win8 to virtual box on my Ubuntu.
I do want to use win since I am at optimus Nvidia machine thus there is a driver problem at Ubuntu. In addition compilation of the code at Eclipse does not work due to that driver flaw. In case I use Win there might be the remedy of the problem.
Even if you get success in setting up environment in your virtual box to compile cuda code and you compiled cuda code there it will be of no use because you wont be able to run the code in virtual box.
Yes, your are absolutely right that installing drivers on optimus nvidia card is difficult task. I was also stuck with the same problem. but with release of cuda 5, installing cuda on Ubuntu is very simple.
follow these simple steps.
Driver installation ##
Download cuda 5 from here.(32bit or 64bit depending on OS)
Cuda 5 download
Install required tools by following command
sudo apt-get install freeglut3-dev build-essential libx11-dev libxmu-dev libxi-dev libgl1-mesa-glx libglu1-mesa libglu1-mesa-dev
Next, blacklist the unnecessary modules
sudo gedit /etc/modprobe.d/blacklist.conf
add following lines at last
blacklist vga16fb
blacklist nouveau
blacklist rivafb
blacklist nvidiafb
blacklist rivatv
and reboot your system.
After reboot press Ctrl+Alt+F1. Login there and enter following command.
service lightdm stop
Go to location where you have downloaded cuda 5. In my case its on desktop.
cd Desktop
make it run from shell
chmod +x cuda_5.3.35_linux*****
Run from terminal
./cuda_5.3.35_linux*****
accept it, when asked to install drivers press y and n for cudatoolkit and gpucomputingsdk
now reboot and you are done with driver installation.
To install cudatoolkit and gpucomputingsdk follow this link
Cuda 4.2 installation on Ubuntu