Posted on 01-18-2016 12:12 PM
Just running into a wee problem with a little test I am playing with and was hopping that somebody may have some ideas.
I am attempting to get Casper Imaging to install into a VMWare Fusion VM (via NetBoot) and so far I keep hitting the same wall no matter what I try.
I can successfully NetBoot the VM into the Casper Imaging hosted on our server but once I type my credentials in and it begins its scan of drive, it is unable to find any and provides the error "Casper Imaging could not locate any drives for imaging."
I thought I would try setting up the VM with a standard install of OS X, then running Quick-add to get it into Casper then run an Autorun setup pointing to the Macintosh HD that was configured but that leads to the message "Casper Imaging could not find the target disk: Macintosh HD".
Does anybody have any ideas or comments?
Is this even possible?
Posted on 01-18-2016 12:18 PM
If it's telling you that it can't locate any drives, it's probably because it can't locate any drives. Open up Disk Utility within your netboot environment. Do you see the disk? If so, format the disk on the VM. If not, then make look in your virtual machine's storage settings and make sure you're pointing to some sort of virtual storage.
Posted on 01-18-2016 05:01 PM
Casper Imaging, like the OS X Installer, operates on the assumption that the storage are already initialized and configured into volumes, so they simply show up as drives in the interface to click on. This makes sense since all Macs are pre-configured from Apple to you.
A Virtual Machine only virtualizes a storage device for you, and are unintialised, without a working partition table or any volumes defined, so it shows no usable drives in the interface. Like @bpavlov mentioned, you'll have to take the extra step to initialize the disk yourself. You can either startup from an OS X Install Media to use Disk Utility, or attach the virtual disk to an OS X Virtual Machine that has Disk Utility.
Posted on 01-19-2016 01:37 AM
Thanks for your responses. :)
I have already initialised the virtual drives, formatted them, even installed to them via other NetBoot or recovery medias and they are successful.
The issue only occurs when using Casper Imaging which is unable to see the drives during its initial scan (after entering user credentials and prior to getting to the configuration selection screen).
In the meantime, I'm going to have a go at creating another version of the Imaging image - see if it makes any difference.
Posted on 01-20-2016 01:50 AM
I have managed to create a workaround for this by manually configuring a computer to include the Casper Imaging app then creating a NetBoot .nbi using an older version of System Image Utility (specifically the Yosemite version).
Seems that every time it is done by using the Casper NetInstall Image Creator and a El Cap. base image, it is unable to detect the virtual drives but if you do it manually it will.
I shall test it further at a later date to confirm the issue and open a bug report.
Thanks @bpavlov and @htse for your input either way :)
Posted on 01-20-2016 03:53 AM
Have you tried using autocaspernbi?
the yoyo nbi you've created won't boot the latest 2015 model imacs
Posted on 01-20-2016 05:51 AM
This might seem simple, but is your Volume named "Macintosh HD"? Casper relies on the name specifically.
Posted on 01-20-2016 08:55 AM
I had not come across that actually. Just took a quick look at it and looks very useful. Will have a play with it later :)
That is acceptable for now as it will only need to boot my virtual machines and not the physical hardware. I will proceed further at a later date making it more compatible instead of having one for VM and one for the physical machines which is what I am now doing.
@Kprice Aye I had named the volume the standard "Macintosh HD" just to make sure that myself as I had wondered. It still refused until I created my frankenstein of a NetBoot image that did detect it. :P