Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

MOM20xx

macrumors member
Original poster
Aug 24, 2021
35
9
Hi,
because i didn't get correct search results in Messages App i tried to rebuild spotlight according to https://www.switchingtomac.com/macos/spotlight-search-not-working-on-mac-try-these-9-fixes/ is used the commands:

Code:
sudo mdutil -Ea
sudo mdutil -ai off
sudo mdutil -ai on

after doing so i get:

Code:
sudo mdutil -sav
/:
    Indexing enabled.
/System/Volumes/Data:
    Indexing enabled.
    Scan base time: 2023-02-03 18:17:13 +0000 (1538 seconds ago), reasoning: '(null)'
/System/Volumes/Preboot:
    Error: unknown indexing state.

on my macbook where i did not execute this commands /System/Volumes/Preboot has state Indexing enabled. So how can I repair this or is reinstallation of os required?
 
Preboot should not appear when you run that command.
Try to reboot.
If it still shows up, run First Aid “Repair volumes, then containers, then disks”
https://support.apple.com/HT210898
https://support.apple.com/en-us/HT210898
it should not appear, but it does. also on my macbook pro m1 13"

both machines wher installed with Apple Configurator in DFU mode and ipsw file.

Code:
sudo mdutil -X /System/Volumes/Preboot
fixed it after that

i got

Code:
sudo mdutil -sav
/:
    Indexing enabled.
/System/Volumes/Data:
    Indexing enabled.
/System/Volumes/Preboot:
    Indexing enabled.
 
Preboot should not appear when you run that command.
I think it should. It has always (Ventura) been there for me.
sudo mdutil -sav /: Indexing enabled. /System/Volumes/Data: Indexing enabled. /System/Volumes/Preboot: Indexing enabled.
That looks good. The first two should both gain a line like this after indexing and a reboot:
Scan base time: 2023-01-30 08:26:06 +0000 (307997 seconds ago), reasoning: '(null)'
 
That looks good. The first two should both gain a line like this after indexing and a reboot:
Scan base time: 2023-01-30 08:26:06 +0000 (307997 seconds ago), reasoning: '(null)'
Code:
sudo mdutil -sav
/:
    Indexing enabled.
    Scan base time: 2023-02-03 23:02:30 +0000 (368 seconds ago), reasoning: '(null)'
/System/Volumes/Data:
    Indexing enabled.
    Scan base time: 2023-02-03 22:58:43 +0000 (595 seconds ago), reasoning: '(null)'
/System/Volumes/Preboot:
    Indexing enabled.

Is this ok after reboot that the 2 Volumes have different Scan base time?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.