Missing Macintosh HD on reinstall of OSX - Terminal Help needed.
Background:
I was wiping and restoring an early 2014 MacBook Air to give to a family member. All was going well and I reinstalled OSX using Cmd-R. First reboot failed and hung - it was clear something was wrong. First aid found nothing wrong with the disk so I repeated the erase and went to reinstall OSX again.
This time Macintosh HD was missing entirely. Did some googling and learned about disk repair in terminal. So..
Used 'diskutil list' to find the drive identifier.
Disk is 'disk0s2'
Used 'diskutil verifyVolume / disk0s2'
This is where I have the problem - the response to that is..
'Ownership of the affected disk is required'
Now I am stuck. Can anyone help? I need to repair this disk in the hope that it can be found again and the Mac brought back to life.
Thanks,
Giles
MacBook Air 11", macOS 10.13