How to delete a unaccessible volume on Mac?












0















Hi do I delete virtual partition on virtualbox? I'm using MacOS Mojave v10.14.3 and once installed virtualbox. I deleted the virtual machine and the app. However, the partition is still there. How can I remove/delete the virtual partition. Please help as that partition is just a burden on my storage. Thanks.



Following is what when I run the command diskutil list on my terminal.



/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *121.3 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_APFS Container disk1 121.1 GB disk0s2

/dev/disk1 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +121.1 GB disk1
Physical Store disk0s2
1: APFS Volume Macintosh HD 36.4 GB disk1s1
2: APFS Volume Preboot 45.2 MB disk1s2
3: APFS Volume Recovery 516.9 MB disk1s3
4: APFS Volume VM 1.1 GB disk1s4


Then when run the command: diskutil eraseVolume APFS VM disk1s4 to erase the volume it gives the following error:



Started erase
Preparing to erase APFS Volume content
Checking mount state
The volume "VM" on disk1s4 couldn't be unmounted because it is in use by process 0 (kernel)
Error: -69888: Couldn't unmount disk









share|improve this question























  • I found this - derflounder.wordpress.com/2017/10/18/… - I don't want to add it directly as an answer because it's above my pay-grade; but if it works, adding as an answer & crediting the original author would be a good move.

    – Tetsujin
    Feb 12 at 12:08











  • Following the steps as asked in the post, I get the following error: Jatins-MacBook-Air:~ jatinsinghbhati$ /usr/sbin/diskutil info / | awk '/Part of Whole/ {print $4}' disk1 Jatins-MacBook-Air:~ jatinsinghbhati$ /usr/sbin/diskutil apfs resizeContainer /dev/disk1 0 Started APFS operation Error: -69743: The new size must be different than the existing size

    – Jatin Singh Bhati
    Feb 12 at 12:19


















0















Hi do I delete virtual partition on virtualbox? I'm using MacOS Mojave v10.14.3 and once installed virtualbox. I deleted the virtual machine and the app. However, the partition is still there. How can I remove/delete the virtual partition. Please help as that partition is just a burden on my storage. Thanks.



Following is what when I run the command diskutil list on my terminal.



/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *121.3 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_APFS Container disk1 121.1 GB disk0s2

/dev/disk1 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +121.1 GB disk1
Physical Store disk0s2
1: APFS Volume Macintosh HD 36.4 GB disk1s1
2: APFS Volume Preboot 45.2 MB disk1s2
3: APFS Volume Recovery 516.9 MB disk1s3
4: APFS Volume VM 1.1 GB disk1s4


Then when run the command: diskutil eraseVolume APFS VM disk1s4 to erase the volume it gives the following error:



Started erase
Preparing to erase APFS Volume content
Checking mount state
The volume "VM" on disk1s4 couldn't be unmounted because it is in use by process 0 (kernel)
Error: -69888: Couldn't unmount disk









share|improve this question























  • I found this - derflounder.wordpress.com/2017/10/18/… - I don't want to add it directly as an answer because it's above my pay-grade; but if it works, adding as an answer & crediting the original author would be a good move.

    – Tetsujin
    Feb 12 at 12:08











  • Following the steps as asked in the post, I get the following error: Jatins-MacBook-Air:~ jatinsinghbhati$ /usr/sbin/diskutil info / | awk '/Part of Whole/ {print $4}' disk1 Jatins-MacBook-Air:~ jatinsinghbhati$ /usr/sbin/diskutil apfs resizeContainer /dev/disk1 0 Started APFS operation Error: -69743: The new size must be different than the existing size

    – Jatin Singh Bhati
    Feb 12 at 12:19
















0












0








0








Hi do I delete virtual partition on virtualbox? I'm using MacOS Mojave v10.14.3 and once installed virtualbox. I deleted the virtual machine and the app. However, the partition is still there. How can I remove/delete the virtual partition. Please help as that partition is just a burden on my storage. Thanks.



Following is what when I run the command diskutil list on my terminal.



/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *121.3 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_APFS Container disk1 121.1 GB disk0s2

/dev/disk1 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +121.1 GB disk1
Physical Store disk0s2
1: APFS Volume Macintosh HD 36.4 GB disk1s1
2: APFS Volume Preboot 45.2 MB disk1s2
3: APFS Volume Recovery 516.9 MB disk1s3
4: APFS Volume VM 1.1 GB disk1s4


Then when run the command: diskutil eraseVolume APFS VM disk1s4 to erase the volume it gives the following error:



Started erase
Preparing to erase APFS Volume content
Checking mount state
The volume "VM" on disk1s4 couldn't be unmounted because it is in use by process 0 (kernel)
Error: -69888: Couldn't unmount disk









share|improve this question














Hi do I delete virtual partition on virtualbox? I'm using MacOS Mojave v10.14.3 and once installed virtualbox. I deleted the virtual machine and the app. However, the partition is still there. How can I remove/delete the virtual partition. Please help as that partition is just a burden on my storage. Thanks.



Following is what when I run the command diskutil list on my terminal.



/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *121.3 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_APFS Container disk1 121.1 GB disk0s2

/dev/disk1 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +121.1 GB disk1
Physical Store disk0s2
1: APFS Volume Macintosh HD 36.4 GB disk1s1
2: APFS Volume Preboot 45.2 MB disk1s2
3: APFS Volume Recovery 516.9 MB disk1s3
4: APFS Volume VM 1.1 GB disk1s4


Then when run the command: diskutil eraseVolume APFS VM disk1s4 to erase the volume it gives the following error:



Started erase
Preparing to erase APFS Volume content
Checking mount state
The volume "VM" on disk1s4 couldn't be unmounted because it is in use by process 0 (kernel)
Error: -69888: Couldn't unmount disk






virtualbox partitioning virtual-machine disk-utility memory-management






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Feb 12 at 12:02









Jatin Singh BhatiJatin Singh Bhati

12




12













  • I found this - derflounder.wordpress.com/2017/10/18/… - I don't want to add it directly as an answer because it's above my pay-grade; but if it works, adding as an answer & crediting the original author would be a good move.

    – Tetsujin
    Feb 12 at 12:08











  • Following the steps as asked in the post, I get the following error: Jatins-MacBook-Air:~ jatinsinghbhati$ /usr/sbin/diskutil info / | awk '/Part of Whole/ {print $4}' disk1 Jatins-MacBook-Air:~ jatinsinghbhati$ /usr/sbin/diskutil apfs resizeContainer /dev/disk1 0 Started APFS operation Error: -69743: The new size must be different than the existing size

    – Jatin Singh Bhati
    Feb 12 at 12:19





















  • I found this - derflounder.wordpress.com/2017/10/18/… - I don't want to add it directly as an answer because it's above my pay-grade; but if it works, adding as an answer & crediting the original author would be a good move.

    – Tetsujin
    Feb 12 at 12:08











  • Following the steps as asked in the post, I get the following error: Jatins-MacBook-Air:~ jatinsinghbhati$ /usr/sbin/diskutil info / | awk '/Part of Whole/ {print $4}' disk1 Jatins-MacBook-Air:~ jatinsinghbhati$ /usr/sbin/diskutil apfs resizeContainer /dev/disk1 0 Started APFS operation Error: -69743: The new size must be different than the existing size

    – Jatin Singh Bhati
    Feb 12 at 12:19



















I found this - derflounder.wordpress.com/2017/10/18/… - I don't want to add it directly as an answer because it's above my pay-grade; but if it works, adding as an answer & crediting the original author would be a good move.

– Tetsujin
Feb 12 at 12:08





I found this - derflounder.wordpress.com/2017/10/18/… - I don't want to add it directly as an answer because it's above my pay-grade; but if it works, adding as an answer & crediting the original author would be a good move.

– Tetsujin
Feb 12 at 12:08













Following the steps as asked in the post, I get the following error: Jatins-MacBook-Air:~ jatinsinghbhati$ /usr/sbin/diskutil info / | awk '/Part of Whole/ {print $4}' disk1 Jatins-MacBook-Air:~ jatinsinghbhati$ /usr/sbin/diskutil apfs resizeContainer /dev/disk1 0 Started APFS operation Error: -69743: The new size must be different than the existing size

– Jatin Singh Bhati
Feb 12 at 12:19







Following the steps as asked in the post, I get the following error: Jatins-MacBook-Air:~ jatinsinghbhati$ /usr/sbin/diskutil info / | awk '/Part of Whole/ {print $4}' disk1 Jatins-MacBook-Air:~ jatinsinghbhati$ /usr/sbin/diskutil apfs resizeContainer /dev/disk1 0 Started APFS operation Error: -69743: The new size must be different than the existing size

– Jatin Singh Bhati
Feb 12 at 12:19












1 Answer
1






active

oldest

votes


















0














This was resolved when I erased the whole data on my mac SSD(usually named: APPLE SSD SM0128G Media - is the parent of all containers which consists the system volumes) in recovery mode and reinstalled the mac OS. Precaution: Please download the macOS in a bootable pen drive before erasing the disk to reinstall the OS afterwards. And, backup your data prior.






share|improve this answer
























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "3"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1404819%2fhow-to-delete-a-unaccessible-volume-on-mac%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    This was resolved when I erased the whole data on my mac SSD(usually named: APPLE SSD SM0128G Media - is the parent of all containers which consists the system volumes) in recovery mode and reinstalled the mac OS. Precaution: Please download the macOS in a bootable pen drive before erasing the disk to reinstall the OS afterwards. And, backup your data prior.






    share|improve this answer




























      0














      This was resolved when I erased the whole data on my mac SSD(usually named: APPLE SSD SM0128G Media - is the parent of all containers which consists the system volumes) in recovery mode and reinstalled the mac OS. Precaution: Please download the macOS in a bootable pen drive before erasing the disk to reinstall the OS afterwards. And, backup your data prior.






      share|improve this answer


























        0












        0








        0







        This was resolved when I erased the whole data on my mac SSD(usually named: APPLE SSD SM0128G Media - is the parent of all containers which consists the system volumes) in recovery mode and reinstalled the mac OS. Precaution: Please download the macOS in a bootable pen drive before erasing the disk to reinstall the OS afterwards. And, backup your data prior.






        share|improve this answer













        This was resolved when I erased the whole data on my mac SSD(usually named: APPLE SSD SM0128G Media - is the parent of all containers which consists the system volumes) in recovery mode and reinstalled the mac OS. Precaution: Please download the macOS in a bootable pen drive before erasing the disk to reinstall the OS afterwards. And, backup your data prior.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Feb 13 at 11:29









        Jatin Singh BhatiJatin Singh Bhati

        12




        12






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Super User!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1404819%2fhow-to-delete-a-unaccessible-volume-on-mac%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            How to make a Squid Proxy server?

            Is this a new Fibonacci Identity?

            Touch on Surface Book