OS installs - how does it know about hd?

Discussions related to using VirtualBox on Windows hosts.
Post Reply
mirk
Posts: 7
Joined: 29. May 2012, 21:26

OS installs - how does it know about hd?

Post by mirk »

Hello.

When I boot a virtual box to a "cd" iso for Windows or Linux, how does the box know that it is booting to a cd and that a hard drive exists? I was thinking a virtualbox or vhd was just a virtualized hard drive but they seem to know that a virtual cdrom and a virtual hard drive exists.
BillG
Volunteer
Posts: 5106
Joined: 19. Sep 2009, 04:44
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows 10,7 and earlier
Location: Sydney, Australia

Re: OS installs - how does it know about hd?

Post by BillG »

The virtual hard drive and the virtual CD drive are created when you create the virtual machine. The virtual hard drive is a file on the host machine and the virtual hard drive is an emulated device. By the time you get to the stage of installing an OS they both exist.
Bill
Post Reply