On Fri, Mar 21, 2014 at 04:31:11PM -0400, Harry Putnam wrote:
> I copied a vm to a new location.  Then tried to so import a drive.  It
> will not allow it, because it has the same ID number as an existing
> drive.

Which is why I said you need to first remove the drive from existing
guests, and then ultimately from the virtual media manager. 

> 
> So I guess I could disown it at the original vm but then there is no
> gain in drives.
> 

What do you mean there is no gain in drives? My understanding is that
you simply want to move a guest including drives from one location on
your host to somewhere else. If this isn't what you want to do, then
maybe you should start by stating what you want to accomplish.

> I don't see a way, using the 'add hdd' dialog.  No chance to create on
> at my address of choice is presented.
> 

When you add an hdd, it asks you to browse for the file. Browse to the
drive image in question, and it should just be added for you. Perhaps
you need to explain in detail what you're doing, what the results are,
and what you expect the results to be if the two differ.

> What I'd really like to do is create a couple more discs at a new
> location but keep the vm and several disks at another.... the original
> location.
> 

No problem. Go into the virtualbox GUI. Select the machine you want to
work with. Select settings from the machine menu. Navigate to the
storage tab. Under storage, select the controller under which you want
to add the drive (I.E. "SATA Controller"). I use my applications key
on my keyboard to bring up the context menu for the controller in
question, for mouse users, I believe right clicking on the controller
would do the same thing. From the context menu that comes up, select
"Add Hard Disk." When you select that, select the option to create a
new disk. Follow the steps to create a new disk. Yes, the new disk
will be created in the same location as the guest. Once the disk is
created, release it from the guest and from the media manager. Move
the file containing the new disk to where you want it to be. Follow
the steps I gave above to add a new hdd. When you get to create drive,
or choose existing drive, select to choose existing drive. Browse for
the file from there, it should be straight forward. One tip, when you
move the drive, and before you reimport it from the new location, feel
free to rename it to whatever you want, instead of just having it be
called drive1, or however vbox names it. Yes, this is a bit
tedious. It isn't that bad when using vboxmanage, since you can create
the drive without also registering it. That means you can then move it
right after creation, and then just import from the new location.

> Again, it appears that removing drives from the vm, and pulling them
> in from a new address does not present a chance to actually add to the
> number of drives on the original vm.

See above.

> 
> You mentioned having done similar things from the command line.   I'd
> be happy to do this from the command line.   I'm a linux hand so no
> stranger to command line.
> 
> I've never studied up on the proper commands with VB so would need
> some coaching on that.  But first:
> 

Start with reading chapter 8 of the virtualbox manual, it tells you
everything you need to know.

> Is it possible to create a HDD at a different address than the
> 'default' shown in *.xml and then add it to an existing VM.  

Not as far as I know.

> The method you described involved dropping the drive from the existing
> address vm OS.  So, as I said... there would be no gain.

Again, see above. You can add as many new drives as you want at
different locations using that procedure. Tedious, but it does
work. Learn to use vboxmanage if you want it to be less tedious.

> 
> The end result I've imagined would be hdd at more than one address.

Ok, that's different than my understanding of what you wanted. I know
virtualbox supports sharing one drive between many guests. I never
needed to use that feature though, so am not sure if you could move
such a drive around as well.

Greg


-- 
web site: http://www.gregn.net
gpg public key: http://www.gregn.net/pubkey.asc
skype: gregn1
(authorization required, add me to your contacts list first)

--
Free domains: http://www.eu.org/ or mail dns-mana...@eu.org

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
VBox-users-community mailing list
VBox-users-community@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vbox-users-community
_______________________________________________
Unsubscribe:  
mailto:vbox-users-community-requ...@lists.sourceforge.net?subject=unsubscribe

Reply via email to