How to successfully Make a Virtual Machine Work Using only a computer?

为君一笑 提交于 2019-12-23 07:00:46

问题


So I have Virtualbox Installed and I want to make a Virtual Machine Work for Windows 8.1 with only 1 computer and no other things.But it says "no bootable medium found! system halted." or "Could not read from the bootable medium! System halted." Is it possible to make a Virtual Machine Work with only a Notebook PC or not? And if possible, How to do it? If not possible, how can i do it with an empty cd

I excpected the VM to work, but the VM keeps saying "no bootable medium found! system halted." or "Could not read from the bootable medium! System halted."


回答1:


You can make a virtual machine work with just one computer. You'll need installation media - either a CD-ROM or an image of the CD-ROM that has Windows setup on it.

Setting up a virtual machine is very similar to setting up a computer from scratch. Mostly when you buy a computer these days they come with Windows (or something) pre-installed, or with an installation configured to start on first boot.

But with a virtual machine, that pre-configuration is not there.

So what you have to do is install an operating system on to the virtual machine.

If you were installing on a physical device, you could use a CD-ROM or an external USB stick (or, in the old days, a floppy disk).

If you've got a physical Windows installation CD-ROM, and a CD drive on your host machine, you can use that. But for a virtual machine, I mostly use a CD-ROM image of the installation media. This is usually a very large file that ends in .iso. The file is organised in exactly the same way as a CD-ROM's file system. You configure Virtual Box to use this image, and the virtual machine sees it just like a physical CD drive.

I suggest you don't try to use USB stick, because I've always had trouble with USB and Virtual Box. This may have changed in the years since I last tried.

So what you do is configure the virtual machine, and assign a hard drive of whatever size you're going to allocate to be your C: drive. You then configure a CD drive and tell Virtual Box to use your Windows Install CD image (the .iso file) for the CD drive.

When the virtual machine powers on, it will look for boot instructions. It should find them on what it considers to be its CD-drive, but is actually the installation .iso being managed by virtual box. It will read the boot instructions and launch the OS installation routine.

As far as the installer is concerned it is simply installing on a computer - it shouldn't need to know that it's a virtual machine. You tell it to install on the C:\ drive and it does so. Virtual box manages that so it gets written to a file on the host, but the OS and installer running inside the virtual machine treat it as a physical drive.

(Note that it probably can figure out and may or may not have some code in place to prevent that, depending on licensing etc).



来源:https://stackoverflow.com/questions/56883014/how-to-successfully-make-a-virtual-machine-work-using-only-a-computer

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!