Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to go back to macOS #44

Closed
WebHeer opened this issue Oct 23, 2022 · 9 comments
Closed

How to go back to macOS #44

WebHeer opened this issue Oct 23, 2022 · 9 comments

Comments

@WebHeer
Copy link

WebHeer commented Oct 23, 2022

I tested Asahi Linux on my M1 Mini. Now I want to go back to macOS but that doesn't work. The Mac partition is 60GB in size (to small to instal macOS) and 940GB of empty space that I can no longer approach.

How can I format the disk in such a way so that I can install macOS again.

Anyone an idea how I can do that?
IMG_0184

@marcjuhl
Copy link

I Might Be Incorrect But, I Have Heard You Just Delete The Linux Partitions And Resize Apple Partition.

@WebHeer
Copy link
Author

WebHeer commented Oct 25, 2022

Unfortunately I can no longer enlarge the partitions. As you can see in the picture, the 1TB disk only has 524.3MB + 59.45GB and 5.37GB available. So 940GB of the disk has become unreachable. I want it back and then install macOS back on it.

@marcan
Copy link
Member

marcan commented Oct 25, 2022

Please read the FAQ. This is clearly explained in the partitioning guide. Apple's Disk Utility application is broken and will show you incorrect information. The 940GB isn't "unreachable", the app is just broken. It will work if you use the command line diskutil.

@marcan marcan closed this as completed Oct 25, 2022
@WebHeer
Copy link
Author

WebHeer commented Oct 26, 2022

Unfortunately this entry is closed, but still I can't reach the 940GB no matter what I try with 'diskutil'. Can someone give me the correct instructions, so that I have access to the entire hard disk again?

@WebHeer WebHeer mentioned this issue Oct 26, 2022
@marcan
Copy link
Member

marcan commented Oct 26, 2022

What have you tried, exactly? Please post the output of diskutil list.

@WebHeer
Copy link
Author

WebHeer commented Oct 26, 2022

Here is a screenshot of the current situation. There is now a freespace off 994,7 free space.
IMG-0237

@marcan
Copy link
Member

marcan commented Oct 26, 2022

You've deleted all the OS partitions, so just create a new one with diskutil addPartition disk0s1 apfs macOS 0.

@WebHeer
Copy link
Author

WebHeer commented Oct 26, 2022

@marcan Thank you very much, that did the trick. Problem solved. You are the best. Even Apple-helpdesk could not help me.

Kind regards, and thanks again.

@R8s6
Copy link

R8s6 commented Jan 2, 2024

You've deleted all the OS partitions, so just create a new one with diskutil addPartition disk0s1 apfs macOS 0.

Thank you so much! i was in the same boat as @WebHeer (that I had removed the main macOS disk0s2 partition), i googled everywhere and try ...addPartition disk0s2 thinking disk0s2 being the new partition, which did not work.

I went on the path to create a macOS usb from windows/linux which required a lot of other messy staff. Then I saw this comment and it solved my headache instantly, thank you so so much again!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants