Hot answers tagged

11

If your ExFAT drive is not mounting, here is the solution. sudo pkill -f fsck fsck was holding the disk hostage. A quick ps aux | grep fsck revealed that indeed it was hijacking the disk/volume as soon as it was plugged in. sudo pkill -f fsck (or just kill with the PID if you prefer) immediately allowed the volume to be mounted. Then to make the hard ...


10

Get the device number of the RAM disk: diskutil list (e.g. disk3) Add some content to the RAM disk 😉. Unmount the volume: diskutil umount disk3 Mount the RAM disk read-only: diskutil mount readOnly /dev/disk3. Apply the disk number according to your environment! unmount/mount works for an HFS+ disk (in case of a RAM disk)/volume or an APFS volume only ...


8

You have one drive. Your diskutil list command tells you everything you need to know: there's only one entry that has a "physical" characteristic to it and it's disk0. When you boot into Recovery, there are many RAM disks that get created and in your case they are disk1 through disk19. If you notice on each identifier, it describes it as a "...


6

Possibilities are: There is no second drive There is a second drive that is undetectable because faulty or badly connected You can find out which it is by simply opening the black plastic bottom and looking, no "process" required. In the picture of what you will see when opening the back, I have indicated the two connectors for the two possible ...


5

Catalina uses a new split-volume system for its file system, where system files are stored on a read-only volume, and user-modifiable parts of the filesystem are stored in a separate "Data" volume that's normally mounted read-write (see this article for more info). But in single-user mode they're both mounted read-only. If you just need write access to the ...


4

Here's how I did it mkdir -p /Volumes/work \ && mount -t smbfs //admin:$(security find-internet-password -D "Network Password" -l "share name" -w)@server/work /Volumes/work The keychain access was a bit tricky, I found the answer and wrote it there. The important part was the capitals when specifying the secret kind. You'll need to be able to ...


3

Unfortunately, this is not how macOS works. SMB or Server Message Block is a Microsoft Windows technology so it stands to reason that sharing links to SMB shares (or as Microsoft calls them, network shares) is baked into the OS. The UNC share isn't "mounted" like it is in Unix where "everything's a file". In Windows, you can "map&...


3

I had the same problem (invalid o_type (0x40000003, expected 0x4000000b)) after an upgrade of an OS to 10.15.3 and I was able to fix it in a very bizarre and unexpected manner. I added another APFS volume to the container that had a volume that was having problems. After that I was able to mount the old container with no problem. It seems now I have two ...


3

Is there a way to set how the drives mount on boot so they are always at the same mounting location/path? You don't need to specify the order in which they boot; you use the UUID. To get the UUID of a drive in macOS use the command: % diskutil info diskXsY | grep -i UUID where X is the disk number (i.e. /dev/disk5) and Y is the slice or partition number (...


3

Here is a roadmap: Create an empty folder. Give it a good name. Put your app in the folder. Create an alias of /Applications in the folder. Change the name of the alias to " ". Resize the folder to your taste. Give a suitable background image to the folder. See these instructions for instance. Create the dmg from the folder.


2

I have this setup, please do the machine/folder names translation according to your case. In /etc/exports on server side (mine is a centos 7): /workspace_guest/02.code 172.20.0.1(rw,sync,insecure,all_squash,anonuid=1000,anongid=1000) From client side (macOS Catalina Version 10.15.6) $ sudo mount -t nfs -o resvport,rw,noowners 172.20.0.100:/workspace_guest/...


2

I would use hdiutil ... instead of other methods but with an image protected by a certificate instead of a password. This is similar as to building an encrypted image with a password and a recovery key (based on a cert) - without password though: Create a temporary cert folder and cd into it: mkdir ~/certsecdmg cd ~/certsecdmg Create a root CA if you don'...


2

Start by finding the device node for your RAM disk by running the following in the Terminal: diskutil list You'll find that the ram disk is probably listed as something like disk3, disk4 or similar. Then mount the RAM disk as read-only: mkdir ~/MyReadOnlyMountPoint mount -o ro /dev/disk3 ~/MyReadOnlyMountPoint I assume that you have formatted the whole ...


2

I believe you're overlooking the obvious: Removed drive, attached to another Mac via USB/external enclosure Disk Utility sees the drive but no volumes under it Mount button is disabled First Aid says "Problems were found with the partition map that might prevent booting" Remember, First Aid and fsck can only fix logical problems (...


2

I don't think the "Ask for Text" action provides that feature so you'll have to run an AppleScript command instead to display the dialog: on run {input, parameters} return {text returned of (display dialog "Password:" ¬ default answer "" with icon note buttons {"Cancel", "Enter"} ¬ default button "Enter" with hidden answer)} end run ...


2

You’ve got the classic dilemma. How much would you pay to get your data back? If you allow fsck to “repair” the drive, it might repair the volume structure by removing references to legitimate files. But to learn that, you have to pay for data recovery. You could say yes and let it repair - it’s often a small error and quickly resolved. But, with Time ...


1

Try connecting manually. In the top left portion of the screen, select the menu button at the top (three dots in a circle) and then select “Connect to Server”. Try using the IP address first. Make sure you firm the URL correctly: smb://<Synology IP Address> You should be asked for username and password. If that works, try it with the DNS name ...


1

You can check that the .iso file does indeed have an HFS/HFS+ volume on it with the file command (I can't remember if this is native or if I installed it via homebrew... might have to do that yourself): file -k --mime path/to/something.iso If it does have an HFS volume, then the output will be 3 lines (instead of 2). something.iso: application/x-iso9660-...


1

Yes, this is by design. Boot to recovery and choose terminal from the Utility menu. https://support.apple.com/en-us/HT201314 Here is an example of when you use terminal app from recovery for things we used to use single user mode to accomplish. https://support.apple.com/en-us/HT207584 Of course don’t follow all the steps above unless you want to erase ...


1

Technically you can only mount a volume on an existing folder. The trick that nevertheless makes this possible for macOS in general is that a program makes sure to create the folder before performing the mount. This kind of functionality is generally known (across operating systems) as an "auto mounter". And indeed macOS contains a program named automount ...


1

Using a macOS Catalina system as the file server with /Users/Shared/Videos as an SMB shared resource, and having done a bit of testing, found the following example AppleScript code to work well when testing using Script Editor from another system on the network in which the credentials have already been saved in its Keychain: set ipAddress to "172.16.15.141"...


1

Since the other answer is a bit devoid of explicit/specific details, this is meant to show how it can be done. In /etc/fstab I've added the appropriate entry to have the target disk containing the TimeMachine.sparsebundle file automatically mount to the target location, when inserted, as shown in your post. As it's not clear yet you are using the -...


1

You can create a launchd LaunchDaemon definition with the key “StartOnMount” set to true. This will allow you to have your own script run whenever something is mounted. Your own script should then just check if “Backup” is mounted without “TimeMachine” being mounted - and if so, mount “TimeMachine”. You can use the “mount” command to get information on the ...


1

It turns out that the version of Samba (3.0) running on the server only does SMB1, whereas Catalina requires at least SMB2 (which didn't come in until Samba 3.5). Caught between a rock and a hard place. Given that the Samba box (1) is now only being used, at least on any sort of regular basis, by me, making it gross overkill, (2) is literally doing nothing ...


1

If you mount a drive one of the things which happens is that the file system type gets identified so macOS afterwards knows how to access the content of the drive (and find the DMG for instance). So operating systems can't access files on a drive without mounting it first. Your actual problem seems to come from the fact that TestDisk is a tool to recover ...


1

No. There is nothing (that I could find) from Apple indicating that bless has been deprecated. The two articles you posted: Don’t Use bless To Change Startup Disks Any More In OS X Setboot? Formerly bless? Command line OS switching? are a blogger's opinion about what to use instead of bless and a thread in an Apple Discussion forum in which a random ...


1

After much toil, I discovered that indeed it was APFS and since my system was version 10.11.6, it would not work. On 10.13.x, I was able to double-click the image file and mount it. This is because older versions of macOS do not support APFS. Thanks to all who assisted, or attempted to assist me in this matter. Additionally, for those out there looking ...


1

Exactly my issue, but luckily, the solution was simple! Take a coffee and wait. Seems like Catalina does a thorough disk check whenever you try to mount some sort of disk. For example, my HDD had around 500GB of data and it took around 5 minutes before it was automatically mounted and working as expected. In the meantime, I was unable to mount and to eject ...


1

So, I had to revise the title/question as the solution to my problem was not an answer to the question posted originally. As far as I know, there is no way to manually edit the list of attached volumes manually. However, I managed to prevent mounted volumes to become "permanently attached" by borrowing parts of a solution to a similar problem. The problem ...


1

Finally, after many turns, I've found what's going on: The executing shell/app in the script (e.g. zsh, sh, python - in my case /bin/bash) needs to have Full Disk Access privileges. In order to do so I went to Apple Menu > System Preferences > Security & Privacy, selected Privacy tab, unlocked the settings and added /bin/bash to the list. Now I can ...


Only top voted, non community-wiki answers of a minimum length are eligible