{"id":240,"date":"2010-01-14T23:53:39","date_gmt":"2010-01-15T04:53:39","guid":{"rendered":"http:\/\/otac.isa-geek.net\/blog\/?p=240"},"modified":"2010-02-07T02:35:50","modified_gmt":"2010-02-07T07:35:50","slug":"running-windows-xp-in-virtualbox-under-ubuntu-9-04","status":"publish","type":"post","link":"https:\/\/otac.isa-geek.net\/blog\/?p=240","title":{"rendered":"Running Windows XP in VirtualBox under Ubuntu 9.04"},"content":{"rendered":"<p>As part of my ongoing application development work, I had occasion to install <a href=\"http:\/\/www.virtualbox.org\/\">Sun VirtualBox<\/a> 3.0 recently. For those who have not used VirtualBox before, it is a x86 virtualization product, which runs on a number of host operating systems. Since I already had the VM software available, it seemed like a worthwhile experiment to see what would be required to get a Windows session running in VirtualBox under Ubuntu.<\/p>\n<p>The first thing I did was to start up the VirtualBox application (System Tools-&gt; Sun VirtualBox).<\/p>\n<div id=\"attachment_241\" style=\"width: 160px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/otac.isa-geek.net\/blog\/wp-content\/uploads\/2010\/01\/Screenshot-Sun-VirtualBox1.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-241\" class=\"size-thumbnail wp-image-241\" title=\"Sun VirtualBox Manager\" src=\"http:\/\/otac.isa-geek.net\/blog\/wp-content\/uploads\/2010\/01\/Screenshot-Sun-VirtualBox1-150x150.png\" alt=\"Sun VirtualBox Manager\" width=\"150\" height=\"150\" \/><\/a><p id=\"caption-attachment-241\" class=\"wp-caption-text\">Sun VirtualBox Manager<\/p><\/div>\n<p>At the main dialog, I hit the New button to create a new virtual machine.<\/p>\n<p><a href=\"http:\/\/otac.isa-geek.net\/blog\/wp-content\/uploads\/2010\/01\/Screenshot-Create-New-Virtual-Machine.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" style=\"padding: 0px;\" title=\"Create New Virtual Machine\" src=\"http:\/\/otac.isa-geek.net\/blog\/wp-content\/uploads\/2010\/01\/Screenshot-Create-New-Virtual-Machine-150x150.png\" alt=\"Create New Virtual Machine\" width=\"150\" height=\"150\" \/><\/a><\/p>\n<p>Hitting Next moved to a dialog where I entered the name of my VM (in this case, I called it WinXP). Notice that the default Operating System and Version were already set. I then hit Next once more to choose the memory for the VM. I took a little above the recommended amount of 192 MB, setting it to 512 MB.<\/p>\n<table>\n<tbody>\n<tr>\n<td>\n<p><div id=\"attachment_243\" style=\"width: 160px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/otac.isa-geek.net\/blog\/wp-content\/uploads\/2010\/01\/Screenshot-Create-New-Virtual-Machine-1.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-243\" class=\"size-thumbnail wp-image-243\" title=\"Create New Virtual Machine-OS\" src=\"http:\/\/otac.isa-geek.net\/blog\/wp-content\/uploads\/2010\/01\/Screenshot-Create-New-Virtual-Machine-1-150x150.png\" alt=\"Create New Virtual Machine-OS\" width=\"150\" height=\"150\" \/><\/a><p id=\"caption-attachment-243\" class=\"wp-caption-text\">Create New Virtual Machine-OS<\/p><\/div><\/td>\n<td>\n<p><div id=\"attachment_244\" style=\"width: 160px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/otac.isa-geek.net\/blog\/wp-content\/uploads\/2010\/01\/Screenshot-Create-New-Virtual-Machine-2.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-244\" class=\"size-thumbnail wp-image-244\" title=\"Create New Virtual Machine-Memory\" src=\"http:\/\/otac.isa-geek.net\/blog\/wp-content\/uploads\/2010\/01\/Screenshot-Create-New-Virtual-Machine-2-150x150.png\" alt=\"Create New Virtual Machine-Memory\" width=\"150\" height=\"150\" \/><\/a><p id=\"caption-attachment-244\" class=\"wp-caption-text\">Create New Virtual Machine-Memory<\/p><\/div><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>I then hit Next to create a new hard disk image to use as the primary boot for this virtual machine, accepting the recommended size of 10 GB, and hit Next again.<\/p>\n<div id=\"attachment_246\" style=\"width: 160px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/otac.isa-geek.net\/blog\/wp-content\/uploads\/2010\/01\/Screenshot-Create-New-Virtual-Disk.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-246\" class=\"size-thumbnail wp-image-246\" title=\"Create New Virtual Disk\" src=\"http:\/\/otac.isa-geek.net\/blog\/wp-content\/uploads\/2010\/01\/Screenshot-Create-New-Virtual-Disk-150x150.png\" alt=\"Create New Virtual Disk\" width=\"150\" height=\"150\" \/><\/a><p id=\"caption-attachment-246\" class=\"wp-caption-text\">Create New Virtual Disk<\/p><\/div>\n<p>This started up the wizard to create the virtual disk. I set the virtual disk to dynamically resize to a maximum of available the host machine drive space, and also accepted the default location and size for the virtual drive.<\/p>\n<div id=\"attachment_247\" style=\"width: 160px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/otac.isa-geek.net\/blog\/wp-content\/uploads\/2010\/01\/Screenshot-Create-New-Virtual-Disk-1.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-247\" class=\"size-thumbnail wp-image-247\" title=\"Create New Virtual Disk-Sizing\" src=\"http:\/\/otac.isa-geek.net\/blog\/wp-content\/uploads\/2010\/01\/Screenshot-Create-New-Virtual-Disk-1-150x150.png\" alt=\"Create New Virtual Disk-Sizing\" width=\"150\" height=\"150\" \/><\/a><p id=\"caption-attachment-247\" class=\"wp-caption-text\">Create New Virtual Disk-Sizing<\/p><\/div>\n<p>After confirming the drive specifications, I hit Finish to create the virtual drive.<\/p>\n<div id=\"attachment_248\" style=\"width: 160px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/otac.isa-geek.net\/blog\/wp-content\/uploads\/2010\/01\/Screenshot-Create-New-Virtual-Disk-2.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-248\" class=\"size-thumbnail wp-image-248\" title=\"Create New Virtual Disk-Sizing\" src=\"http:\/\/otac.isa-geek.net\/blog\/wp-content\/uploads\/2010\/01\/Screenshot-Create-New-Virtual-Disk-2-150x150.png\" alt=\"Create New Virtual Disk-Sizing\" width=\"150\" height=\"150\" \/><\/a><p id=\"caption-attachment-248\" class=\"wp-caption-text\">Create New Virtual Disk-Sizing<\/p><\/div>\n<p>Finally, I reviewed all details entered for the virtual machine, then hit Finish to begin the process of generating the virtual machine profile in Virtualbox.<\/p>\n<div id=\"attachment_249\" style=\"width: 160px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/otac.isa-geek.net\/blog\/wp-content\/uploads\/2010\/01\/Screenshot-Create-New-Virtual-Disk-3.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-249\" class=\"size-thumbnail wp-image-249\" title=\"Create New Virtual Disk-Confirm\" src=\"http:\/\/otac.isa-geek.net\/blog\/wp-content\/uploads\/2010\/01\/Screenshot-Create-New-Virtual-Disk-3-150x150.png\" alt=\"Create New Virtual Disk-Confirm\" width=\"150\" height=\"150\" \/><\/a><p id=\"caption-attachment-249\" class=\"wp-caption-text\">Create New Virtual Disk-Confirm<\/p><\/div>\n<p>The next step was to power on the virtual machine, and actually install Windows XP. I highlighted the WinXP profile in the Virtualbox manager, and clicked the Start button.<\/p>\n<div id=\"attachment_251\" style=\"width: 160px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/otac.isa-geek.net\/blog\/wp-content\/uploads\/2010\/01\/Screenshot-Sun-VirtualBox-WinXP.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-251\" class=\"size-thumbnail wp-image-251\" title=\"Sun VirtualBox-WinXP\" src=\"http:\/\/otac.isa-geek.net\/blog\/wp-content\/uploads\/2010\/01\/Screenshot-Sun-VirtualBox-WinXP-150x150.png\" alt=\"Sun VirtualBox-WinXP\" width=\"150\" height=\"150\" \/><\/a><p id=\"caption-attachment-251\" class=\"wp-caption-text\">Sun VirtualBox-WinXP<\/p><\/div>\n<p>This\u00a0 activated the WinXP VM, which for the first run, presented the profile to install the OS in the VM hard disk. Hitting Next, allowed the selection of the media source for the guest OS software (Windows XP); in this case, I chose the system CD\/DVD drive.<\/p>\n<table>\n<tbody>\n<tr>\n<td>\n<p><div id=\"attachment_252\" style=\"width: 160px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/otac.isa-geek.net\/blog\/wp-content\/uploads\/2010\/01\/Screenshot-First-Run-Wizard.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-252\" class=\"size-thumbnail wp-image-252\" title=\"First Run Wizard\" src=\"http:\/\/otac.isa-geek.net\/blog\/wp-content\/uploads\/2010\/01\/Screenshot-First-Run-Wizard-150x150.png\" alt=\"First Run Wizard\" width=\"150\" height=\"150\" \/><\/a><p id=\"caption-attachment-252\" class=\"wp-caption-text\">First Run Wizard<\/p><\/div><\/td>\n<td>\n<p><div id=\"attachment_253\" style=\"width: 160px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/otac.isa-geek.net\/blog\/wp-content\/uploads\/2010\/01\/Screenshot-First-Run-Wizard-1.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-253\" class=\"size-thumbnail wp-image-253\" title=\"First Run Wizard-Media Selection\" src=\"http:\/\/otac.isa-geek.net\/blog\/wp-content\/uploads\/2010\/01\/Screenshot-First-Run-Wizard-1-150x150.png\" alt=\"First Run Wizard-Media Selection\" width=\"150\" height=\"150\" \/><\/a><p id=\"caption-attachment-253\" class=\"wp-caption-text\">First Run Wizard-Media Selection<\/p><\/div><\/td>\n<td>\n<p><div id=\"attachment_254\" style=\"width: 160px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/otac.isa-geek.net\/blog\/wp-content\/uploads\/2010\/01\/Screenshot-First-Run-Wizard-2.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-254\" class=\"size-thumbnail wp-image-254\" title=\"First Run Wizard-Confirm\" src=\"http:\/\/otac.isa-geek.net\/blog\/wp-content\/uploads\/2010\/01\/Screenshot-First-Run-Wizard-2-150x150.png\" alt=\"First Run Wizard-Confirm\" width=\"150\" height=\"150\" \/><\/a><p id=\"caption-attachment-254\" class=\"wp-caption-text\">First Run Wizard-Confirm<\/p><\/div><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>After hitting Next and confirming the media source selection by clicking the Finish button in the first run wizard, the virtual machine detected the Windows XP CD already in the drive, and began the boot install process.<\/p>\n<div id=\"attachment_255\" style=\"width: 160px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/otac.isa-geek.net\/blog\/wp-content\/uploads\/2010\/01\/Screenshot-WinXP-Running-Sun-VirtualBox.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-255\" class=\"size-thumbnail wp-image-255\" title=\"WinXP Install - Sun VirtualBox\" src=\"http:\/\/otac.isa-geek.net\/blog\/wp-content\/uploads\/2010\/01\/Screenshot-WinXP-Running-Sun-VirtualBox-150x150.png\" alt=\"WinXP Install - Sun VirtualBox\" width=\"150\" height=\"150\" \/><\/a><p id=\"caption-attachment-255\" class=\"wp-caption-text\">WinXP Install - Sun VirtualBox<\/p><\/div>\n<p>On completion, the Windows setup process restarted the virtual machine, and allowed sign in using the user chosen during setup.<\/p>\n<div id=\"attachment_257\" style=\"width: 160px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/otac.isa-geek.net\/blog\/wp-content\/uploads\/2010\/01\/Screenshot-WinXP-Running-Sun-VirtualBox-2.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-257\" class=\"size-thumbnail wp-image-257\" title=\"Windows XP Running in Sun VirtualBox\" src=\"http:\/\/otac.isa-geek.net\/blog\/wp-content\/uploads\/2010\/01\/Screenshot-WinXP-Running-Sun-VirtualBox-2-150x150.png\" alt=\"Windows XP Running in Sun VirtualBox\" width=\"150\" height=\"150\" \/><\/a><p id=\"caption-attachment-257\" class=\"wp-caption-text\">Windows XP Running in Sun VirtualBox<\/p><\/div>\n<p>The real advantage of this approach to running Windows is that it reduces the need to set up dual-boot, as well as allowing the creation of different environments for specific functions or execution profiles. I expect to make use of VirtualBox quite a bit in my development and regression testing tasks in the future.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>As part of my ongoing application development work, I had occasion to install Sun VirtualBox 3.0 recently. For those who have not used VirtualBox before, it is a x86 virtualization product, which runs on a number of host operating systems. Since I already had the VM software available, it seemed like a worthwhile experiment to [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8,51,54,52,53],"tags":[],"class_list":["post-240","post","type-post","status-publish","format-standard","hentry","category-linux","category-operating-systems","category-sun-virtualbox","category-virtualization","category-windows"],"_links":{"self":[{"href":"https:\/\/otac.isa-geek.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/240","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/otac.isa-geek.net\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/otac.isa-geek.net\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/otac.isa-geek.net\/blog\/index.php?rest_route=\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/otac.isa-geek.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=240"}],"version-history":[{"count":3,"href":"https:\/\/otac.isa-geek.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/240\/revisions"}],"predecessor-version":[{"id":258,"href":"https:\/\/otac.isa-geek.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/240\/revisions\/258"}],"wp:attachment":[{"href":"https:\/\/otac.isa-geek.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=240"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/otac.isa-geek.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=240"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/otac.isa-geek.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=240"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}