Reinstalling/fixing corrupted OS

Rod


Joined
Jun 12, 2011
Messages
9,696
Reaction score
1,882
Points
113
Location
Melbourne, Australia and Ubud, Bali, Indonesia
Your Mac's Specs
2021 M1 MacBook Pro 14" macOS 14.4.1, Mid 2010MacBook 13" iPhone 13 Pro max, iPad 6, Apple Watch SE.
@Rod

There's that menu you can still access if you can't boot properly, you can see time machine copies, access disk utility and reinstall OS and one more thing I can't remember. Even that was such a hassle, had to change the time cause it reset to 2016 and stuff.

I'm thinking about it, and I think I'll buy another HDD, do the carbon copy cloner on that, then go through your method. It'll be a bit time consuming but that's the safest way.
Then I'll just return one of the external HDDs, and keep one to start making real backups haha.

That sounds like a plan. Really, so long as all your data is saved somewhere, everything else can be replaced or repaired. If your data is on the same drive as the boot volume that would obviously be ideal.
 

krs


Joined
Sep 16, 2008
Messages
3,555
Reaction score
610
Points
113
Location
Canada
I could never understand why a user would want or insist on a block by block backup or clone.
I can't either, but I'm sure there are valid reasons for doing that.

The one benefit of a file-by-file clone vs the block-by-block is that most of the fragmentation on the source drive is eliminated.
The macOS is pretty good in keeping fragmentation in check, but it's not perfect.
Last time I compared disk fragmentation on the source to the clone, the fragmentation on the clone was much less - that's with a file-by-file clone.
With a block-by-block clone fragmentation would stay the same.
 

chscag

Well-known member
Staff member
Admin
Joined
Jan 23, 2008
Messages
65,248
Reaction score
1,833
Points
113
Location
Keller, Texas
Your Mac's Specs
2017 27" iMac, 10.5" iPad Pro, iPhone 8, iPhone 11, iPhone 12 Mini, Numerous iPods, Monterey
Block by block cloning is a left over method used by Windows cloning applications. It's likely most folks who are familiar with Norton Ghost or Acronis might be thinking that all cloning software works the same way. However, there are Windows apps that can now clone using the file by file method - "Clonezilla", "EaseUS", Paragon, etc.

Speaking of fragmentation (mentioned above) the once expensive Mac program "iDefrag" is now open and free. The only problem is that it doesn't work with APFS and it's 32 bit.
 
H

honestone33

Guest
To try to calm things down a bit, there are at least two types of "clone" processes. One is a block-for-block or byte-for-byte clone and the other is a file by file clone. You can definitely clone a bigger drive to a smaller drive as long as the data on the larger drive is smaller than the smaller drive in a file by file clone. That's not a byte-for-byte clone, which goes even further and requires that the two drives absolutely match in geometry (platters, heads, sectors, etc). But for a file-by-file clone, as long as it fits on the smaller drive, it works perfectly. I've done it many times before.

Thanks for the clear explanation, Jake. I guess that since I just use SuperDuper! "as is" for cloning each of my Mac's internal SSDs, along with insuring that the size of the external drive/partition is a little larger than the size of all the items on each SSD (only using about 40% of each SSD's total capacity), I was unaware of the two types of cloning processes. But I am curious as to the type of cloning SuperDuper! does. I just tried to go a google search of that, but could find nothing definitive. Could you let me know what that is?

Also, I've only once done a restore from a SuperDuper! backup, and of course it went well (no space issues at all, if that was/is a consideration). If I want to do a complete clean up of each internal SSD, I first boot the applicable Mac from the latest SuperDuper! backup I have, then Erase and Format the SSD. I will then do a clean, fresh installation of the latest version of the Mac OS I am using, and then migrate/copy all the needed files, folders, etc. from that most recent backup. Might seem like a lot of work, but given that I do exactly that when I install a new version of the Mac OS, it's second nature to me (and it works).

As for the unbootability of the internal drive, could it be that because the drive is so full that the OS is unable to establish scratch and cache space on it, hence it won't boot. If that is the case and if you get a new drive and CCC, do a full clone to a larger drive, including the system files following the directions at the CCC website, it may well boot from the external because it has the room. Then you can boot from it, then go back to the internal to look to clean up some space on the internal to make enough space for it to boot. If it fails to boot from the CCC Clone, then you will know that the internal drive has system problems that got cloned over and so will need to have a full reinstall done.

Excellent points! Regarding how "clean" one's system is, and the subsequent backup/clone, that is one of the reasons why I am doing some kind of cleanup every day on my Mac Mini (I also do it when I use my MacBook Air). So far, whenever I migrate/copy needed files, folders, etc. after doing a clean installation of the Mac OS, I've not had any issues.

It is my understanding that the op has some critical files/folders, and if they are taking up a lot of space, it would be an issue for him to remove them. He mentioned the possibility of purchasing an additional external HDD. That is one reason why I suggested above that he partition that new HDD, then clone everything on his existing external HDD onto that partition (the size of that partition should be anywhere from 10% to 20% larger). Of course, that assumes that the existing external clone is OK, as you so rightly point out. I was under the impression that he can boot from the clone.

n any event, if he can do that, then he can delete some files, folders, etc. from either the internal SSD, or if he does a clean installation of the Mac OS he is using, or from that external HDD which would be migrated back to the internal SSD.
 
Joined
Jan 1, 2009
Messages
15,507
Reaction score
3,866
Points
113
Location
Winchester, VA
Your Mac's Specs
MBP 16" 2023 (M3 Pro), iPhone 15 Pro, plus ATVs, AWatch, MacMinis (multiple)
honestone33, I think just about all of the "cloners" can do either way. I use CCC and I know it can do both. However the default is file-by-file. Sector-by-sector is, as Charlie said, an old Windows technique that even Windows no longer uses. I can think of two possible uses for sector-by-sector: 1) To make a clone of an encrypted drive without having to unencrypt it first. Since it is blindly copying whatever is in the sector to the same sector on the copy, that clone process would not care about the encryption. 2) To make multiple simultaneous copies of a drive image. Think about a company that has employees who all have identical laptops and desktops with identical drive models. The company has ONE image of a standard installation and does a sector-by-sector copy of the master to multiple copies in parallel. Those drives could also be encrypted with a standard security password that is given to new employees who all have to change it to their password to open it up.

And that's about all I can think of.
 
Joined
Nov 19, 2018
Messages
3
Reaction score
0
Points
1
Not booting

Hey! So I could access the control menu at startup, the place where you can restore from time machine backup and whatnot. In that menu i tried to repair, but it didn't work.
Installing a new version of OS on the internal SSD didn't work because there wasn't enough space, so I installed it on an external HDD.

So when I boot up now, I log in like usual, the external HDD needs to be connected or else it won't start, the apple logo comes and the loading bar, then shuts off before completely loading. The external HDD does appear on the desktop, and I've gotten messages like "Please eject Macintosh HDD safely before you remove".

Accessing files are very slow as well, and it appears everything came with the installation of OS from the boot menu, as the external HDD has just as much space taken up as the internal SSD.

So, I need to get the external HDD copy onto the macintosh HDD, I think. But I'm a bit unsure if I'm completely off track in my thinking somehow as I don't know a lot about computers, and wanted to get some advice first. That's why I just tried making a backup first, or replacing the Macintosh HDD with the external one, where i get the "The source volume is readable and writable and cannot be removed from the desktop, so it cannot be copied block by block" error.

There is the delete Macintosh HDD option, but that's always a bit scary if you're not completely sure what's going on.

Hallo
I had the same problem: Macbook was not booting after I tried to reaload a CCC copy. There was a problem with the boot block (it looked like the SSD was nor more able to boot). Started with Apple Logo, but then shut down after ⅔ of the startup bar. When I tried to connect the MacBook to another one in T mode, that Macbook also shut down. Very wired.
The only help: reformatt your Macbook (hold cmd R when just after you pushed the startup button).
Paul
 
Joined
Jul 14, 2008
Messages
1,227
Reaction score
8
Points
38
Location
UK
Your Mac's Specs
iMac 2.66 GHz 20", iPad Mini2 32GB, iPhone6 64GB, Watch Sport 42mm Black, iPad Air 2 128GB
I had that problem with installing Mojave. I had to reformat and reinstall, using a backup as the source for my data.


Sent from my iPad using Mac-Forums
 

Rod


Joined
Jun 12, 2011
Messages
9,696
Reaction score
1,882
Points
113
Location
Melbourne, Australia and Ubud, Bali, Indonesia
Your Mac's Specs
2021 M1 MacBook Pro 14" macOS 14.4.1, Mid 2010MacBook 13" iPhone 13 Pro max, iPad 6, Apple Watch SE.
This I where the advantages of a bootable macOS installer really shine.
I too had a corrupted macOS Mojave boot volume on my MBP. CCC clone was also fried and could not boot. It appears that whatever happened to the boot volume on my MBP got copied to the clone. That can be avoided by running a data check as part of the cloning process but it's much slower.
I was saved a lot of time and effort by having a thumb drive with a bootable macOS installer. Even though it was a High Sierra installer I was able to boot, erase my internal drive (you have to do this to install an earlier OS) install HS then upgrade back to Mojave. All my personal data and apps on the clone were intact so just copied them back to the new version of Mojave.
As an emergency recovery tool a bootable macOS installer on a USB thumb drive is cheap, easy to create at each major upgrade (you must do it before running the upgrade installer app because it is erased after use) and can be created using Terminal or a free app like DiskMakerX.
It could also be used in conjunction with Time Machine to perform a retrograde install of a previous OS; erase with the USB drive, install previous OS, restore data from Time Machine.


Sent from my iPhone using Mac-Forums
 
H

honestone33

Guest
This I where the advantages of a bootable macOS installer really shine.

I've been so dependent on my SuperDuper! backups to be clean, especially since I take the time and effort to 1) clean unneeded stuff off both of my Macs and have them removed permamently, and 2) use Onyx and Tech Tool Pro once a week for more cleanup and additional maintenance tasks. But I will definitely take your advice and make a Mac OS installer on a USB drive.


As an emergency recovery tool a bootable macOS installer on a USB thumb drive is cheap, easy to create at each major upgrade (you must do it before running the upgrade installer app because it is erased after use) and can be created using Terminal or a free app like DiskMakerX.

DiskMaker X is an excellent product, and in fact, I just downloaded the latest version. I am going to use it to create a bootable Mojave OS installer on a USB drive right after I am done posting here. (They don't yet have a version compatible with Catalina yet, but I suspect they will once OS 10.15 is released).
 
Joined
Oct 16, 2010
Messages
17,540
Reaction score
1,576
Points
113
Location
Brentwood Bay, BC, Canada
Your Mac's Specs
2011 27" iMac, 1TB(partitioned) SSD, 20GB, OS X 10.11.6 El Capitan
@honestone33
I am going to use it to create a bootable Mojave OS installer on a USB drive right after I am done posting here.


You may have some problems getting DiskMaker X to work properly unless you have recently enabled your Spotlight to work as DiskMaker X relies on it as it tries to find the OS X Install program with Spotlight as you might have read at the developers sight.

And so, yet another reason for enabling Spotlight and letting it do its thing. It seems a lot of software uses the Spotlight database.

Just wanted to mention the fact in case you ran into problems as DiskMaker X tries to find the OS X Install program with Spotlight's database.


- Patrick
======
 

Rod


Joined
Jun 12, 2011
Messages
9,696
Reaction score
1,882
Points
113
Location
Melbourne, Australia and Ubud, Bali, Indonesia
Your Mac's Specs
2021 M1 MacBook Pro 14" macOS 14.4.1, Mid 2010MacBook 13" iPhone 13 Pro max, iPad 6, Apple Watch SE.
I must admit I had a feeling that Spotlight probably does stuff "under the hood" that i wasn't aware of. I was under the impression (rightly or wrongly) that the Finder was dependent on it as well. Whatever the case I would be loath to disable the system indexing system if, for no other reason, because I don't know exactly what it does or what might be dependent on it.
 
H

honestone33

Guest
@honestone33



You may have some problems getting DiskMaker X to work properly unless you have recently enabled your Spotlight to work as DiskMaker X relies on it as it tries to find the OS X Install program with Spotlight as you might have read at the developers sight.

And so, yet another reason for enabling Spotlight and letting it do its thing. It seems a lot of software uses the Spotlight database.

Just wanted to mention the fact in case you ran into problems as DiskMaker X tries to find the OS X Install program with Spotlight's database.


- Patrick
======

You are incorrect. As I have mentioned previously, I always make a copy of the latest Mac OS installation file to another location. And in fact, for the latest one (OS 10.14.6), I don't even have it inside my Applications folder.

In any event, after downloading and installing the latest version of Diskmaker X for Mojave, and then plugging in a USB Flash Drive into a port on my hub, I launched Diskmaker X. It then first asked to find the applicable Mac OS Installation file, and it initially opened my Applications folder, expecting to find it there. But I "navigated" to the location of that file. Diskmake X then asked if I wanted to use the USB Flash Drive I had plugged in, and I said yes. It then proceeded to create the bootable Mojave installation on the USB Flash Drive. And of course it works.

Thus, there is no defect in the program. It does what one would expect from an application. Where did you get this notion that Diskmaker X relies on Spotlight?
 
Last edited:

Slydude

Well-known member
Staff member
Moderator
Joined
Nov 15, 2009
Messages
17,612
Reaction score
1,078
Points
113
Location
North Louisiana, USA
Your Mac's Specs
M1 MacMini 16 GB - Ventura, iPhone 14 Pro Max, 2015 iMac 16 GB Monterey
How is that a defect in Spotlight?
 
Joined
Oct 16, 2010
Messages
17,540
Reaction score
1,576
Points
113
Location
Brentwood Bay, BC, Canada
Your Mac's Specs
2011 27" iMac, 1TB(partitioned) SSD, 20GB, OS X 10.11.6 El Capitan
How is that a defect in Spotlight?


Well Sly, I guess that leaves at least both of us scratching our heads in bewilderment???

But I wonder if DiskMaker X provides a means of manually looking for the installer file instead of relying on a spotlight search find it??? I've never tried it as I don't need it with multiple bootable volumes readily at hand.


- Patrick
======
 
H

honestone33

Guest
How is that a defect in Spotlight?

I've never had an application inform me that I needed to have Spotlight enabled. If that was the case, why then would Apple allow it to be disabled, like I have always done?
 
H

honestone33

Guest
Well Sly, I guess that leaves at least both of us scratching our heads in bewilderment???

But I wonder if DiskMaker X provides a means of manually looking for the installer file instead of relying on a spotlight search find it??? I've never tried it as I don't need it with multiple bootable volumes readily at hand.


- Patrick
======

You did not answer my question above, regarding "Where did you get this notion that Diskmaker X relies on Spotlight?".

And I just stated above that DiskMaker X does provide a manual way to finding the installation file. As it is, I suspect it has always behaved that way, ie, the way I described it (ie, not immediately finding that file) is the way it normally works.

Also, based on your statement above, "I've never tried it as I don't need it with multiple bootable volumes readily at hand.", it looks like you have never used Diskmaker X. Hence, how can you say that it depends upon Spotlight (which obviously it does not)?

Finally, I also have 2 other bootable backups for each of my Macs on external SSDs, but based on Rod's post #28, he makes an excellent point about having a bootable installer on a USB Flash Drive. It's an excellent contingency in case a bootable device has issues (like he apparently once did with CCC).
 
Last edited:
Joined
Oct 16, 2010
Messages
17,540
Reaction score
1,576
Points
113
Location
Brentwood Bay, BC, Canada
Your Mac's Specs
2011 27" iMac, 1TB(partitioned) SSD, 20GB, OS X 10.11.6 El Capitan
Gheese...

You did not answer my question above, regarding "Where did you get this notion that Diskmaker X relies on Spotlight?".

Again, yes, just as I posted in my #30 post!!!

In case you missed it:
You may have some problems getting DiskMaker X to work properly unless you have recently enabled your Spotlight to work as DiskMaker X relies on it as it tries to find the OS X Install program with Spotlight as you might have read at the developers site.

And you could have checked at the developers site:
As soon as you launch the application, it tries to find the OS X Install program with Spotlight.
DiskMaker X

Luckily, it seems that it also provides alternate methods.

Amen. :phew


- Patrick
======
 
H

honestone33

Guest
Gheese...



Again, yes, just as I posted in my #30 post!!!

In case you missed it:


And you could have checked at the developers site:

DiskMaker X

Luckily, it seems that it also provides alternate methods.

Amen. :phew


- Patrick
======

Good god!!! Talk about having difficulty reading! I did see that, and you specifically stated "unless you have recently enabled your Spotlight to work as DiskMaker X relies on it as it tries to find the OS X Install program with Spotlight ". That says it needs Spotlight to find the Installer file. Definition of rely:

rely (verb) American English definition and synonyms | Macmillan Dictionary

Look at #2 in that link.

Fortunately, the developers of the program do not have tunnel vision, as they provided a logical (and expected) method of getting the file.

Additionally, I have used DiskMaker X in the past, without Spotlight turned on, and it worked the same.

I might try to copy the Installer file to my Applications folder and launch DiskMaker X to see if it automatically selects that file in the Applications folder. If it does, that would also say Spotlight is not needed.
 
Last edited:
Joined
Jul 14, 2008
Messages
1,227
Reaction score
8
Points
38
Location
UK
Your Mac's Specs
iMac 2.66 GHz 20", iPad Mini2 32GB, iPhone6 64GB, Watch Sport 42mm Black, iPad Air 2 128GB
Must do that before Catalina is released in case I need to go back to Mojave.

No idea if my software is 32 bit. I know how to check on iPad but not on Mac.

I assume a 32 GB memory stick is enough?


Sent from my iPad using Mac-Forums
 

Slydude

Well-known member
Staff member
Moderator
Joined
Nov 15, 2009
Messages
17,612
Reaction score
1,078
Points
113
Location
North Louisiana, USA
Your Mac's Specs
M1 MacMini 16 GB - Ventura, iPhone 14 Pro Max, 2015 iMac 16 GB Monterey
@Nighthawk4 A 32 GB stick will be more than enough. In fact, an 8 GB stick should be sufficient.

This article gives you two methods of finding 32-bit apps on your Mac. Personally, I prefer the first method.
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top