• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

How to dual boot and run virtual machine.

Crow550

Platinum Member
Alright I installed Ubuntu 8.10 and plan to partition the hard drive and make an NTFS partition for XP. For those few apps and games.

However apps can be ran in Ubuntu with a Virtual Machine and 3D games can't? Right?

So how do set up the XP partition as a virtual machine. I found a guide somewhere that explained this but lost it.

Using a virtual machine in Ubuntu would be useful for those few apps and then booting into XP for those few games, unless there's a Virtual Machine that can do 3D gaming.

Which is the holy grail of free Virtual Machines?

Thanks!


Yes I know about Wine and Wine-Doors and PlayOnLinux and such.
 
I'm pretty sure in order to dual boot Ubuntu and XP you need to install XP first. From there you can setup your virtual machines, but you don't setup a whole partition as a virtual machine. If I understand what you are trying to do correctly you will have two partitions one for XP one for Ibex. Install Xp on the one partition first. Then install Ibex on the second partition. From here make sure your bootloader works correctly and that you can get into both OS's.

There are different programs that allow you to setup VM's, personally I've had the best luck with Virtual box when setting up VM's so that's the one I would suggest. To get your XP VM working log into Ubuntu and DL the VirtualBox package and install. Once you have it setup the automated process is pretty straight forward in getting it setup. You don't use a partition you use a virtual disc that the VM is installed on. I wouldn't say vbox is the holy grail but it's free and it has worked the best for me out of the free offerings. Just make sure you install the guest additions once you get it setup, things work much better with it installed.
 
Originally posted by: MrChad
http://www.vmware.com/support/.../ws_disk_dualboot.html

The most difficult thing you'll need to do is set up multiple hardware profiles on your XP installation. When XP is run within a virtual machine, its hardware will be virtualized and thus different from the native hardware that exists when you boot natively into the OS.


I assume I would also have to make a pacific user account in XP for Ubuntu that doesn't load any software firewall or antivirus or video card drivers or anything in the background on that profile as it may cause problems in a Virtual Machine in Ubuntu, and another User Account would be needed if booting to XP. So for that pacific User Name couldn't I setup a separate hardware profile for the Virtual Machine?

Am I correct on all this? So a User Account set on Limited when loading in XP and an admin account and a account for when use in Virtual Machine.
 
Originally posted by: mc866
I'm pretty sure in order to dual boot Ubuntu and XP you need to install XP first. From there you can setup your virtual machines, but you don't setup a whole partition as a virtual machine. If I understand what you are trying to do correctly you will have two partitions one for XP one for Ibex. Install Xp on the one partition first. Then install Ibex on the second partition. From here make sure your bootloader works correctly and that you can get into both OS's.

There are different programs that allow you to setup VM's, personally I've had the best luck with Virtual box when setting up VM's so that's the one I would suggest. To get your XP VM working log into Ubuntu and DL the VirtualBox package and install. Once you have it setup the automated process is pretty straight forward in getting it setup. You don't use a partition you use a virtual disc that the VM is installed on. I wouldn't say vbox is the holy grail but it's free and it has worked the best for me out of the free offerings. Just make sure you install the guest additions once you get it setup, things work much better with it installed.

I don't get why installing either first would matter? Can't I just use Gparted to shrink the partition and make one that would become an NTFS partition for XP, then install XP on it and setup a boot loader. I mean both XP and Ubuntu have a boot loader for multi-OSes right?

 
Not positive but everything I've read about dual booting xp and ubuntu stated install XP first, I know Vista has a built in boot loader but I don't think XP does.
 
Originally posted by: Crow550
Originally posted by: MrChad
http://www.vmware.com/support/.../ws_disk_dualboot.html

The most difficult thing you'll need to do is set up multiple hardware profiles on your XP installation. When XP is run within a virtual machine, its hardware will be virtualized and thus different from the native hardware that exists when you boot natively into the OS.


I assume I would also have to make a pacific user account in XP for Ubuntu that doesn't load any software firewall or antivirus or video card drivers or anything in the background on that profile as it may cause problems in a Virtual Machine in Ubuntu, and another User Account would be needed if booting to XP. So for that pacific User Name couldn't I setup a separate hardware profile for the Virtual Machine?

Am I correct on all this? So a User Account set on Limited when loading in XP and an admin account and a account for when use in Virtual Machine.

A separate user account it not necessary, and besides, firewall and anti-viruses are not usually tied to a specific user profile. Your firewall and anti-virus won't affect anything in Ubuntu, b/c your XP VM isn't even aware of Ubuntu (that's the point of virtualization).

As for video card drivers, that is a concern and the reason for separate HW profiles. When running in a VM, XP's hardware will be virtualized. You'll install the drivers provided by VMWare Tools. When running natively (dual boot mode), you'll install the drivers for your native hardware. Because of this, separate HW profiles are needed.
 
Originally posted by: mc866
Not positive but everything I've read about dual booting xp and ubuntu stated install XP first, I know Vista has a built in boot loader but I don't think XP does.

XP does, but Windows boot loaders tend to trample on anything that Linux installs. As a result it's recommended to install Windows first.
 
Originally posted by: MrChad
Originally posted by: Crow550
Originally posted by: MrChad
http://www.vmware.com/support/.../ws_disk_dualboot.html

The most difficult thing you'll need to do is set up multiple hardware profiles on your XP installation. When XP is run within a virtual machine, its hardware will be virtualized and thus different from the native hardware that exists when you boot natively into the OS.


I assume I would also have to make a pacific user account in XP for Ubuntu that doesn't load any software firewall or antivirus or video card drivers or anything in the background on that profile as it may cause problems in a Virtual Machine in Ubuntu, and another User Account would be needed if booting to XP. So for that pacific User Name couldn't I setup a separate hardware profile for the Virtual Machine?

Am I correct on all this? So a User Account set on Limited when loading in XP and an admin account and a account for when use in Virtual Machine.

A separate user account it not necessary, and besides, firewall and anti-viruses are not usually tied to a specific user profile. Your firewall and anti-virus won't affect anything in Ubuntu, b/c your XP VM isn't even aware of Ubuntu (that's the point of virtualization).

As for video card drivers, that is a concern and the reason for separate HW profiles. When running in a VM, XP's hardware will be virtualized. You'll install the drivers provided by VMWare Tools. When running natively (dual boot mode), you'll install the drivers for your native hardware. Because of this, separate HW profiles are needed.



Well wouldn't the firewall and anti-virus slow down the Virtualized XP and be pointless since it's running from Ubuntu, And any other pointless things running in the background like spyware scanners.

So making a pacific username that doesn't load anything in the background of XP be better and faster?

Since you can run like Avast for linux in ubuntu and Ubuntu automatically closes all ports so a firewall would be useless.


Am I right? I'm kinda new to this.


I decided to go with Virtual Box, unless theres another one that's easier. So I will install XP and make another hardware profile and then load up Virtual box in Ubuntu and it should let me select the partition to virtualize?

On hardware profiles: http://www.vmware.com/support/...hardware_profiles.html


So far so good?
 
Alright....

So installed XP on it's own partition and fixed GRUB so I can dual boot XP and Ubuntu.

Made a copy of the hardware profile and named it.

Now how the heck do I virtualize XP in Ubuntu?

Currently trying out VirtualBox OSE.

Any other free Virtual Machines I should use?

VMWare is payware or the free version is crippleware?
 
Here is a decent guide on how to install Windows in Ubuntu, not sure how up to date it is but VirtualBox is pretty straight forward once you get an idea of how it works.
 
Thanks, But I don't need to know how to install XP in Ubuntu. I need to know how get XP from a partition already made for dual booting to work with a Virtual Machine in Ubuntu. So that Windows apps that can't be ran with Wine can be ran in Ubuntu without having to reboot.
 
You dont need to partition your hard disk for virtualization like you would for a dual boot. The virtual machine's hard disk is just a file on the pc. The virtual machine runs on top of your existing OS. You would install ubuntu(or windows) then install the vmware software, then your other OS inside of that.
 
Yeah but games won't run in a VM or a free VM.

And if games do work, wouldn't they run slower?

So wouldn't it be better to dual boot XP and then use the XP partition for a Virtual Machine in Ubuntu?
 
Back
Top