macos – Time Machine in the El Capitan installer

If I do not miss anything, I'll install El Capitan (if you try) and then use the Migration Assistant app in El Capitan to restore the data from your Time Machine backup.

For more information, see How to Move Your Content to a New Mac on the Apple Web Site.

In summary, you can use the Migration Assistant to transfer data, user accounts, settings, and apps from your backup drive. You can do this manually after installing El Capitan.

The Migration Assistant can also be used multiple times so you can select a combination of items to transfer (for example, applications, user accounts, settings).

Note that programs and utilities bundled by Apple with Mac OS X / macOS (for example, Safari, Mail, and so on) can be transferred (although some user data, such as your Safari bookmarks, are transferred become).

macos – fix fork: resource temporary notavailable on OS X El Capitan

On my Mac with OS X El Capitan 10.11.6, there are some issues that seem to be related to resource constraints. I have seen such things error: cannot spawn or unable to fork or

-bash: fork: retry: Resource temporarily unavailable
-bash: fork: Resource temporarily unavailable

Due to the fact that my system did not freeze or spit errors everywhere, I expected the number of processes I could perform to reach my limits.

$ ulimit -u
709

709 is a lot of processes, but I ran a lot of servers on my Mac, so it seemed possible that I used so many. I've tried this command, which prints out how many processes the user is performing (actually 1 more than the number of processes).

$ ps -xu $(id -ru) | wc -l
fork: Resource temporarily unavailable

OK, I could not execute this command, creating 3 processes. So I was probably at the process limit. And the error message did not start -bash that was not the point ulimit either. I have reached the system-wide limit kern.maxprocperuid,

I could confirm this by running a shell as root:

$ id -ru
501
$ sudo -i
root# ps -xu 501 | wc -l
706

Yes, 706 <709, but mdworker Processes come and go routinely, so it was conclusive enough to approach the border area.

How do I increase the limit on the number of processes I can run? I searched for answers and found articles that suggested creating a file /Library/LaunchDaemons/limit.maxproc.plist with this content:

 
 
 
 
 Label
 limit.maxproc
 ProgramArguments
 
  launchctl
  limit
  maxproc
  2048
  4096
 
 RunAtLoad
 
 ServiceIPC
 
 

I did that and restarted and now

$ ulimit -u
2048

Which would be great, except

$ sysctl kern.maxproc
kern.maxproc:
1064

THIS IS DANGEROUS, This means that the entire system is still limited to a maximum of 1064 processes, but a single user may create more than that. When the system reaches the maximum number of processes, it generally crashes quickly and in a very bad way. It is therefore very important that no user is allowed to create enough processes to complete the process table. On the Mac, the number of processes is limited to 2/3.

I found similar suggestions for the maximum number of open files maxfiles and maxfilesperprocEven more dangerous because a single process may not nearly open the system-wide limit on the total number of open files.

The other problem is that if 709 processes were not enough, 1000 processes are probably not enough.

So, what's the right way to fix "Too many open files" or "Branching: Resource temporarily unavailable" on OS X El Capitan?

el capitan – The second drive is inaccessible from the operating system, but it is available in recovery mode (no problem)

I have an iMac 2008 with 2 drives.
The main drive is an SSD in the DVD bay and a second 3.5 "HD drive in the original iMac bay.
After a reboot, before everything worked fine, the second drive is not accessible from the operating system, but if I boot in recovery mode, I can see the second drive and all the files in it.
I am running SMART and no problem is displayed on the hard disk.

el capitan – Each time you reboot / boot, a kernel panic occurs

If kernel panics occur repeatedly, try the following things until they disappear.

Make a safe boat:

Restart your Mac and hold down the SHIFT key until the gray Apple logo appears. This temporarily disables software that can cause problems and performs some cleanup processes. If the kernel panic does not recur, restart the computer normally.

Update your firmware:

Software Update may also let you know about available updates for your Mac. If so, make sure you install them. You can also check http://support.apple.com/kb/ht1237 for firmware updates for your Mac model.

Check your hard drive:

Make sure your boot disk has at least 10 GB of free space. If this is not the case, delete some files to make room. Then run the Disk Utility, select the Startup Disk, and click Repair Disk to find and fix any hard disk errors. If you are running OS X 10.7 or later, the easiest way to do this is to restart the computer and then immediately press and hold command+ R to call OS X Recovery.

And last,
Unfortunately, the easiest solution is to reinstall OS X over your existing system. If that does not work, delete the hard drive and reinstall everything.

A year ago, firmware updates and Safe Boot helped fix the problem under MacOS. You can try it.

Command line – Disable USB storage devices in El Capitan

The company I work for has to disable the ability to connect USB mass storage devices on all production computers. All computers are running OS X 10.11.6. Each computer has the following setup:

  1. USB ports on the device
  2. USB over Ethernet, which is then connected to a USB hub (for trunk lines)

I tried the following to disable USB devices:

  1. I have booted and run recovery mode csrutil disable
  2. Then I booted my admin account and ran:
sudo kextunload /System/Library/Extensions/IOUSBMassStorageClass.kext/
sudo kextunload /System/Library/Extensions/IOUSBMassStorageDriver.kext/

sudo mv /System/Library/Extensions/IOUSBMassStorageDriver.kext /System/Library/Extensions/IOUSBMassStorageDriver.kextbu
sudo mv /System/Library/Extensions/IOUSBMassStorageClass.kext /System/Library/Extensions/IOUSBMassStorageClass.kextbu

sudo touch /System/Library/Extensions
  1. Emptied my trash
  2. Restarted
  3. Activated again csrutil

And for some reason, USB mass storage devices still work on all ports.
I checked three times to see if the kernel extensions were properly renamed. This method has been proven to disable Wi-Fi and Bluetooth, but USB devices continue to work.

I do not want to completely disable the USB ports – only USB storage devices.

terminal – Has the Unix parameter name SystemAudioVolume in El Capitan been changed to SystemAudioVolume DB?

I try to change the start tone. When I checked the setting with:

sudo nvram -p

A setting for SystemAudioVolume DB% ee is returned

I entered:

    sudo nvram SystemAudioVolume=%00

If I check that again with sudo nvram -p

Both names appear in the list:

SystemAudioVolume DB ….% ee

SystemAudioVolume ….% 00 (accepted my setting but did not stop the sound)

Should I try to set SystemAudioVolume DB instead?

If so, is that the right way?

sudo nvram SystemAudioVolumeDB=%aa

(No place in front of DB.) Does anyone know the right area for it?
My computer is old, but I do not want to break it.

el capitan – Add an SMB printer through the terminal

Goal: Add a domain printer directly from the terminal without using its IP address.

Follow the instructions here:
https://dae.me/blog/1826/add-a-printer-via-command-line-in-os-x/#comment-256587

I have executed this command:

sudo lpadmin -p sharp4141n -L "front office code" -E smb://ESC-PRINT01.byu.local/ESCN284_MX-4141N -P /Users/jaybrown/Desktop/ESC_PRINT01_ESC_N284_SHARP_MX_4141N_PCL6.ppd

But get the error:

lpadmin: Unknown argument “smb://ESC-PRINT01.byu.local/ESCN284_MX-4141N”.

I am in a domain. On an iMac with El Capitan. Please help me.

Enter image description here

Hard Disk – When attempting to install OS X El Capitan, an error occurred when an external hard disk needed the GUID partition table scheme

I have an old MacBook Air with Mac OS X Lion 10.7.5 (11G63) software. I'm trying to install the OS X El Capitan, but have problems. At first there was not enough memory on the Mac (even though I deleted everything I can find), so I tried to use several disks that failed for some reason. Then today I got a new external 2T Adata hard drive and now it says

"This disk does not use the GUID partition table scheme." Use the Disk Utility to change the partition scheme, select the disk, select the partition tab, select the volume scheme, and then click Options. "

I go to Disk Utility and the Partition tab and lose myself from here. Choosing this disk also sounds like a desperate situation: "To delete and partition the selected disk, select a layout from the Partition Layout pop-up menu, set the options for each partition and click You can not change the size of the partitions on this disk because the master boot record partitioning scheme is used, this partition can not be changed. "

Just spent a bunch on this hard drive says my other hard drive that it does not work because it is the same hard drive that is used for time machines. Tried another and did not work, I think it was not compatible with apples. Am I just unlucky with hard drives? I've deleted everything I can find on my computer (including Recycle Bin), but it still says I have all those photos, movies, and music somewhere I can not find anywhere. If I had enough space on my empty computer, I would not have to worry about disks … Arggh. I just want to install El Capitan so I can update my Safari or Chrome. So far everything has problems and websites are not working properly.

Please help!

Snow Leopard – Mac OS X 10.6.8 can not be upgraded to El Capitan

MacBook Pro V: 10.6.8
Hardware: Intel 2.53 Ghz Core 2 Duo
Ram: 4GB
I want to upgrade my Macbook PRO, actually I have Mac OS X 10.6.8. I found the fist I need on Apple Support to download Mac OS X EL CAPITAN, but when I try to sign in, the package downloads the page Send me the following notification
Apple ID never use the App Store
Software update required.
and then you have to update my software.
Someone knows where and how to get MACOSX EL CAPITAN to upgrade my laptop. Many Thanks.

macos – El Capitan clean install on an older iMac?

I have an old iMac (Model 2010), which our working group has withdrawn. My colleague wants to use it for her son. I migrated all the data to a new iMac, deleted the drive, and reinitialized the recovery partition. After the AppleID check, the iMac states that El Capitan is "temporarily unavailable". Apple Help states that you use Cmd-R to avoid linking my AppleID to the computer. Without AppleID login I can not get to the installation point. Apple Help states using Internet Recovery instead. This model does not seem to support Internet recovery. I dont get any further. I'm totally at a loss. I tried to reset everything that can be reset, to find another AppleID, another identical computer on which El Capitan is installed, and to download the El Capitan installer to check that the macOS version was running with the Purchase history of the used AppleID is related … that is absolutely ridiculous. I have an identical 2010 home iMac that my son uses as a minecraft box. I used it, deleted the drive, and did an installation of the recovery partition. I can not understand why it worked then, but now it fails. What am I missing – or has Apple made changes, so that it is now impossible to install this operating system on hardware that supports nothing higher?