When restoring a Mac OS, the object is temporarily unavailable. Offline installation of OS X, without OS X

More than once or twice in the comments I have been asked to make the same informative site about the iPhone or MacBook..

In this article (and maybe a series of articles), I will write not entirely obvious instructions or life hacks that will make life easier for OS X users. I encountered most of the problems in my practice, so reading about them will be interesting for all owners of iMac, MacBook, etc. P. And remember! It will come in handy...

Disable iPhoto autostart when connecting iPad or iPhone

I don’t remember when this first happened, but for some time my MacBook Pro began to launch iPhoto when connecting iPad, iPhone and iPod to your computer via USB cable. It was infuriating. The funny thing is that the problem is solved not in iPhoto or in the system settings, but in the settings of the Image Capture application.

1. Connect the device to the computer via a wire. Close iPhoto, which launched automatically.

2. Go to the “Image Capture” application. Choose a device.

3. Select Do Nothing from the drop-down menu.

How to cut pictures from documents in Pages

For review competitions, we are often sent documents with screenshots already inserted into them. Although in the conditions of the competition I warn everyone - you don’t have to do that. Cutting pictures from Pages is very inconvenient. The simplest method was discovered only recently.

1. Right click Click on the picture with your mouse. Select “Copy” from the drop-down menu.

2. Open standard program viewing. Go to Menu->File. Select the item “New from clipboard”.

Lifehack. Organization of a film library

And finally, a life hack from me. How to organize a folder with films in order to clearly identify which films have been watched and which have not yet been watched. It will be useful for those who store all their films in one folder.

In OS X Yosemite, you can give files and folders color tags.

Now I have:

  • unwatched films and folders with them have an orange tag.
  • watched movies or folders with them have a green tag
  • folders in which some of the films have not been watched have a blue tag
  • I mark in red crap that I want to delete, but for some reason I left for now

This method seems to me the most convenient. Better than scattering them in folders: “Viewed.” You can sort the folder by tags and get unwatched movies or movies to delete separately.

Good luck to all! And see you in the second part! :)

If you can't connect to iTunes Store. If you can't connect to the iTunes Store on iPhone, iPad, iPod touch or on your computer, check iOS settings, as well as Wi-Fi, Internet and network connectivity.

If you can't connect to the iTunes Store, you may see one of the following alerts:
"Can't connect to the iTunes Store. An unknown error has occurred."
“Your request from the iTunes Store could not be completed. The iTunes Store is temporarily unavailable. Please try again later."
"iTunes was unable to connect to the iTunes Store. Make sure your network connection active and try again."
"The iTunes Store request failed. This network connection cannot be established. An error occurred in the iTunes Store. Please try again later."
Preparation
Make sure you can access the Internet from your computer or device.
Make sure your computer meets the minimum system requirements iTunes.
Make sure that operating system not outdated.
Mac: From the menu bar at the top of your computer screen, choose Apple () > Software Update to check for available updates for computer.
Windows: Visit the Center web page Windows updates Microsoft company.
Troubleshooting
On iPhone device, iPad or iPod touch
On Mac computer or PC
On an iPhone, iPad, or iPod touch
If you can't connect to the iTunes Store on your iPhone, iPad, or iPod touch, follow these steps:
Make sure the date, time, and time zone are set correctly. Go to Settings > General > Date & Time. The list of time zones for your time zone may show a different city.
Make sure you have the latest one installed iOS version. Go to Settings > General > Software Update to check for updates. You can also connect iOS device to iTunes and select Update from the device's Browse page.
Make sure you are within range of your router or base station Wi-Fi. If you are using a connection via cellular network, make sure cellular data is turned on in the Settings > " cellular" Large purchases may not download when connected to a cellular data network. You may need to connect to Wi-Fi networks to download programs, videos and podcasts.
Make sure you are connected to the Internet. For help connecting to the Internet, see your device's user guide.
Check if other devices can e.g. laptop computers, connect to a Wi-Fi network and access the Internet.
Turn it off and on again wifi router to reset it.
If this doesn't solve the problem, learn what to do if your device won't connect to your Wi-Fi network.

On a Mac or PC
If you can't connect to the iTunes Store on your computer, access may be blocked due to a software conflict or Internet service provider. To resolve the issue, try the following:
Mac
Make sure you have installed latest versions iTunes and Safari.
Your firewall settings may prevent you from connecting to the iTunes Store. Learn how to set up a firewall.
Connection errors are sometimes caused by keychain problems. To reset your keychain, use Keychain First Aid.
If a specific error message appears, get additional help to fix the problem.
If the above steps do not resolve the issue, contact your Internet Service Provider and make sure these ports and servers are enabled for your network.

The post is no longer as relevant as it could have been a couple of days ago, but still better late than never. And so below the cut is the story of how I decided to upgrade to “OS X Mavericks”, and in the end it took me 18 hours.
The post is not intended for OS X gurus, but for ordinary users who encountered problems installing the axis and cannot continue installing it.

Well, let's go:

Thursday, October 22nd (official release date of OS X Mavericks). I download it for free from the AppStore and without making any backups I plan to update my downloaded a year ago from torrents for free OS X Mountain Lion, which was installed on top of OS X Lion without any questions.

In general, the OS has been downloaded, I’m starting to install. I clicked on its icon, answered a couple of questions, and the computer rebooted. Then the axis logo appears, and it says that there are 40 minutes left, and the progressbar slowly begins to move. I’m already starting to think about what I should do while the reinstallation is in progress, when a message pops up saying that my disk is damaged and it’s impossible to fix it, I need to do it data backup and resume installation.

Here I remember that when installing OS X Mountain Lion I had something similar, I go to the disk utility, select Macintosh HD and want to click on the “Fix disk” button, but it is inactive, then I click “Check disk” -> goes the verification process, after which it writes what kind of errors I have: “Something is wrong with some links, either they are named incorrectly, or the creation date is not the same.” In general, after googling errors, I didn’t find anything. Then I somehow got the “Repair Disk” button to become active, I click it, but it says to me that it can’t repair the disk, and I need to format it first by making a backup (highlighted for those who don’t see that I wrote this and for some reason downvote the post with karma).

Well, I think we need to make a backup of important information and think about what to do next. I launch Windows installed as a second OS, and make a backup to the BOOTCAMP disk, trying to find the most important thing among the 500 GB of information on the Macintosh HD to put on the remaining 30 GB on the BOOTCAMP disk. Along the way, I come across the OS X install Data folder lying in the root of the disk, I go in and see this structure:


(The screenshot was taken now, because then I didn’t think about writing an article)
Well, I think we need to backup this folder too, because formatting the disk will also remove the OS installer. (By the way key moment stories)

IN general backup made. I decide to make one last attempt to install the axle in the usual way, but again the same error. I go into disk utility and try to format the disk. But it doesn't work. Because it is used. I reboot the laptop, hold down cmd+r and enter recovery mode, and then I can format it through Disk Utility.

I reboot into Windows and try to copy the previously saved OS X install Data folder to the root of the formatted disk, but it fails because... Apparently Windows doesn't know how to write to a Mac disk.

I remember that you can restore the old OS X Mountain Lion, and from there I plan to start installing Mavericks again.

But even here I will fail, as I mentioned Mountain Lion was downloaded from torrents, and during recovery it asked me to enter my Apple ID, after which it said that I could not do this because... I don't have this axle on me. Regretting that I regretted $20 (or whatever) a year ago, I’m thinking about the option of creating a bootable flash drive.

After googling, I realized that it’s not so easy to do it, and according to all the manuals, the folder structure was not at all the same as mine (because I had already started the installation and something had changed there).

But I decided to try to restore the InastallESD.dmg image to a flash drive. But somehow it didn’t work out.

Well, then you need to download it again and do everything according to the manuals. I start looking, and... it just came out today, I can’t find one good result, because Rutreker blocked torrents due to the fact that it can be downloaded for free anyway. The only choice left is: download Mountain Lion or the dev version of Mavericks. I decide to download the same image that I installed “Mountain Lion” a year ago. I downloaded it and tried to make a flash drive, and again it failed (either I didn’t want to write it down, or I wrote it down but the computer didn’t see what could be installed from there), apparently this is due to the fact that to create a flash drive you need to perform some operations with the files inside the image. I decide to download a couple more versions of the OS: just Lion and the dev version of Mavericks. Along the way, Google as much as possible with using Windows edit DMG.

It turned out that UltraISO and TransMac can help me with this. I'm downloading. And indeed TransMac allows you to write and read flash drives in MAC format. And UltraISO allows you to view dmg files. I’m starting to compare the structure of the downloaded Mountain Lion with the saved OS X install Data folder and the structure described in the manuals for creating bootable flash drives.

Brief instructions from the manual:
  • Unpack the Mavericks installer into the “Programs” folder. Right-click and select “Show package contents”.
  • In this window, open the “Contents” folder, then “Shared Support”, where we find the InstallESD.dmg file. We mount his image
    and open it.
  • Here we find the BaseSystem.dmg file and mount it.
  • It's time to move on to writing data to the drive. In Disk Utility, select the BaseSystem.dmg image and go to
    to the "Restore" tab.
  • Leave the BaseSystem.dmg file as the source, and drag it into the “Destination” field external storage. Then
    click “Restore”.
  • There's one last step left. We find the recovered drive in Finder, then go to the “System” folder, section
    “Installation”, from where we delete the Packages.
  • Open the OS X Install ESD image in the Finder, where again in the “Installation” section we find Packages folder
    (Installation Packages). We drag it to the directory from which we deleted the file in the previous step.
  • All is ready. We remove the disk, then restart the computer with the Option key(Alt).

And then I understand that I have the only file that I need, that is, InastallESD.dmg, I just need to open it and do some machinations. WITH using UltraISO I open InastallESD.dmg and find BaseSystem.dmg there, take it out and write it to a flash drive using TransMac. (I didn’t replace the Packages folder because there would have been a little more hassle there and I just needed to see if my MacBook would have seen that it could boot from a flash drive), but the Mac didn’t see it, I decided to try to burn the image using disk utility in recovery mode, just to be sure, but at the same time I find it on Habré, after reading it I realized that I only need the Packages folder which is located in InstallESD.dmg which I can get using UltraISO, and I also find out that in addition to disk utility and browser, I can also use terminal, which all this time I thought was inaccessible.

In general, I do everything that is described there and in fact last step
installer -pkg /Volumes/usb-osx/Packages/OSInstall.mpkg -target /Volumes/macHD
Which launches the installation of os x from the console gives me an error, the meaning of which is that installation from the console is not available for my version.

Well, I think it’s okay, I Googled whether it’s possible to deploy a dmg image from the console and it turns out that it’s possible. Then I finally solve the problem by doing what is said in the manual but from the console.
Mount the installESD.dmg image.
hdiutil mount "/Volumes/BOOTCAMP/OS X Install Data/installESD.dmg"


Then we mount BaseSystem.dmg which is located inside the newly mounted installESD.dmg:
hdiutil mount "/Volumes/OS X Install ESD/BaseSystem.dmg"


Now I went to disk utility (to be on the safe side, though command line I think it was also possible to do this)
And restored BaseSystem.dmg to the flash drive. Pre-formatted with these settings in Disk Utility->disk partition




After that, I decided to check whether it was possible to boot from a flash drive, and my joy knew no bounds:


All that remains is to go back to the terminal, where the flash drive is already available at the address "/Volumes/OS X Base System 1" and deal with the Packeges folder
We write:
rm "/Volumes/OS X Base System 1/System/Installation/Packages"
Thus removing the link to Packages
Further:
cp -R "/Volumes/OS X Install ESD/Packages/" "/Volumes/OS X Base System 1/System/Installation/Packages/"
By doing this we insert the Packages folder instead of the link that we deleted.
Next, reboot by pressing Option(alt)
And we see a joyful screensaver


After which the installation goes like clockwork.