LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Settings for VirtualBox holding winxp. (https://www.linuxquestions.org/questions/slackware-14/settings-for-virtualbox-holding-winxp-754811/)

glore2002 09-13-2009 09:15 AM

Settings for VirtualBox holding winxp.
 
What are your settings in virtual box when using it as a virtual machine for winxp? I mean: Amount of ram, video and hard disc.

My settings are: RAM: 1024Mb; Video:64Mb; HD: 10Gb.

Thanks for your help!

catkin 09-13-2009 10:49 AM

  • C: 4 GB .vdi file (so it can be backed up to DVD).
  • Swap: 300 MB .vdi file (split out from the C: .vdi file so it is not backed up).
  • D: is samba mounted from host and contains all data including most of the user's profile (so user data can be accessed from host and guest and is backed up during host backups).

Code:

<?xml version="1.0"?>
<VirtualBox xmlns="http://www.innotek.de/VirtualBox-settings" version="1.7-linux">
  <Machine OSType="WindowsXP" uuid="{defc8b91-7d80-4d33-2cac-b6d229b187fc}" name="WXP" lastStateChange="2009-09-13T15:26:25Z">
    <ExtraData>
      <ExtraDataItem name="GUI/SaveMountedAtRuntime" value="no"/>
      <ExtraDataItem name="GUI/LastWindowPostion" value="4,19,1272,1002"/>
      <ExtraDataItem name="GUI/Fullscreen" value="off"/>
      <ExtraDataItem name="GUI/Seamless" value="off"/>
      <ExtraDataItem name="GUI/AutoresizeGuest" value="on"/>
      <ExtraDataItem name="GUI/LastCloseAction" value="powerOff"/>
      <ExtraDataItem name="GUI/MiniToolBarAutoHide" value="on"/>
      <ExtraDataItem name="GUI/ShowMiniToolBar" value="no"/>
      <ExtraDataItem name="GUI/MiniToolBarAlignment" value="bottom"/>
    </ExtraData>
    <Hardware>
      <CPU count="2">
        <HardwareVirtEx enabled="true"/>
        <HardwareVirtExNestedPaging enabled="true"/>
        <PAE enabled="true"/>
      </CPU>
      <Memory RAMSize="1003"/>
      <Boot>
        <Order position="1" device="HardDisk"/>
      </Boot>
      <Display VRAMSize="128" monitorCount="1" accelerate3D="false"/>
      <RemoteDisplay enabled="false" port="3389" authType="Null" authTimeout="5000"/>
      <BIOS>
        <ACPI enabled="true"/>
        <IOAPIC enabled="true"/>
        <Logo fadeIn="true" fadeOut="true" displayTime="0"/>
        <BootMenu mode="MessageAndMenu"/>
        <TimeOffset value="0"/>
        <PXEDebug enabled="false"/>
      </BIOS>
      <DVDDrive passthrough="false"/>
      <FloppyDrive enabled="true"/>
      <USBController enabled="true" enabledEhci="true">
        <DeviceFilter name="Prolific Technology Inc. USB Mass Storage Device [0100]" active="true" vendorId="067b" productId="2517" revision="0100" manufacturer="" product="" serialNumber="" port="" remote="no"/>
        <DeviceFilter name="USB Mass Storage [0100]" active="true" vendorId="04cb" productId="0177" revision="0100" manufacturer="" product="" serialNumber="" port="" remote="no"/>
        <DeviceFilter name="Canon,Inc. MF5750" active="true" vendorId="04a9" productId="265e" revision="0000" manufacturer="" product="" serialNumber="" port="" remote="no"/>
        <DeviceFilter name="ISSCEDRBTA [0373]" active="true" vendorId="1131" productId="1004" revision="0373" manufacturer="" product="" serialNumber="" port="" remote="no"/>
      </USBController>
      <Network>
        <Adapter slot="0" enabled="true" MACAddress="080027764976" cable="true" speed="0" type="Am79C973">
          <BridgedInterface name="tap0"/>
        </Adapter>
        <Adapter slot="1" enabled="false" MACAddress="080027A8E2AF" cable="true" speed="0" type="Am79C973"/>
        <Adapter slot="2" enabled="false" MACAddress="080027E9B2DB" cable="true" speed="0" type="Am79C973"/>
        <Adapter slot="3" enabled="false" MACAddress="0800279055C3" cable="true" speed="0" type="Am79C973"/>
        <Adapter slot="4" enabled="false" MACAddress="08002727CB4C" cable="true" speed="0" type="Am79C973"/>
        <Adapter slot="5" enabled="false" MACAddress="0800271E90BC" cable="true" speed="0" type="Am79C973"/>
        <Adapter slot="6" enabled="false" MACAddress="080027AB933B" cable="true" speed="0" type="Am79C973"/>
        <Adapter slot="7" enabled="false" MACAddress="0800278B74A7" cable="true" speed="0" type="Am79C973"/>
      </Network>
      <UART>
        <Port slot="0" enabled="false" IOBase="0x3f8" IRQ="4" hostMode="Disconnected"/>
        <Port slot="1" enabled="false" IOBase="0x3f8" IRQ="4" hostMode="Disconnected"/>
      </UART>
      <LPT>
        <Port slot="0" enabled="false" IOBase="0x378" IRQ="4"/>
        <Port slot="1" enabled="false" IOBase="0x378" IRQ="4"/>
      </LPT>
      <AudioAdapter controller="AC97" driver="Pulse" enabled="false"/>
      <SharedFolders/>
      <Clipboard mode="Bidirectional"/>
      <Guest memoryBalloonSize="0" statisticsUpdateInterval="0"/>
      <GuestProperties>
        <GuestProperty name="/VirtualBox/GuestInfo/OS/Product" value="Windows XP Professional" timestamp="1252855220697392000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestInfo/OS/Release" value="5.1.2600" timestamp="1252855220715308000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestInfo/OS/ServicePack" value="2" timestamp="1252855220734995000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestAdd/InstallDir" value="C:/Program Files/Sun/VirtualBox Guest Additions" timestamp="1252855220746164000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestAdd/Revision" value="52128" timestamp="1252855220746281000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestAdd/Version" value="3.0.6" timestamp="1252855220746606000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxControl.exe" value="3.0.6r52128" timestamp="1252855220749286000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxHook.dll" value="3.0.6r52128" timestamp="1252855220757033000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxDisp.dll" value="3.0.6r52128" timestamp="1252855220759105000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxMRXNP.dll" value="3.0.6r52128" timestamp="1252855220761324000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxService.exe" value="3.0.6r52128" timestamp="1252855220761954000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxTray.exe" value="3.0.6r52128" timestamp="1252855220764697000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxGuest.sys" value="3.0.6r52128" timestamp="1252855220785807000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxMouse.sys" value="3.0.6r52128" timestamp="1252855220787840000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxSF.sys" value="3.0.6r52128" timestamp="1252855220789979000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxVideo.sys" value="3.0.6r52128" timestamp="1252855220797812000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestInfo/OS/LoggedInUsers" value="0" timestamp="1252855580998936000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestInfo/OS/NoLoggedInUsers" value="true" timestamp="1252855580999022000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxGINA.dll" value="3.0.6r52128" timestamp="1252855220766863000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxOGLarrayspu.dll" value="3.0.6r52128" timestamp="1252855220769059000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxOGLcrutil.dll" value="3.0.6r52128" timestamp="1252855220771546000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxOGLerrorspu.dll" value="3.0.6r52128" timestamp="1252855220774321000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxOGLpackspu.dll" value="3.0.6r52128" timestamp="1252855220776749000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxOGLpassthroughspu.dll" value="3.0.6r52128" timestamp="1252855220778969000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxOGLfeedbackspu.dll" value="3.0.6r52128" timestamp="1252855220781111000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxOGL.dll" value="3.0.6r52128" timestamp="1252855220783271000" flags=""/>
        <GuestProperty name="/VirtualBox/HostInfo/GUI/LanguageID" value="C" timestamp="1252855028883396000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestInfo/Net/Count" value="0" timestamp="1252855580999679000" flags=""/>
      </GuestProperties>
    </Hardware>
    <StorageControllers>
      <StorageController name="IDE" type="PIIX4" PortCount="2">
        <AttachedDevice type="HardDisk" port="0" device="0">
          <Image uuid="{699a9aa3-7991-44ca-47bb-a1a911e1fddc}"/>
        </AttachedDevice>
        <AttachedDevice type="HardDisk" port="0" device="1">
          <Image uuid="{7962d20c-9400-4aa0-ffb8-761e09f63343}"/>
        </AttachedDevice>
      </StorageController>
    </StorageControllers>
  </Machine>
</VirtualBox>


kirukan 09-13-2009 10:52 AM

what is your host hardware specification? and what performance you are expecting for guest operating system?

Mark Pettit 09-13-2009 11:11 AM

@catkin : 300 MB swap file on separate drive! that's a jolly good idea. can you explain how you go about setting that from a Windows X perspective ? clearly it's easy to create a disk of whatever size you want under VBox, but the process you use to make swap (under Windows XP) go on to it is not so obvious.

catkin 09-13-2009 11:31 AM

Quote:

Originally Posted by Mark Pettit (Post 3681080)
@catkin : 300 MB swap file on separate drive! that's a jolly good idea. can you explain how you go about setting that from a Windows X perspective ? clearly it's easy to create a disk of whatever size you want under VBox, but the process you use to make swap (under Windows XP) go on to it is not so obvious.

Something like this. Used VirtualBox to set up an IDE 0 slave (1.75 GB but have never used anything like that -- was just to see how much was actually required). In WXP, Used Disk Manager to format the virtual volume on IDE 0 slave and use it as Z:. It will be almost full, as far as WXP is concerned. To avoid constant useless reminders:
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoLowDiskSpaceChecks"=dword:00000001
Code:

"Control Panel"->System->Advanced->Advanced
    Virtual memory
        Change
                    Z: [PAGEFILE]
                            Initial size (MB): 1750
                            Maximum size (MB): 1750
                        C:
                            No paging file
                        Set



All times are GMT -5. The time now is 01:40 AM.