**Please Help** Upgrade WinXP 32 bit vers. to Win7 64 bit

Discussions related to using VirtualBox on Mac OS X hosts.
vbsandiego
Posts: 13
Joined: 5. Apr 2014, 11:57
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Ubuntu, Kali Linux, WinXP Pro, Win7 Pro
Location: SoCal

**Please Help** Upgrade WinXP 32 bit vers. to Win7 64 bit

Post by vbsandiego »

I'm running the latest version of VirtualBox (4.3.10 r93012) on my MacBook (10.9.2)

I'm just wondering if it's possible to upgrade an existing operating system in a virtual machine by using an install disc or .iso, instead of creating a new virtual machine and doing a clean install. I.E. I have a WinXP 32 bit vers. guest. I want to use my Win7 64 bit disc or .iso to upgrade it. Is it possible?

Or, what if I tried to upgrade WinXP 32 bit vers. to Win7 32 bit, then to Win7 64 bit. Is this possible?

Finally, what if I created a Win7 32 bit guest, could it be upgraded to Win7 64 bit using my disc or .iso to upgrade it?

I've searched everywhere for an answer, however I can't find anything besides a Microsoft page about installing and reinstalling windows in general.

It seems doable, but I am not quite sure how to set it up on VirtualBox.

Please help if you can!!

-vbsandiego
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: **Please Help** Upgrade WinXP 32 bit vers. to Win7 64 bi

Post by Perryg »

Upgrading xp 32-bit to Win 7 32-bit would be easily doable, but upgrading to 64-bit is going to be a nightmare, even if it is possible due to previous drivers and settings.

A clean install would be the proper way to go. You should be able to do an in-place upgrade *if* you have the original install disk for XP. During the original install of Windows it should ask you to provide the XP CD to verify the upgrade. ( admittedly I can not promise this will work due to MS changing thing )

You do need to consider that you will need to have hardware virtualization and that it be enabled in BIOS for 64-bit guests.
vbsandiego
Posts: 13
Joined: 5. Apr 2014, 11:57
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Ubuntu, Kali Linux, WinXP Pro, Win7 Pro
Location: SoCal

Re: **Please Help** Upgrade WinXP 32 bit vers. to Win7 64 bi

Post by vbsandiego »

Ok. Thank you. I understand.

What is the best way to use GParted to resize my virtual HDD now? I believe I'm to that phase of the process. I read your post and it's great, but I really need some instruction on how to use GParted specifically for what we're trying to accomplish.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: **Please Help** Upgrade WinXP 32 bit vers. to Win7 64 bi

Post by Perryg »

Gparted is fairly easy to understand once you are into the program. Mount the Gparted ISO to the Virtual CD in the settings of the guest storage section and boot the guest. Then use the partition manager and you will see the unused portion of the drive where you can adjust the primary partition to include the new space.

As always if this guest is important you should always back it up first in case of error.
vbsandiego
Posts: 13
Joined: 5. Apr 2014, 11:57
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Ubuntu, Kali Linux, WinXP Pro, Win7 Pro
Location: SoCal

Re: **Please Help** Upgrade WinXP 32 bit vers. to Win7 64 bi

Post by vbsandiego »

Ok. I did not need to use GParted. It seems like the command line did the job.

Here is my overall command:

no-name:~ username$ VBoxManage modifyhd VirtualBox\ VMs/Windows\ XP/Windows\ XP.vhd --resize 25600

Result of the command:

0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%


Once I reopened VirtualBox Manager it showed the OS now having 25.00 GB, before it only had 10.00 GB. Which makes sense because I used the command --resize 25600
resize value..
resize value..
Screen Shot 2014-04-05 at 1.47.45 PM.png (14.83 KiB) Viewed 3639 times
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: **Please Help** Upgrade WinXP 32 bit vers. to Win7 64 bi

Post by Perryg »

Yeah but look at the size inside the guest. All VirtualBox did was make the drive size bigger. It has no way to extend the partition. That is what Gparted does.
vbsandiego
Posts: 13
Joined: 5. Apr 2014, 11:57
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Ubuntu, Kali Linux, WinXP Pro, Win7 Pro
Location: SoCal

Re: **Please Help** Upgrade WinXP 32 bit vers. to Win7 64 bi

Post by vbsandiego »

How do I do that then? How do I extend it using GParted? I'm not super familiar with GParted. When I open it, all I see is 25.00 GB of unallocated space. What options do I select? Etc?
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: **Please Help** Upgrade WinXP 32 bit vers. to Win7 64 bi

Post by Perryg »

Strange. I guess it may be because you are using VHD instead of VDI, although I that seems odd that the drive would show 100% unallocated. We only use VDI here for the most part so you will need to wait for someone that uses VHD or convert the guest to VDI.
vbsandiego
Posts: 13
Joined: 5. Apr 2014, 11:57
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Ubuntu, Kali Linux, WinXP Pro, Win7 Pro
Location: SoCal

Re: **Please Help** Upgrade WinXP 32 bit vers. to Win7 64 bi

Post by vbsandiego »

Interesting.. I can convert to .vdi? Is that difficult? Are there benefits?

If so, how do I do that?
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: **Please Help** Upgrade WinXP 32 bit vers. to Win7 64 bi

Post by Perryg »

Code: Select all

VBoxManage clonehd  <uuid|inutfile> <uuid|outputfile>
                    [--format VDI|VMDK|VHD|RAW|<other>]
                    [--variant Standard,Fixed,Split2G,Stream,ESX]
                    [--existing]
But it may be easier to use Dons CloneVDI Tool
The only thing is you would need to install Wine on the host since it is a Windows program
vbsandiego
Posts: 13
Joined: 5. Apr 2014, 11:57
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Ubuntu, Kali Linux, WinXP Pro, Win7 Pro
Location: SoCal

Re: **Please Help** Upgrade WinXP 32 bit vers. to Win7 64 bi

Post by vbsandiego »

Ok.

What are the benefits to converting to .vdi?

Anything concerning graphics? Direct X issues? etc?
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: just about all that run

Re: **Please Help** Upgrade WinXP 32 bit vers. to Win7 64 bi

Post by loukingjr »

I thought I would add there is no way to directly upgrade XP to 7 without losing all the programs and data that are installed in XP. In order to preserve all the programs and data you would first have to update XP to Vista, then upgrade Vista to 7. There is also no real need to switch to Windows 7 64bit unless you wanted to use more than 4GB of ram in the guest which certainly isn't necessary for most people.

If you have programs on XP you really want to use just keep your XP guest and do a clean install of Windows 7 as a new guest.

good luck.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
vbsandiego
Posts: 13
Joined: 5. Apr 2014, 11:57
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Ubuntu, Kali Linux, WinXP Pro, Win7 Pro
Location: SoCal

Re: **Please Help** Upgrade WinXP 32 bit vers. to Win7 64 bi

Post by vbsandiego »

loukingjr wrote:I thought I would add there is no way to directly upgrade XP to 7 without losing all the programs and data that are installed in XP. In order to preserve all the programs and data you would first have to update XP to Vista, then upgrade Vista to 7. There is also no real need to switch to Windows 7 64bit unless you wanted to use more than 4GB of ram in the guest which certainly isn't necessary for most people.

If you have programs on XP you really want to use just keep your XP guest and do a clean install of Windows 7 as a new guest.

good luck.
I see.

Is there a way to convert what kind of controller I have? Much like converting a .vhd to a .vdi?
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: just about all that run

Re: **Please Help** Upgrade WinXP 32 bit vers. to Win7 64 bi

Post by loukingjr »

not sure what you mean by "convert" but you can move a .vdi to a different controller. I don't remember if XP supports SATA but Windows 7 and up do.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
vbsandiego
Posts: 13
Joined: 5. Apr 2014, 11:57
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Ubuntu, Kali Linux, WinXP Pro, Win7 Pro
Location: SoCal

Re: **Please Help** Upgrade WinXP 32 bit vers. to Win7 64 bi

Post by vbsandiego »

loukingjr wrote:not sure what you mean by "convert" but you can move a .vdi to a different controller. I don't remember if XP supports SATA but Windows 7 and up do.
Ah. I want my controller to be SATA versus IDE. I have managed to get Win7 Pro 64 bit. I'll post details later.

Can I change my controller to SATA versus IDE?
Post Reply