Disk Utility and Casper Imaging not working in 10.12.6 NetBoot image created with AutoCasperNBI

itupshot
Contributor II

Hi folks, I'm running into a couple of strange issues with a NetBoot image created from macOS 10.12.6 (16G1408).

The first is that Disk Utility can't erase a disk. I keep getting errors when I try it.

37b6608630724134909e0977010ca71c

When I boot the Mac with a USB boot disk, I can use Disk Utility normally. I have tried this now on three computers, and I get the same behavior.

Second, if I NetBoot the computer again to image it, Casper Imaging starts its process but crashes with either of the following messages if the "Erase drive" option is checked:
6c3d42c5410940c68602248e11ab212e
ea87a236372747df9aad221143614ef5

I first created a base OS dmg using AutoDMG 1.8.1, as I normally do. Then, I created the NBI from that using AutoCasperNBI 1.4.1. I didn't get any errors when I performed either of those steps, so as far as I know, the NBI was created successfully.

Has anyone seen this issue before with any previous version of macOS and the image creation tools?

4 REPLIES 4

jmahlman
Valued Contributor

Was this an APFS drive before trying to run imaging?

itupshot
Contributor II

@jmahlman No, all the drives are HFS+J. When I boot these Macs with a USB stick, I can reformat the drives fine.

itupshot
Contributor II

Well, I created two NBI's using the previous builds of macOS Sierra 10.12.6 (16G29 and 16G1036), and I still got the Disk Utility error.
c8219d7819254616a8c70d7cdf65f699

My only workaround for now is to boot the Mac with the Sierra USB stick, format the drive, then NetBoot to run the Casper Imaging image configuration without selecting "Erase drive."

neil_martin83
Contributor II

Did you make your NBI with the alternate rc.netboot option ticked? https://macmule.com/projects/autocaspernbi/#rcnetboot