After a few minutes of goggling, I realized that I have to create a .vmdk file that will represent a connection to my external hard drive and then add it to my guest OS container.
So, here is a step-by-step guide about how to add a physical HDD or SSD to your guest OS under Mac OS X 10.8 (should be work fine on 10.7 and 10.6 I suppose):
- First of all we should to figure out our hard drive name:
- launch Disk Utility (select Finder, click on the Go menu, select Utilities, launch Disk Utility.app)
- select your hard drive and press Info button on the top-left.
- remember Disk Identifier specified in the Information window ("disk1" in my case).
- Fire up Terminal.app (it is also located in the Utilities folder)
- Change current directory in Terminal to the WMware.app Contents/Library folder (you can simply copy and paste the following line: cd "/Applications/VMware Fusion.app/Contents/Library/")
- Now we should create a .vmdk file that will point to our external hard drive:
- paste the following line into the terminal (change disk1 to the disk name you've found in the step 1):
./vmware-rawdiskCreator create /dev/disk1 fullDevice ~/external-hdd ide - This will create a new external-hdd.vmdk file in your home folder.
- OK, we're almost done. Now let's find our VMware guest os container and add to it just created link to our hard drive.
- open Finder and go to a folder where your virtual machines are located. (Documents › Virtual Machines in my case)
- do a right click on desired Virtual Machine to display a pop-up menu, select "Show Package Contents" this will allows us to view a directory with all corresponding files to this VM.
- move or copy external-hdd.vmdk from your home folder into this one
- do a right click on a file named like current VM with .vmx extension, select Open With › TextEdit
- scroll to the end of file, add following lines:
ide1:1.present = "TRUE"
ide1:1.fileName = "external-hdd.vmdk" - save and quit
- That's it, now you can launch VM with attached external HDD or SDD!
If you know easiest way to do the same task, share it in the comments.
Nice writeup!
ReplyDeleteMy external USB drive has 4 partitions, only one of which I'm trying to use to boot my ML VM guest. At first I tried just adding the one partition, but Disk Utility couldn't set the Startup Disk (could not bless). So I went back and followed your instructions more closely, and now all 4 partitions are available and I can choose the Startup Disk.
I am prompted for my password every time - 'VMWare Fusion requires administrative privileges for accessing Boot Camp disks'. And when I start the VM the partitions are unmounted from my host.
Works for me!
thanks,
chris
Awesome Jack!
ReplyDeleteI had my old MBP HDD running externally that already had a very limited partition of Win7x64 through Bootcamp and my older Snow Leopard OSX, and was using the docked Bootcamp section with VMWare Fusion through my new MBPr Mountain Lion.
I needed to desperatly expand the Windows partition so I made a WinClone copy of the Win7x64 section, removed the external Bootcamp partition and Snow Leopard through disc tools within OSX Mountain Lion, reinstalled the Win7 through WinClone but could not get VMWare Fusion to recognize the external OS.
After searching for some time, I finally stumbled on your writeup and it set me straight so now everything is working as it should.
Thank you for making my day and for the fantastic writeup!
//Mark
I successfully added a hard drive to a Win7 Guest OS and used it for several days with a video server app. After time the virtual image grew to around 400GB and eventually stopped the system from working. Did I miss something in the install?
ReplyDeleteThanks,
John
Worked well I'm writing a shell script to do this all for me. I will post it when it's done. You will have to unmount the disk in disk utility before vmware will get access to it. You can fix the issue with have to type your password everytime I believe by doing a chown "youruser" on the rawdisk.vmdk file that you create.
ReplyDeleteStill trying to get this to work. I checked the ownership of the externaldisk.vmdk and it shows that the admin user is the owner ls -al (admin:staff) - Were you able to get this to work without the admin prompt popping up every time you boot? In a VMWARE post someone states you can actually disable the prompt but I have not figured out how. Any input would help thanks!
Deletehttps://communities.vmware.com/message/2280205
NM I found it. Menu: Virtual Machine: Settings: Advanced: Administrative privileges for bootcamp disks: Never ask - now I don't get prompted on boot.
DeleteI couldn't find it when I went to settings advanced. Using vmware 7.1.1
DeleteThis will save my live for running VM at Mac from my HDD
ReplyDeleteOk - I am trying to use an existing USB 3.0 bootable drive AS the boot disk and cannot seem to find how to BOOT from the external physical disk.
ReplyDeleteIs there a way of setting the BOOT device to a USB drive?
"unable to copy the source files to the destination files." - when i run "/Applications/VMware\ Fusion.app/Contents/Library/vmware-rawdiskCreator create /dev/disk4 fullDevice /Volumes/DATA/VMware/External/external_drive ide"
ReplyDeleteanybody know what to do?
I liked the content on this site. Would like to visit again.
ReplyDeleteHand Therapy CT & Work Injury Therapy
If guest OS used AHCI:
ReplyDeleteCreate custom VM with new disk. In advanced options change bus type to SATA.
And replace in your vmx file:
sataX:Y.fileName=”external-hdd.vmdk”
VMware Fusion 7 just complained that I had a IDE slave without a master, so I had to change to this to make it work:
ReplyDeleteide1:0.present = "TRUE"
ide1:0.fileName = "external-hdd.vmdk"
Oh, and thanks A LOT for this post!
Also don't forget to add the this string:
ReplyDeletefirmware = "efi" )
...if your IDE Drive was previously configured with UEFI firmware. I also had to change my ide settings, b/c I was not using the extra vm scsi disk.
ide1:0.present = "TRUE"
ide1:0.fileName = "external-hdd.vmdk"
Again, thanks for this great trick, I'm now running a Hackintosh on my ASUS laptop with the use of it stock drive in VMWare Fusion! Your Rock my friend!
correction - its: firmware = "efi"
Deletebutt dialed the extra ")" character... :-)
Newbie question: I can remove the physical disk from VMWare and access it directly at a later date? (assuming the OS/filesystem is the same)
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteWorked fine but then the grey Apple showed up. Then: spinning wheel and finally, barred circle ("prohibited sign").
ReplyDeleteTried different solutions. None of them worked.
VMware Fusion 8.5, OS X 7.5 (guest system), host: El Capitan.
https://cracksware.com/vmware-fusion-crack/
ReplyDeleteWhat a fucking king. Can't believe the shit UI can't offer that. Add disk, add existing disk, add your mother. 5 hours later. I discovered I was fine accessing it if it was connected as an external disk with an USB cable, but if it was internal it just costed me time and money. Fuckkkkkkkkkkkkkkkkkkkkkkkkkkkkk!
ReplyDeleteShould be ide1:0.present nowadays though:
ide1:0.present = "TRUE"
ide1:0.fileName = "../mount/external-hdd-SP1.vmdk"
On macOS Catalina, I added the following to my vmx file, for this to work with an external Bootcamp partition:
ReplyDeletesata0:0.deviceType = "rawDisk"
sata0:0.fileName = "BootCamp.vmdk"
sata0:0.present = "TRUE"
In addition, I needed to grant com.vmware.DiskHelper full disk access in Security and Privacy within System Preferences.
With com.vmware.DiskHelper one you saved me from a sleepless night.
Deletethank you so much, I know nothing about computers and was about to give up....... but reading this sorted me. thanks
ReplyDelete
ReplyDeleteI am very impressed with your post because this post is very beneficial for me and provide a new knowledge to me
VMware Fusion Pro
Thanks for this Great sharing i like this post..and your site is amazing…i am a big fan of this site.
ReplyDeleteVMware Fusion Pro
Wise Duplicate Finder Pro
EaseUS Partition Master
NICE BLOG VERY GOOD SOFTWARE...
ReplyDeleteVMware Fusion Pro Crack
ControlMyNikon Pro Crack
ProgDVB Pro Crack
VMware Fusion Pro Crack
Adobe Photoshop CC Crack
Ukeysoft Apple Music Converter Crack
HD Video Converter Factory Pro Crack
Very Nice Blog this amazing Software.
ReplyDeleteThank for sharing Good Luck!
VMware Fusion Pro Crack
HandBrake CS2 Crack
MacKeeper Crack
NCH Express Zip Crack
TeamViewer Crack
HandBrake CS2 Crack
WavePad Sound Editor Crack
Adobe Lightroom Crack
I like your all post. You have done really good work. Thank you for the information you provide, it helped me a lot. crackproz.org I hope to have many more entries or so from you.
ReplyDeleteVery interesting blog.
VMware Fusion Pro Crack
I guess I am the only one who came here to share my very own experience. Guess what!? I am using my laptop for almost the past 2 years, but I had no idea of solving some basic issues. I do not know how to Download Cracked Pro Softwares But thankfully, I recently visited a website named free4soft.com
ReplyDeleteVMware Fusion Pro Crack/
Webcam Surveyor Crack
KineMaster Pro MOD Apk Crack
FotoWorks XL Crack/
Adrosoft AD Audio Recorder Crack
XMind Pro crack
Congratulations, you've got this right! That's a very easy one and it's highly recommended. Thank you! Web development companies in dubai
ReplyDeleteThanks and I have a swell offer you: How Much Do House Repairs Cost home renovation cost
ReplyDelete