Slow boot time after update to Mojave - External SSD

Hello!


I have a iMac 21" 4k 3,1ghz 2015. I installed an external SSD Samsung 860 Evo 512gb to avoid losing the Apple 1yr warranty if I opened my iMac by myself.


So when I was using APFS format and OSX High Sierra, my iMac used to start, then 2 seconds with a completely empty screen(black) looking for the boot SSD, then the Apple logo appear and it would take another 18 seconds for the system to start completely.

Total boot time = ~20secs.


Now I installed the new MacOS Mojave and my current boot time are very very slow; when I turn on the computer the screen stills black for 2 minutes more or less "looking for my external boot SSD" and then the Apple logo appear and +18secs the system starts.

My current boot time = More than 2~3minutes!!!!

I have also a MacBook Pro 2017 TouchBar and TouchID with 512GB integrated SSD also with APFS format, and update this from High Sierra to Mojave at the same day/time to the iMac. Fortunately the MacBook Pro booting done in about 20secs.


So... There is any solution for fixing this "everlasting" blank screen when booting the iMac with MacOS Mojave and external SSD with APFS format?

I've researched about this, but I can't find anything to solve it. So, I hope someone here may help me!



Thanks!

iMac, macOS Mojave (10.14)

Posted on Sep 28, 2018 8:34 AM

Reply
Question marked as Top-ranking reply

Posted on Oct 16, 2018 4:22 PM

I can confirm that just moving my external SSD from USB to Thunderbolt enclosure solves the delay at Mojave startup. I use Delock 42510 (85 EUR at amazon.it + 11 EUR Standard shipping with DHL road) and an Apple Thunderbolt cable (35 EUR).


In my opinion UEFI bootloader either tries to recognize the drive as SSD or wants to read its Firmware revision. This looks like a problem in UEFI and most probably is related to the limit that Apple put on external HDDs to use APFS last year.


Looking at System Information and DriveDX logs, I found several differences. In the Thunderbolt enclosure, drive is recognized as SSD with its Firmware revision, non-Removable, with native S.M.A.R.T. support, Bus Type = SATA, ATA Features = 0x-1, SATA Features = 0x2e. TRIM is not enabled.


In the USB enclosure, drive is not recognized as SSD, it's Removable, there is no Firmware revision, no native S.M.A.R.T. support, Bus Type = USB, ATA Features = 0x20, SATA Features = 0x-1. TRIM is not supported.

345 replies

Oct 3, 2018 1:53 PM in response to Northern315

Northern315, I had a similar issue, was booting on the internal drive where I have a reminiscence of macOS something 🙂 Try this: boot into Mojave, go to Settings -> Startup Disk , unlock the modifications option then select your Mojave disk, then click on the small Restart... button that you have in the right side. This fixed my issue with not booting into Mojave/External SSD. Now I still boot in 1000 years, but at least I dont have to choose the disk everytime.


Hope this helps.

Oct 5, 2018 4:04 AM in response to denthomp

Hi,


i had similar issues with an iMac and a MacBook pro booting forever. I found a solution within a german board.

I use LittleSnitch on both machines and after uninstall both machines run as fast as expected prior to High Sierra performance.

So if you run Little Snitch try this one out. I informed the Developer of Little Snitch about this boot delay.


cheers

Boris

Oct 17, 2018 4:14 PM in response to _fiery

For those interesting if trim adds a delay at boot time, issue the following command in the Terminal:

log show --predicate 'eventMessage BEGINSWITH "spaceman"' --last boot

TRIM works only on internal and Thuderbolt drives. But even for USB drives kernel scans for free blocks and as it seems try to send trim command.


Here is an example when my SSD was in USB case:

spaceman_trim_free_blocks:3245: scan took 0.072297 s, trims took 0.000000 s

Then in the Thunderbolt case with disabled trim (almost the same as USB):

spaceman_trim_free_blocks:3245: scan took 0.044788 s, trims took 0.000000 s


After the "sudo trimforce enable" command, there was ~25 sec. delay at boot:

spaceman_trim_free_blocks:3245: scan took 25.185298 s, trims took 24.876005 s
spaceman_trim_free_blocks:3253: 38503357 blocks free in 31653 extents
spaceman_trim_free_blocks:3261: 37603569 blocks trimmed in 257 extents (96793 us/trim, 10 trims/s)
spaceman_trim_free_blocks:3264: trim distribution 1:0 2+:0 4+:0 16+:0 64+:0 256+:257
spaceman_trim_free_blocks:3268: 899788 blocks not trimmed in 31396 extents
spaceman_trim_free_blocks:3271: skipped trim distribution 1:12558 2+:6120 4+:7423 16+:2831 64+:1495 256+:969


Today, log shows very little delay at boot:

spaceman_trim_free_blocks:3245: scan took 4.142163 s, trims took 3.798943 s
spaceman_trim_free_blocks:3253: 38487035 blocks free in 32350 extents
spaceman_trim_free_blocks:3261: 38487035 blocks trimmed in 32350 extents (117 us/trim, 8515 trims/s)
spaceman_trim_free_blocks:3264: trim distribution 1:12948 2+:6319 4+:7522 16+:2837 64+:1503 256+:1221

Nov 14, 2018 1:29 AM in response to alex-101

I have decided to go another way now. I am now heavily using the Sleepmode instead of shutting down and restarting my iMac, so I only reboot quite rarely now. Using AppleScript, I have written myself two small shell scripts that reside on my desktop for quick access. One enables the "Allow drives to enter sleep mode" option within energy settings and then sends my iMac directlly into Sleepmode. After waking it up again later, I start the other script which simply disables the aforementioned option (because I don't like any of my drives going into sleep mode while the machine is on). Using these two scripts eliminates the tedious need of entering the password each time you change that option and saves some mouse clicking.

I have also permanently disabled the "Power Nap" option and the "Wake up on network activity" option in order for my iMac to do absolutely NOTHING while in Sleepmode. So I think my Sleepmode configuration is the closest you can get to fully shutting down - but at the same time, I now have zero boot time when waking the iMac up again. The iMac and the external SSD stay completely cold while in Sleepmode, no sound is heard. And I can use the keyboard to start my iMac instead of having to use the rear button ;-))

For me, this is the best way to go while waiting for Apple to fix this issue, but as someone else has already said, my hopes for an Apple fix start to vanish too... on the other hand, I don't want to switch back to HFS+ and I am not willing to spend about 150 Euros for the Thunderbolt solution either just to reduce boot times back to normal.

Nov 23, 2018 1:49 PM in response to NerdVr

I have an iMac 5K 2017 with 32GB RAM and 3TB fusion internal HDD with no USB boodting and still experienced Mojave slow starts and more annoyingly slow waking up from sleep (each wake up is a wait of a minute). Before Mojave all was pretty instantenous.


Looking at this thread I had a go and removed Paragon NTFS software I had (latest version 15.1.x updated for Mojave) and it worked. My boot times are as fast as in Sierra before and waking up from sleep are instanteneous. I think people do have to try to eradicate all 3rd party software/drivers from the system especially when slow boot times have not much to do with USB SSD like mine.

Nov 23, 2018 4:51 PM in response to Alexey.Danilchenko

I did a fresh MacOS install (no 3rd party software at all) and I still had this problem.


As I mentioned earlier, I fixed this by cloning an existing MacOS installation files to a HFS+ preformatted drive. I have been using this for some time now and it is working without any issues every day (touches wood). But again, I did this at my own risk and I don’t mind if this hard drive fails – I have backups and I use cloud providers along with local NAS server.


I wanted to ask has anyone opened their iMac and replaced the existing internal HDD with a Samsung SSD? Can someone who has done this please comment if they are affected by this? Am I right in thinking that this is a USB-only bug?

Dec 25, 2018 7:36 AM in response to JDW1

Nope. It's not specific to Mojave... Mine started on High Sierra (Immediately after converting my external Samsung 860EVO in an Inteck USB3 enclosure to APFS). That was a 90 MINUTE boot.


Upgrading to Mojave didn't fix it. Neither did a Sandisk Extreme SSD (After the Mojave upgrade). Reformating the disks to APFS (As opposed to converting them to APFS) resulted in a mere 90 SECOND boot time.. Still too slow.


Having Windoze on the Samsung increases the boot time (again) to about 10 minutes.


The delay (For me) is in the firmware. Not the OS. You can see that also if you enable verbose on the mac boot (-v). The delay is all BEFORE the OS boots.



Oct 17, 2018 4:35 AM in response to miketoreno

I did enable trim, but noticed that it took 25 sec. at next startup. You can look at console.log to see how long is trim taking at boot time. To do so, after the boot you need to collect the log info in a file. I use similar to this command:

sudo log collect --output ~/Documents/log.logarchive --last 1h


Then double click on the produced log.logarchive file in your Documents folder, show "All Messages" and search for "spaceman" or "trim". Log command has a "show" switch, but I'm not familiar how to use it, yet.


With trim disabled it takes 0 sec., but it shows thousands of blocks awaiting trim. So, I will look if that slows down boot process too much and will disable trim.

Nov 13, 2018 3:06 PM in response to alex-101

Hi guys, I decided to try the suggestion from the other Alex because I have set up my Macbook the way I want it and I thought it would be nice if I could simply clone all my Apps, Settings, Files, etc to the SSD.


Bottom line: it worked. My total boot time is now 45 seconds (with APFS it is 2 and and 25secs).


Please note that I don’t keep any important data on my SSD, so I am not warried about it crashing. I also feel that the fact that Apple used HFS+ for so many years means that it will likely continue to work at least for a few more years.


But again, I did this at my own risk and I do realise that this is not officially supported.

Nov 17, 2018 9:25 AM in response to grdh20

@grdh20 - Would you please, specify your TB3 enclosure. USB-C connector looks like Thunderbolt v3, but connection is only USB. Thunderbolt drives are listed under "SATA /SATA Express" section of System Information with these fields:

Medium Type: Solid State

Removable Media: No

TRIM Support: Yes/No

S.M.A.R.T. status: Verified

Nov 17, 2018 10:24 AM in response to _fiery

It’s not USB or any other connection problem. I’m not going to repeat repeat my previous lengthy posts but the fact that you can work around the issue and get fast boot up by cloning a Mojave system from Apple HDD to HFS+ formatted SSD connected via USB proves that. I know that’s not supported by Apple and some posters advise strongly agsbut... it has worked for me for weeks now.

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.

Slow boot time after update to Mojave - External SSD

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