Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 01 Jul 2015, 02:45
All times are UTC - 4
 Forum index » House Training » HOWTO ( Solutions )
HOWTO: Clone a VirtualBox 1.5.0 Virtual Disk
Moderators: Flash, Ian, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count_1  
Author Message

Joined: 18 Aug 2007
Posts: 23

PostPosted: Sat 15 Sep 2007, 12:02    Post_subject:  HOWTO: Clone a VirtualBox 1.5.0 Virtual Disk
Sub_title: VBoxManage clonevdi fails under Puppy (and other Linux OS's)

Here's what I want to do:

1. Create a basic installation of XP under VirtualBox.
2. Apply all patches and updates, plus apply basic apps like antivirus
3. Copy that installation to another disk file so I can have 2 different VM's, say, one for development and another for testing

Easy right? VBoxManage clonevdi is designed to do this. Only it doesn't work -- it's a well-documented bug.

Here's the easy fix:

cp disk1.vdi disk2.vdi
VBoxManage internalcommands setvdiuuid disk2.vdi

You could have figured out the first command -- just copy the disk file, right? But when you try to register the 2nd disk with VirtualBox, will complain that a disk with the same UUID is already registered. The second undocumented command will assign a new UUID to the disk file, and voila! You have a new copy of your disk!
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count_1  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » House Training » HOWTO ( Solutions )
Jump to:  

You cannot attach files in this forum
You can download files in this forum

Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0344s ][ Queries: 11 (0.0039s) ][ GZIP on ]