Verify and Repair a Mac Disk via Command Line in Terminal

Verify and Repair a Mac Disk via Command Line in Terminal

Gemsbok Apple Tips and Tricks

5 лет назад

119,843 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@docsylva2876
@docsylva2876 - 27.11.2023 02:04

I fucked up the disks or volumes on my iMac. Can anyone help me

Ответить
@graweb55
@graweb55 - 20.11.2023 12:21

Please advise how to get my iMac to function correctly by viewing description of my problem below -

I have a circa 2009 iMac 27" 1352 running macOS High Sierra 10.13.6.
Here's the story so far. Computer always boots 👢 to recovery mode no matter what I have tried so far. I am trying to avoid a USB recovery as I don't want to lose data, which is circa 280GB. Also, I don't want to pay for data recovery software. This is what I have done so far
1) Recovery Mode/Disk Utility (refer to picture's)
2) Initially Disk0 was showing full 1TB Untitled
3) OS X Base System circa 1.5 GB Disk0s2
All options were available, so I chose to click on the recover option of OS X Base System.
After that, Disk0 showing full at 1TB but instead of Untitled it has changed to OS X Base System with all options greyed out.
Disk0s2 is the same except OS X Base System now has a smiley Mac face with all options greyed out.
I am using a PC keyboard as I don't have a Mac keyboard yet.
No matter what start up options or terminal commands I try, I am coming to a brick 🧱 wall.
I have spent many hours so far & don't want to give in to formatting.
I know someone out there with more knowledge than me has the answer.
If you are a computer enthusiast as I am you will understand my passion.
What a great sense of achievement it will be to be able to boot 🥾 to the desktop without formatting & no loss of data.
Please help me to bring my computer back to its former glory.

Ответить
@tannerpoo202
@tannerpoo202 - 17.11.2023 06:53

It’s not even showing my hard drive there lol.
It only shows when I do the ioreg -p iousb

Ответить
@ninoskaramosmiguel9704
@ninoskaramosmiguel9704 - 04.10.2023 01:17

ty sir

Ответить
@mufcmusic8514
@mufcmusic8514 - 18.07.2023 00:43

it all worked but the SSD still didn't show up.

Ответить
@shikhab2250
@shikhab2250 - 28.04.2023 00:33

You are checking an ext hard drive can the same commands be used to check and repair the internal Macintosh-HD drive via terminal in recovery mode?

Ответить
@eurisko3676
@eurisko3676 - 28.03.2023 02:26

And of the drive doesn’t show up at all?

Ответить
@MrBerksboy
@MrBerksboy - 10.03.2023 21:53

Thank you for taking the time to share this, helped me a lot.

Ответить
@dasteufelhund
@dasteufelhund - 08.03.2023 02:51

If I run start up Command S and fsck_apfs -y, I get a whole bunch of y's so how long will it take if it's a 1tb SSD?

Ответить
@MrHekuma
@MrHekuma - 03.03.2023 15:48

Is there any other solution to mount the drive, if its either not showing in disk utility, nor in the terminal? I only see the Hard Drive in System Information under USB. In my case I cant use the commands, because I dont see anywhere the BSD name diskxsy…

Ответить
@RussellHickmanRaptillion
@RussellHickmanRaptillion - 08.02.2023 18:01

great stuff!!

Ответить
@edilbertobanos4525
@edilbertobanos4525 - 13.11.2022 07:21

I followed all the steps but I keep getting the message "The disk "Edrive" cannot be unlocked, a problem was detected with the disk that prevents it from being unlocked." Any idea?

Ответить
@rashidbinzaiyed7149
@rashidbinzaiyed7149 - 06.11.2022 16:55

My Macpro is not even showing anything when i connect flash drive, same happens to my phones, it keeps charging but it won't transfer any datas..! Any help?

Ответить
@QuickView2020
@QuickView2020 - 15.09.2022 16:56

Hi, I have error my SSD 6TB Please is there any suggestion will appreciate Thanks
~ % diskutil repairDisk /dev/disk3
Repairing the partition map might erase disk3s1, proceed? (y/N) y
Started partition map repair on disk3
Checking prerequisites
Checking the partition list
Adjusting partition map to fit whole disk as required
Problems were encountered during repair of the partition map
Error: -69697: Partition map repair failed while adjusting structures to fit current whole disk size
Underlying error: 5
Ali@Asifs-MacBook-Pro-2 ~ %

Ответить
@mauryballo6616
@mauryballo6616 - 31.08.2022 00:11

Hi,tried to repair internal disk. Got the message : « Error repairing map: POSIX reports: Input/output error 5 »
I don’t know what to do. Please help 🙏🏾

Ответить
@theworstdudes
@theworstdudes - 18.08.2022 03:16

Hi there, I came across your video while searching how can I pull files from an old Windows laptop's hard drive. I was able to unscrew the hard drive from the (Dell) laptop and I purchased a shell case that allows you to put the hard drive in it to act like an external hard drive. I've hooked it up to my Mac, but nothing comes up when I try to find it. I tried using the tips in your tutorial, but was unsuccessful. The drive does lit up and vibrates from time to time so I know there is some type of connection. I just can't seem to locate the drive itself on my Mac. Any suggestions or ideas on what to do would be greatly appreciated. Thanks in advanced for your time.

Ответить
@24jmurph
@24jmurph - 17.07.2022 08:10

Thank you so much! This fixed an SD problem I had!

Ответить
@maxoutkast
@maxoutkast - 07.07.2022 19:50

Hi, thank you for this very helpful and straight forward video. Unfortunately I have an exFat formatted drive (formatted using a Mac), and the volume, I believe, was corrupted or compromised while connected to a Synology NAS, for backing up data, ironically.. I tried this repair in command line, but received this message... "Unable to repair this whole disk: A GUID Partition Table (GPT) partitioning scheme is required (-69773)
" Any suggestions? Most if not all of the data was backed up, but it's an edit drive so I'd really like to get the volume back so I can preserve the file structure I had for Premiere Pro. Any advice would be greatly appreciated!

Ответить
@justmai1298
@justmai1298 - 20.06.2022 00:25

what if there is still error and still not mounting ? Is there other option?

Ответить
@gurmeetchahal74
@gurmeetchahal74 - 08.05.2022 19:38

I did same as you said but while repairing got an error repairing map input/output error 5. Please help me out.

Ответить
@Tejprakashprasad
@Tejprakashprasad - 23.04.2022 19:24

Currently, I am working on a macOS Monterey MacBook Air (M1, 2020), and I can't use sudo command in Terminal
sudo: /etc/sudoers is world-writable
sudo: no valid sudoers sources found, quitting
sudo: error initializing audit plugin sudoers_audit

How can I fix it? Please help me

Ответить
@meyerclm1
@meyerclm1 - 21.03.2022 20:13

I received the following error when trying to repair my disk. diskutil repairDisk /dev/disk2
Unable to repair this whole disk: A GUID Partition Table (GPT) partitioning scheme is required (-69773) Any suggestions?

Ответить
@GPrice-qk5fm
@GPrice-qk5fm - 27.01.2022 16:29

I see that this didn't work for me, why doesn't that surprise me

Ответить
@mimar-osman
@mimar-osman - 24.01.2022 22:58

Hey! Could you help me? I will pay for your help of course…

Ответить
@marutiroma6295
@marutiroma6295 - 17.01.2022 00:09

Thanks, I tried but doesn't works. It writes me " Nonexistent, unknown, or damaged partition map scheme
If you are sure this disk contains a (damaged) APM, MBR, or GPT partition map,
you can hereby try to repair it enough to be recognized as a map; another
"diskutil repairDisk /dev/disk7" might then be necessary for further repairs
Proceed? (y/N) y
Error repairing map: Input/output error (5) "
Can you help me?

Ответить
@pieterjdw
@pieterjdw - 06.01.2022 00:24

Thanks! However diskutil is gone in Monterey :(

Ответить
@TheJarolis
@TheJarolis - 16.12.2021 11:34

Hi, could you help please? Unable to repair this whole disk: A GUID Partition Table (GPT) partitioning scheme is required (-69773)

Ответить
@christiancastiillo5302
@christiancastiillo5302 - 28.11.2021 02:42

Hi how you doing... I follow all the steps in your video.. at the end the Mac mounts the external hdd but then I can do nothing more.. does this mean the hdd it finished??? or is anything else I can do???
Thanks in advance

Ответить
@ArmandoEllo80
@ArmandoEllo80 - 17.11.2021 13:30

COULD ERASE (Y/N)? The whole point of this video is to save the data because you can't back up if it does not read the data in the first place.

Ответить
@marshallbinstock1941
@marshallbinstock1941 - 30.10.2021 06:54

Your video on the diskutil is great. I'm in the process of making a clone copy of the disk but thought of using the new SDD and formatting as AFPS encrypted and re-running CCC but warning comes up that the machine may not start properly etc etc. Not sure if that would work anyway.

Not sure if you have worked out a work around but everything says that Mojave will not operate Time Machine due to format not being encrypted. Is there a way to work around this problem that you miraculously discovered. I can't upgrade to 64 bit as my accounting software is still the old 32 bit AccountEdge which works fine.

Cheers

Ответить
@AlexanderP
@AlexanderP - 10.10.2021 10:03

Thank you so much for making this! This helped a lot! 👍👍

Ответить
@timberlaketri111ionaire2
@timberlaketri111ionaire2 - 23.09.2021 05:52

This was the MOST HELPFUL of all the videos I’ve watched. MANY THANKS!

Ответить
@danielortizdecaracas
@danielortizdecaracas - 28.07.2021 06:24

if you lose the efi ? lose alla data?

Ответить
@FranciscoErian
@FranciscoErian - 16.06.2021 07:54

thanks! thanks! thanks!

Ответить
@chrisburgess3694
@chrisburgess3694 - 08.06.2021 01:28

you're a freakin legend. Thank you

Ответить
@medeleanuninel
@medeleanuninel - 06.05.2021 16:09

Error repairing map: Input/output error (5)

Ответить
@FunkyMonkeyman17
@FunkyMonkeyman17 - 26.04.2021 00:22

How serious trouble am I in if I get:
Problems were found with the partition map which might prevent booting
Error: -69770: Partition map check failed because no slices were found

Ответить
@johndoe894
@johndoe894 - 30.12.2020 07:31

Sooo will my hard drive files be deleted if I didn’t back them up?

Ответить
@neilstevenson1485
@neilstevenson1485 - 29.12.2020 13:46

Thanks for taking the time to do these things....Why are Apple masking things more difficult, wouldn’t have a clue without these videos TY

Ответить
@adamsbrownhair7911
@adamsbrownhair7911 - 19.12.2020 12:57

Tried different means to get my Mac book in order
Not until I contract the service of Hackfabz on IG
And he did an excellent job
Thanks

Ответить
@DiegoPereyra
@DiegoPereyra - 28.11.2020 22:29

WOW...
How can I thank you man...?
I`m photographer and my 4tb backup disk was not working properly, your video solved it...!
I already been in the computer for more than 10 hrs trying to fix it.
You know about tech stress? I was 1000% above the exploding line.
Right now its seems to be working, I`m going to restart and see.
Thank you, you truly save my ass today.
Best wishes for you and your people, stay safe, and may all good things come your way always.

P.S: that jump when it says it might erase the content was one of the bravest things I have done in a long long time.

Ответить
@gloriaginika1338
@gloriaginika1338 - 30.10.2020 04:49

𝐂4𝐓𝐎𝐎𝐋𝐒 𝐎𝐍 𝐢𝐧𝐬𝐭𝐚𝐠𝐫𝐚𝐦 𝐢𝐬 𝐭𝐡𝐞 𝐛𝐞𝐬𝐭 𝐡𝐞 𝐠𝐨𝐭 𝐦𝐢𝐧𝐞 𝐟𝐢𝐱𝐞𝐝 😎👽

Ответить
@DansMcDougall
@DansMcDougall - 24.10.2020 04:28

You just saved my 4TB drive with my life's work. Thank you! Thank you!

Ответить
@buildingblkres
@buildingblkres - 15.10.2020 23:44

What if the plugged in disk never even shows up?

Ответить
@wasf2010
@wasf2010 - 29.09.2020 01:51

thx bro

Ответить
@hkaraya73
@hkaraya73 - 28.09.2020 14:32

Thanks a lot it is working. Great instruction.

Ответить
@claytonmagnet9961
@claytonmagnet9961 - 03.09.2020 14:17

hello, question: when I attempt to repair a micoSD card with cli as per instructions in this video I receive the following error message: "UUnable to repair this whole disk: A GUID Partition Table (GPT) partitioning scheme is required (-69773).
Does anyone know how to resolve this issue? Thanks, (great video BTW)

Ответить
@coreyfreeman6226
@coreyfreeman6226 - 20.08.2020 19:27

Some say, the only way to fix broken partitions is to re-install OSX which fixes previous boot partition problems without erasing your data.This is assuming the HDD hasn't completely failed

Ответить
@TheYouTubeAquarium
@TheYouTubeAquarium - 17.08.2020 01:16

This video helped me repair my macbook, I owe the people behind this alot... mentally, physically and alot more. Seriously I have gain back some things that mean alot to me, I will take measures to back up those things. Thank you again.

Ответить