disk utility – Can’t reclaim empty space on main macOS partition [macOS Mojave]

A while ago I made a linux partition on my MBP (2017), but it didn’t work so well so I needed to delete the partition. After a lot of trouble trying to delete it, I found this answer; I used the second part to free the space on the old linux partition, and then I resized it to 0. Only, it didn’t actually resize. The partition is still there (though it is no longer showing up in Disk Utility):

$ diskutil list
/dev/disk0 (internal):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                         500.3 GB   disk0
   1:                        EFI EFI                     314.6 MB   disk0s1
   2:                 Apple_APFS Container disk1         276.5 GB   disk0s2
   3:                        EFI NO NAME                 629.1 MB   disk0s3

/dev/disk1 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +276.5 GB   disk1
                                 Physical Store disk0s2
   1:                APFS Volume Macintosh HD            246.9 GB   disk1s1
   2:                APFS Volume Preboot                 45.9 MB    disk1s2
   3:                APFS Volume Recovery                510.8 MB   disk1s3
   4:                APFS Volume VM                      1.1 GB     disk1s4

I think it is this line that is the culprit, though I am not sure:

   2:                 Apple_APFS Container disk1         276.5 GB   disk0s2

As I say, I have run

diskutil apfs resizeContainer disk0s2 0

As per the linked answer, but nothing changed. Even in recovery mode, Disk Utility will only show the ~277 GB I have available on the main partition.

How can I reclaim this space, which is no longer actually showing up?


P.S., this is what I had before I ran those commands:

$ diskutil list
/dev/disk0 (internal):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                         500.3 GB   disk0
   1:                        EFI EFI                     314.6 MB   disk0s1
   2:                 Apple_APFS Container disk1         276.5 GB   disk0s2
   3:                        EFI NO NAME                 629.1 MB   disk0s3
   4:                  Apple_HFS Untitled                222.7 GB   disk0s4
   5:                 Apple_Boot Boot OS X               134.2 MB   disk0s5

/dev/disk1 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +276.5 GB   disk1
                                 Physical Store disk0s2
   1:                APFS Volume Macintosh HD            249.7 GB   disk1s1
   2:                APFS Volume Preboot                 45.9 MB    disk1s2
   3:                APFS Volume Recovery                510.8 MB   disk1s3
   4:                APFS Volume VM                      6.4 GB     disk1s4

/dev/disk3 (disk image):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                            NO NAME                +10.7 GB    disk3

NO NAME was just a USB drive, by the way.

How to dual boot an iMac 2020, 27″, T2 from (Catalina & Mojave)

I need to add a Mojave partition to my native Catalina iMac 2020, 27″, T2.
To date all attempts to boot from a Mojave external install drive have failed. “Secure Boot” is set to “No Security” and “External Boot” is set to “Allowed”. Catalina just shows a “No Entry” sign after selecting the Mojave Installer drive. I know this machine will support Mojave. I am able to boot exclusively from a Catalina external install drive. If I wipe the computers internal hard drive from a Catalina external install drive will I be able to access the machine and install Mojave? If so how do I proceed? Any other possible scenarios. What about target disk mode?

Thanks again.

email – reattach old mailboxes to apple mail for searching (on macos mojave)

I have a backup of my ~/Library/Mail/* folder on an external disk and I’d like to search old mailboxes, preferably within the Mail program. I can see a dozen or so folders in there with guid file names that contain INBOX.mbox files for various email addresses I’ve had in the past. I can manually open all these numbered folders and find individual emails but they aren’t associated with their attachments or context.

The domains, servers and accounts these mailboxes were attached to are long gone.

How can I open these old inboxes in an interface and browse the emails?

macos – internet sharing (mojave) AND two-way connection

I apologize for any confusion bc of the subject line. Explanation:

I am sharing a wireless connection on a Mojave MBP 2012 (ethernet/thunderbolt/USB) with a PC running Win10. The PC is able to surf, so internet sharing is nominally working. Is there a way to also go in reverse? What I mean is, I want to use the same network to connect from the MBP to the PC, for example using Remote Desktop.

My hardware is configured as follows:

wireless router <---> MBP <---> eth <--->|        |<---> eth <---> PC
                                         8-port hub

For separate reasons, I’m not using the default internet sharing settings:

icu-mojave:~ $ ifconfig bridge100
bridge100: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
    options=3<RXCSUM,TXCSUM>
    ether aa:20:66:b1:68:64 
    inet 192.168.22.10 netmask 0xffffff00 broadcast 192.168.22.255
    inet6 fe80::a820:66ff:feb1:6864%bridge100 prefixlen 64 scopeid 0xe 
    Configuration:
        id 0:0:0:0:0:0 priority 0 hellotime 0 fwddelay 0
        maxage 0 holdcnt 0 proto stp maxaddr 100 timeout 1200
        root id 0:0:0:0:0:0 priority 0 ifcost 0 port 0
        ipfilter disabled flags 0x2
    member: en0 flags=3<LEARNING,DISCOVER>
            ifmaxaddr 0 port 7 priority 0 path cost 0
    Address cache:
        84:2b:2b:a5:11:63 Vlan1 en0 1199 flags=0<>
        dc:a6:32:96:3f:b8 Vlan1 en0 1192 flags=0<>
        84:2b:2b:a5:11:10 Vlan1 en0 1187 flags=0<>
    nd6 options=201<PERFORMNUD,DAD>
    media: autoselect
    status: active

My ethernet interface looks like this:

screen shot of sharing settings

As I mentioned, this “works.” The PC is surfing the internet etc – it is set up to get an address conventionally (DHCP) and has the IP 192.168.22.11.

Problem: from the MBP, I can’t ping 192.168.22.11. I get a request timeout (as opposed to host down for example). I figure if I can’t ping it, I can’t do anything else either. For starters, I’d like to connect to the PC using Remote Desktop from the MBP so I can get rid of the extra monitor and keyboard.

OK that’s it – is this quest even possible perhaps with a change to bootp settings, or do I need to replace the hub with a router and create a 2nd downstream network? I’ve read that Apple’s NAT doesn’t do “true bridging,” but I can’t evaluate that comment or whether that’s the issue even.

mojave – Where are / are the “counting hand” cursors used in macOS

I was looking around inside the system folders in MacOS and where the cursors are there are 3 cursors I’ve never seen before called countinguphand, countingdownhand and countingupandownhand. You can find them in /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/Resources/cursors(I’m on mojave so it may be different), Or go to System/Library/ and search for PDFs. I haven’t found any info about these cursors online, it doesn’t look like css supports them… So are they just leftover or is there any use for them I can’t think of? Thanks in advance for any info!

How can I configure my macOS Catalina installation to recognize, and use, the version 12.4 Mail.app used in macOS Mojave?

The macOS Catalina Mail.app preferences panel has an option for selecting between the version 13.4 Mail.app (Catalina) and the version 12.4 Mail.app (Mojave). With both versions of the Mail.app in the Catalina System Applications folder, I am unable get Catalina to launch the older version 12.4 Mail.app. I’m sure it’s a simple configuration issue. I’d appreciate any guidance available.

macos – Installing Mojave on External Drive from Yosemite?

How can I install MacOS Mojave on an external drive without updating my internal drive’s currently installed OS: Yosemite?

There are a few tutorials floating around but they seem to be out of date, the ones I’ve found mention running the app store downloader, then opening the contents of the file Applications/Install macOS Mojave.app. I’ve downloaded the Mojave install files via the Install macOS Mojave.app but the downloaded files were placed on the target volume instead and don’t match the file names that the tutorial lists.

The machine I’m using is a MBP113, on macOS 10.10.5.
It is compatible with macOS Mojave.

mojave – Finder crashes whenever I try and open certain directory

I’m running Mojave 10.14.6 and I have a strange issue whenever I try to open a particular directory in Finder, or even in Terminal (using open . while pwd).

Attempting to open the directory causes Finder to completely crash and I cannot open a window of the directory at all, although I can cd into it and see the files using ls in Terminal.

The folder is /Library/Preferenes/app_config and it’s created by one of my Scientific CAD applications.

The errors I get when I try to open it are:

Nov 6 21:26:54 Crapple Finder(2776): assertion failed: 18G103:
libxpc.dylib + 90677 (7DEE2300-6D8E-3C00-9C63-E3E80D56B0C4): 0x89

Nov 6 21:26:54 Crapple com.apple.xpc.launchd(1)
(com.apple.imfoundation.IMRemoteURLConnectionAgent): Unknown key for
integer: _DirtyJetsamMemoryLimit

Nov 6 21:26:54 Crapple com.apple.xpc.launchd(1)
(com.adobe.accmac.ACCFinderSync.A26C65A3-1B74-476F-9620-1D52DB676221(2781)):
Caller wanted oneshot behavior for pre-existing instance: caller =
Finder

Nov 6 21:26:55 Crapple Finder(2776): objc(2776): Class
FIFinderSyncExtensionHost is implemented in both
/System/Library/CoreServices/Finder.app/Contents/MacOS/Finder
(0x107f1e750) and
/System/Library/PrivateFrameworks/FileProvider.framework/OverrideBundles/FinderSyncCollaborationFileProviderOverride.bundle/Contents/MacOS/FinderSyncCollaborationFileProviderOverride
(0x1091eaf50). One of the two will be used. Which one is undefined.

Nov 6 21:26:59 Crapple com.apple.xpc.launchd(1)
(com.apple.quicklook(2782)): Endpoint has been activated through
legacy launch(3) APIs. Please switch to XPC or bootstrap_check_in():
com.apple.quicklook

Nov 6 21:27:12 Crapple VTEncoderXPCService(761): DEPRECATED USE in
libdispatch client: Changing the target of a source after it has been
activated; set a breakpoint on _dispatch_bug_deprecated to debug

Any hints on how to fix this annoying problem would be helpful, thank you.

keyboard – macos mojave lock screen timeout

I use my MBP in clamshell mode because the keyboard has stuck keys and the display is cracked.

I wake my mac by clicking the mouse or hitting a key on the usb keyboard.

My monitor takes ages to initialise the HDMI and turn on, and then sometimes it is set to the wrong input. By this stage, the mac has often gone back to sleep because nobody has logged on.

How do I change the timeout for the lock screen so that it waits a bit longer – say 1 minute – for someone to log on before going back to sleep mode?

mojave – Different hibernate modes on MacBook Pro?

Sorry if this question will appear to be stupid.
Is it possible to set one hibernate mode (for example 3) when macbook is on power adapter and another hibernate mode (25) when it’s on battery. Is it absolutely nonsense or…? hehe
Thanks in advance