Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / Applications / Virtual PC / June 2005



Tip: Looking for answers? Try searching our database.

Put disk back into VPC folder????????

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Robin Jackson - 27 Jun 2005 11:16 GMT
Hi

I don't know if this is going to make sense but here goes.

My best working VPC container has its 'disk' external i.e. As a separate
file.

It happened when I was trying to compact it some time ago.

The question is "is it possible to put the 'disk' back into the VPC
container' and if so HOW?

Cheers.

Robin
Tony Kavadias - 27 Jun 2005 13:27 GMT
It's a little involved, but it can be done.

1) Shut down all your virtual machines and quit Virtual PC.  DO NOT
  HAVE THE VIRTUAL MACHINES USE A SAVED STATE OR YOU WILL CORRUPT
  THE DISK IMAGES.

2) Locate the hard disk file package (.vhdp) and the virtual machine
  file package (.vpc7) in the Finder.

3) Rename the hard disk file package "Disk1.vhdp".

4) Show the contents of the virtual machine file package (.vpc7).

5) Move the hard disk file package into the virtual machine file
  package at the root directory of the package.

6) Open the file "Configuration.plist" with a text editor or Property
  List Editor and edit the values of the key "IDE/Drive/0/Location"
  as follows:

  a) remove the "_CFURLAliasData" key and its value (in its <data>
     tag) since the alias will no longer be correct when this
     edit has been finished.

  b) change the value of the key "_CFURLString" to the FULL ABSOLUTE
     PATH of the location of the hard disk file package "Disk1.vhdp".
     To get this path, you can open a Terminal session, drag the
     "Disk1.vhdp" package icon to Terminal and then copy the path
     Terminal makes for it, stripping any '\' characters from the
     path.

     Or, using the Finder, execute the "Get Info..." command on the
     "Disk1.vhdp" icon and copy the path from the Where field in the
     General panel of the Get Info window.

7) Save changes to "Configuration.plist" in your editor.

8) Restart Virtual PC and check that the virtual machine has a reference
  to "Disk1.vhdp" as its Drive 1 (C: drive) setting.

9) Boot the PC to check that Virtual PC is able to boot from
  "Disk1.vhdp".

10) When all is OK, you can close the Finder windows for both the hard
   disk and virtual machine file packages.

The same could be done for Drive 2 or 3 hard disk file packages using
the "_CFURLString" key of the "IDE/Drive/n/Location" key, where n = 1 or
2 corresponding to Drive 2 or 3 respectively.

> Hi
>
[quoted text clipped - 11 lines]
>
> Robin

Signature

-- tonza.

Robin Jackson - 27 Jun 2005 14:53 GMT
Core blimey.

I see what you mean about involved.........

I may just keep it as it is.   :o)

Many thanks for your response though, really appreciated.

Robin

> It's a little involved, but it can be done.
>
[quoted text clipped - 61 lines]
>>
>> Robin
Unseelie - 28 Jun 2005 19:42 GMT
There's a much easier way, at least in Tiger. Not sure if this works
with earlier versions of the Mac OS.

Prep: Back up all of the files you're working with first, just to be
safe.

1) Shut downwindows in your VM (not save state)... commit or discard
any undo drives if you're using them.
2) Quit Virtual PC.
3) Locate the drive you want to move into the VPC document.
4) Open the Virtual PC List folder and locate the VPC document you wish
to move the drive into.
5) Right click on the Virtual PC document and 'Show Package Contents'
6) Drag the drive image you want to use into the package. Do not close
the package yet.
7) Launch Virtual PC
8) Open the PC settings for the VM, and click on 'Drive 1'
9) Drag the drive image (the one you dragged into the package) to the
entry field for the hard drive document.
10) Click OK

That should do it. I just did this myself, so I know it works.
Robin Jackson - 28 Jun 2005 21:54 GMT
Hi

Thanks for the help but it does not to appear to work under 10.3.9.

I cannot drag the Disk to the Package, I can drag to the icon Store folder
in the package folder but not the package folder itself.

Unless I am doing something wrong of course.

Robin

> There's a much easier way, at least in Tiger. Not sure if this works
> with earlier versions of the Mac OS.
[quoted text clipped - 18 lines]
>
> That should do it. I just did this myself, so I know it works.
Unseelie - 29 Jun 2005 21:46 GMT
If that doesn't work in 10.3.9, you'd have to resort to terminal to mv
the file into the package...

'mv <path to file to be moved> <path to location to move it to>'

example:
>mv /Users/Admin/Desktop/test.txt /Users/Admin/Documents/Virtual\ PC\ List/DOS.vpc7

Once you do that, you would still follow steps 7 - 9 of the previous
post...
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.