cloning windows 7

Discussions related to using VirtualBox on Mac OS X hosts.
Post Reply
mick463
Posts: 26
Joined: 8. Aug 2009, 07:24
Primary OS: Mac OS X Leopard
VBox Version: OSE other
Guest OSses: Windows Server 2008

cloning windows 7

Post by mick463 »

Hi there i am trying to clone my windows 7 .vdi machine with the command
VBoxManage clonehd Windows 7.vdi Windows7.vdi
but i keep getting the error

Oracle VM VirtualBox Command Line Management Interface Version 3.2.12
(C) 2005-2010 Oracle Corporation
All rights reserved.

Usage:

VBoxManage clonehd <uuid>|<filename> <outputfile>
[--format VDI|VMDK|VHD|RAW|<other>]
[--variant Standard,Fixed,Split2G,Stream,ESX]
[--type normal|writethrough|immutable|shareable]
[--remember] [--existing]


Syntax error: Invalid parameter 'Windows7.vdi'
I tried the exact command but with windows server 2008 and it worked fine can some one please tell me what i am doing wrong Thank you in advance.
PS here is the server 2008 command that worked.

VBoxManage clonehd Server08.vdi Server2008.vdi
stefan.becker
Volunteer
Posts: 7639
Joined: 7. Jun 2007, 21:53

Re: cloning windows 7

Post by stefan.becker »

Search Forum for the Program VloneVDI. Best and fastest way to clone.
mick463
Posts: 26
Joined: 8. Aug 2009, 07:24
Primary OS: Mac OS X Leopard
VBox Version: OSE other
Guest OSses: Windows Server 2008

Re: cloning windows 7

Post by mick463 »

Thanks for the reply but isn't that for windows computers.I am using a mac with snow leopard.
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: cloning windows 7

Post by Sasquatch »

Get wine then. Or, do a better job at understanding command line parameters. They are separated by spaces. And what does you file contain? Yes, a space. It's failing on the name. And use absolute paths, not relative ones.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
mick463
Posts: 26
Joined: 8. Aug 2009, 07:24
Primary OS: Mac OS X Leopard
VBox Version: OSE other
Guest OSses: Windows Server 2008

Re: cloning windows 7

Post by mick463 »

I have tried it without a space and no luck and the server 2008 command worked without a hitch using this site

http://www.ianhoar.com/2010/05/05/how-t ... -mac-os-x/

I also read that wine dose not work properly maybe they have fixed that i will look.Also the server 2008 that worked when i put it on my win 7 comp lost its key and can not be re registered is this normal.
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: cloning windows 7

Post by Sasquatch »

For activation, see the Windows Guest section.
The clone simply needs tab completion. Or dump the UUID of the image you want to clone in it instead.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
ChipMcK
Volunteer
Posts: 1095
Joined: 20. May 2009, 02:17
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, OSX
Location: U S of A

Re: cloning windows 7

Post by ChipMcK »

That is a lot of work and prone to mishaps.
Get WineBottler http://winebottler.kronenberg.org/ for CloneVDI.exe, because they work very well/smooth.
Good Holidays!
mick463
Posts: 26
Joined: 8. Aug 2009, 07:24
Primary OS: Mac OS X Leopard
VBox Version: OSE other
Guest OSses: Windows Server 2008

Re: cloning windows 7

Post by mick463 »

For activation, see the Windows Guest section.
The clone simply needs tab completion. Or dump the UUID of the image you want to clone in it instead.
I am sorry for my ignorance but i copied the machine uuid the one next to the name of the server in the .xml file is this the correct one,if so this did not work.I also do not know what you mean buy needs tab completion could you please give me a detailed instruction on how to do this.
Thank you very much mick463.
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: cloning windows 7

Post by Sasquatch »

mick463 wrote:I am sorry for my ignorance but i copied the machine uuid the one next to the name of the server in the .xml file is this the correct one,if so this did not work.
That's the correct UUID, you need to use that UUID in the VBoxManage command to provide a hardware UUID for the clone, so Windows won't nag you about activation.
mick463 wrote:I also do not know what you mean buy needs tab completion could you please give me a detailed instruction on how to do this.
Tab completion is very easy. You open a terminal, type the first few characters of a unique name, then press tab. Voilà, the terminal fills in the rest. If it doesn't fill in the rest, it's because there are more than one completion possible (press tab twice to list them) or there is no completion at all (doesn't exist). For example, you type 'cd /Us' and then press tab, it will complete to 'cd /Users'. With that, you can no longer make typo's, because the terminal completes it for you.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Post Reply