{"id":151,"date":"2006-09-17T21:04:48","date_gmt":"2006-09-18T07:04:48","guid":{"rendered":"https:\/\/anildesai.net\/?p=151"},"modified":"2009-09-03T20:06:38","modified_gmt":"2009-09-04T01:06:38","slug":"microsoft-virtual-server-from-the-ground-up-part-3-installing-a-virtual-server-guest-os","status":"publish","type":"post","link":"https:\/\/anildesai.net\/index.php\/2006\/09\/microsoft-virtual-server-from-the-ground-up-part-3-installing-a-virtual-server-guest-os\/","title":{"rendered":"Microsoft Virtual Server from the Ground Up, Part 3: Installing a Virtual Server Guest OS"},"content":{"rendered":"<p><em>This article was first published on <\/em><a href=\"http:\/\/searchservervirtualization.techtarget.com\/\"><em>SearchServerVirtualization.TechTarget.com<\/em><\/a><em>.<\/em><\/p>\n<p>If you\u2019ve been following the article series so far, you\u2019ve already setup Microsoft Virtual Server, configured some basic server settings, and have created a new VM. What\u2019s missing in this picture? Well, so far, the VM doesn\u2019t do much \u2013 you can start it, but all you\u2019ll get is a black screen stating that no operating system can be found. That makes sense \u2013 so far, you have the equivalent of a physical computer with a blank hard drive. The next logical step is to install a guest operating system. You\u2019re in luck, as that\u2019s the topic of this article!<\/p>\n<h2>Guest OS Installation Overview<\/h2>\n<p>The process of installing a guest operating system is similar to that of installing an operating system on a new physical machine. You need to start with some way of getting the OS installer (and all related files) onto the computer. In the old days, you\u2019d likely use floppy disks. Now, CDs, DVDs, and network-based installs are more common. Literally hundreds of operating systems have been successfully run with Virtual Server (though only a small subset of them are officially supported by Microsoft). In general, as long as your guest OS supports the hardware configuration shown in Figure 1, you should be able to run it within a Virtual Server VM.<\/p>\n<p><a href=\"https:\/\/anildesai.net\/wp-content\/uploads\/2007\/10\/image29.png\"><img loading=\"lazy\" decoding=\"async\" style=\"border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px\" src=\"https:\/\/anildesai.net\/wp-content\/uploads\/2007\/10\/image-thumb29.png\" border=\"0\" alt=\"image\" width=\"465\" height=\"377\" \/><\/a><\/p>\n<p><strong>Figure 1: The virtual hardware configuration for a Virtual Server VM.<\/strong><\/p>\n<p>The main concept to keep in mind is that, in almost every way, the guest OS will function like a physical one. It has a BIOS, it performs a POST operation, and it enumerates removable drives and fixed hard disks during the boot process. You can even go into the BIOS to make changes (though the default options will probably work best). OK, with that out of the way, let\u2019s look at installation options.<\/p>\n<h2>Guest OS Installation Options<\/h2>\n<p>On a physical machine, you\u2019d most likely start the installation of a new OS by inserting a CD or DVD into the system. Since there are no physical drives for a virtual machine, you\u2019ll need to attach your VM\u2019s virtual DVD-ROM drive (which also supports CD-ROMs) to the appropriate media. To manage these attachments, simply choose to edit the configuration of your virtual machine using the Virtual Server Administration Web Site. Let\u2019s look at the three most common methods.<\/p>\n<h3>Installation Using Physical Media<\/h3>\n<p>If you have a physical CD-ROM or DVD-ROM from which you can install your guest OS, the simplest approach is to \u201ccapture\u201d host computer\u2019s physical DVD-ROM drive to your VM\u2019s virtual DVD-ROM drive. To do this, go to the configuration of your virtual machine and then click on the \u201cCD\/DVD\u201d link. As shown in Figure 2, you\u2019ll have several options. Just select \u201cPhysical CD\/DVD drive\u201d and choose the appropriate drive letter from the host.<\/p>\n<p><a href=\"https:\/\/anildesai.net\/wp-content\/uploads\/2007\/10\/image30.png\"><img loading=\"lazy\" decoding=\"async\" style=\"border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px\" src=\"https:\/\/anildesai.net\/wp-content\/uploads\/2007\/10\/image-thumb30.png\" border=\"0\" alt=\"image\" width=\"459\" height=\"383\" \/><\/a><\/p>\n<p><strong>Figure 2: Capturing a physical CD\/DVD drive.<\/strong><\/p>\n<p>The next time the VM is booted, it should automatically detect the media as if it were mounted in a virtual DVD-ROM device. Assuming that the media is bootable, you\u2019ll be off and running with the Guest OS installation process. This is a pretty simple process, but there\u2019s one catch: Using physical media can be a very slow method of installing an OS. Also, only a single VM can capture a physical host drive at a time (a problem if you\u2019re planning to run multiple installations in parallel). Fortunately, there\u2019s another option.<\/p>\n<h3>Installation Using ISO Files<\/h3>\n<p>The ISO standard specifies a method by which disc-based media formats (like DVDs and CDs) can be represented in a file. You can create an ISO file using various third-party utilities, and it has become very common for OS distributions to be available for download in ISO formats. If you have an ISO file, you can easily make it available for use by a VM, as shown in Figure 3.<\/p>\n<p><a href=\"https:\/\/anildesai.net\/wp-content\/uploads\/2007\/10\/image31.png\"><img loading=\"lazy\" decoding=\"async\" style=\"border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px\" src=\"https:\/\/anildesai.net\/wp-content\/uploads\/2007\/10\/image-thumb31.png\" border=\"0\" alt=\"image\" width=\"474\" height=\"396\" \/><\/a><\/p>\n<p><strong>Figure 3: Attaching to an ISO file to a VM\u2019s Virtual CD\/DVD drive.<\/strong><\/p>\n<p>Installing from an ISO file is usually significantly faster than using physical media, and multiple VMs can attach to the same ISO file at the same time.<\/p>\n<h3>Network-Based Installations<\/h3>\n<p>The Pre-boot eXecution Environment (PXE) standard allows for computers to be booted over a network. There are several requirements for this to work properly. First, the virtual network card must support PXE booting. Virtual Server has you covered here (as long as you\u2019re using Virtual Server 2005 R2 or later). The other is that a collection of server-side technologies need to be available. Various vendors (including Microsoft) have PXE-based installation methods for their operating systems.<\/p>\n<h2>Using the VMRC<\/h2>\n<p>Once you\u2019ve captured the appropriate media for installation, all you need to do is start the VM and use the VMRC to connect to it from within the Virtual Server Administration Web Site. Both operations can be performed by clicking on the thumbnail of the VM in the \u201cMaster Status\u201d page.<\/p>\n<h2>Completing the OS Installation<\/h2>\n<p>Obviously, the exact steps for performing an OS installation will vary based on the specific OS. Again, keep in mind that the process should be similar (if not identical) to that of installing on a physical machine.<\/p>\n<p>The first step that you\u2019ll want to perform after the OS installation is complete is to install the Virtual Machine Additions. This package includes drivers and related software that will greatly improve VM performance and usability. The easiest way to do this is to click the \u201cInstall VM Additions\u201d link when using the VMRC. Behind the scenes, Virtual Server will automatically mount the appropriate ISO file and (if your OS supports it), will automatically start the installation process. Once you reboot the VM, you should be all set to do what you will with your new VM.<\/p>\n<h2>Virtualization Checkpoint<\/h2>\n<p>In the first three articles in this series, we\u2019ve gone through the process of setting up a new VM and getting it ready for use with a guest OS of your choice. In future articles, I\u2019ll cover details related to other configuration options such as configuring virtual networks. Stay tuned!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This article was first published on SearchServerVirtualization.TechTarget.com. If you\u2019ve been following the article series so far, you\u2019ve already setup Microsoft Virtual Server, configured some basic server settings, and have created a new VM. What\u2019s missing in this picture? Well, so far, the VM doesn\u2019t do much \u2013 you can start it, but all you\u2019ll get [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[23,12],"tags":[],"class_list":["post-151","post","type-post","status-publish","format-standard","hentry","category-microsoft-virtual-server","category-virtualization"],"_links":{"self":[{"href":"https:\/\/anildesai.net\/index.php\/wp-json\/wp\/v2\/posts\/151","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/anildesai.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/anildesai.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/anildesai.net\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/anildesai.net\/index.php\/wp-json\/wp\/v2\/comments?post=151"}],"version-history":[{"count":1,"href":"https:\/\/anildesai.net\/index.php\/wp-json\/wp\/v2\/posts\/151\/revisions"}],"predecessor-version":[{"id":379,"href":"https:\/\/anildesai.net\/index.php\/wp-json\/wp\/v2\/posts\/151\/revisions\/379"}],"wp:attachment":[{"href":"https:\/\/anildesai.net\/index.php\/wp-json\/wp\/v2\/media?parent=151"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/anildesai.net\/index.php\/wp-json\/wp\/v2\/categories?post=151"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/anildesai.net\/index.php\/wp-json\/wp\/v2\/tags?post=151"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}