DISK UTILITY WON’T MOUNT ERROR WHEN TRYING TO ERASE

Hi, I am completly stuck. I went to restart the whole MacBook and it is now coming up with an error when trying to erase the disc, it says it is unable to mount. I have tried everything diskutil mount/ mount force /dev but nothing is working it’s coming up with you must specify a file system type with a -t, I have an appointment with apple but not u til Friday and I want it sorting before then. Please can someone help !

MacBook Pro

Posted on Feb 7, 2023 8:38 AM

Reply

Similar questions

10 replies

Feb 7, 2023 2:05 PM in response to Frey_louiser05

Most of the items shown in the output including what has scrolled off the top of the screen are just virtual volumes for the macOS installer which should already be mounted if they are appearing in the list. Usually the physical drives will appear as the first items in the output which has scrolled off the top of the screen. With some later versions of macOS, it is possible to limit the output to just the internal drives & volumes:

diskutil  list  internal


The second mistake is the command being used to attempt mounting of the volumes. You are not using the correct drive identifier. Usually it is easier to just use the "diskutil" command to mount volumes anyway as you don't need to specify the file system type.


This is just an example on how to mount a volume since it is shown in the screenshot, but this won't actually work since this is a disk image which has already been automatically mounted by the macOS installer. You would need to use an unmounted volume associated with a physical disk for these options to actually work. The "diskutil" command will automatically create a mount point in "/Volumes". After unmounting the volume, "diskutil" will automatically remove the folder for the mount point.

diskutil  mount  disk20


To be able to use the "mount" command, you must already have a folder available to use as a mount point. If you don't have such a folder, then you must first create one.

mkdir  /Volumes/mountpoint


mount  -t  hfs  /dev/disk20  /Volumes/mountpoint


FYI, I'm making an assumption that the file system on disk20 is MacOS Extended (aka HFS or HFS+). I am not certain if "hfs" is the correct file system type either as I don't have time to research the specifics, but the command shows basically what is needed. The "mount" command requires the "/dev/diskX" designation while the "diskutil" command can use it as well, but "diskutil" can also work without the "/dev/" part.


FYI, You can view all mounted volumes by using the following command:

mount



Feb 7, 2023 2:02 PM in response to Frey_louiser05

You need to take a step back.


What is it you're trying to do?

From the description it isn't clear. Are you trying to erase this disk? wipe the entire machine? something else?


Additionally, the volume in question appears to be a disk image, not a physical disk... by definition, a disk image appears as a file on a larger file system, so erasing the enclosing volume would automatically erase this disk image, too.


On top of that, your arguments to mount are incorrect.


In this case, /dev/disk20 represents the enclosing disk image, but the actual disk data is on typically stored on a number of partitions (or slices) within the disk image itself. They're usually denoted as disk20s1, disk20s2, etc.)


For example, here's what a disk image looks like OMM:


/dev/disk4 (disk image):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        +73.4 MB    disk4
   1:                  Apple_HFS Installer               73.4 MB    disk4s1



The fact that your disk image has no slices/partitions, the fact it has no 'type' (partition or filesystem spec), tells me it isn't a valid disk image, so you may be chasing your tail.


So, again, what is it you're trying to do here?

Feb 8, 2023 6:38 AM in response to John Galt

Ok John, thanks for your advice. I’m not asking for an English lesson, I’m asking for advice. Why can’t small minded people offer a person advice on how to help fix the situation? Instead they comment on other things. Please take the terminology up with the staff at apple, why would I need to take a text message? I’m not very good with software and was simply asking for advice however nice to see it’s a friendly platform. Don’t worry it’s going to apple tomorrow.

Feb 8, 2023 6:44 AM in response to Frey_louiser05

You're welcome. Since you are not good with software I recommend stopping at this point. For whatever reason you found yourself deep in a hole. Stop digging.


The help you got from "Apple" was dubious at best. Unfortunately whoever that may have been does not report to me and there is nothing I can do about their ineptitude.


Stop before you make things worse.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

DISK UTILITY WON’T MOUNT ERROR WHEN TRYING TO ERASE

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.