Creating a bootable Linux flash drive on Mac OS. How to properly create a bootable USB flash drive for Mac OS

This step-by-step guide shows you several ways to easily make a bootable Mac OS X Yosemite USB flash drive. Such a drive may be useful if you want to perform clean install Yosemite on your Mac, you need to quickly install the system on several Macs and MacBooks (without downloading on each), and to install on Intel computers(for those methods where the original distribution is used).

If you don't want to use the terminal, but need simple program To make a bootable OS X Yosemite USB flash drive on Mac, DiskMaker X is a great option for this. You can download the program from the official website http://diskmakerx.com

Also, as in the previous method, before using the program, download Yosemite from App Store, then launch DiskMaker X.

At the first stage, you need to indicate which version of the system you want to write to the flash drive, in our case it is Yosemite.

After this, the program will find the previously downloaded OS X distribution and offer to use it, click “Use this copy” (but you can select another image if you have one).

After this, all that remains is to select the flash drive on which to write, agree to delete all data and wait until the files are copied.

Bootable USB flash drive OS X Yosemite in Windows

Perhaps the fastest and convenient way records bootable usb drive with Yosemite in Windows - using the TransMac program. It's not free, but it works for 15 days without the need for a purchase. You can download the program from the official website http://www.acutesystems.com/

To create a bootable USB flash drive, you will need an OS X Yosemite image in .dmg format. If available, connect the drive to your computer and run the TransMac program as an administrator.

In the list on the left, click right click on the desired USB drive and select context menu"Restore with Disk Image".

Specify the path to the OS X image file, agree to the warnings that data from the disk will be deleted and wait until all files from the image are copied - the bootable USB flash drive is ready.

I have the same at the moment I have a 16GB flash drive and I want to install two operating systems on it: MacOS Sierra and OS X El Capitan. On my PC, these versions work stably, quickly, and will continue to develop, so I chose them. You can use the versions you need.

In this article we will look at installing different images that will help achieve the same goal. The size of the flash drive can vary using different methods from 4 to 16 GB.

Creating a bootable flash drive from original App Store images

To create this installation flash drive we will need:

  1. Flash drive at least 16GB;
  2. Sierra and El Capitan installation images from the App Store;
  3. Latest version.

Format and split the flash drive into sections

The first thing we need to do is format the flash drive. Be sure to use the diagram GUID. Now this flash drive has an Apple standard, a hidden EFI partition (aka ESP) was automatically created on it, which we will use for Clover, but we need to create another partition, we are making a flash drive to install two systems.

By the way, if you are going to do as I did in disk utility Sierra, then it is worth considering that formatting is successful only the second, and sometimes the third time. In order for formatting and other manipulations to be successful the first time, you should unmount the internal partitions. Near which there is an EJECT icon, if this condition is met, everything will go without a hitch.

Now let's move on to the breakdown into sections. Open the “Partition” tab.

After formatting, we have only one partition; to install two systems, we need to create a second one. To do this, click “+” under the diagram and, highlighting each section, give it a NAME. For clarity, I set the name El Capitan, but it is recommended to use the section name without spaces to avoid recording errors. So in the name El Capitan, you can use El_Capitan instead of a space.

After assigning names, click “Apply”.

And we get the desired two sections.

Writing boot images to flash drive partitions

Recording OS X El Capitan

Move the installation image to the “Programs” folder and open the terminal utility. Then we enter the code, to simplify it you can copy and paste.

sudo /Applications/Install\ OS\ X\ El\ Capitan.app/Contents/Resources/createinstallmedia —volume /Volumes/ El Capitan--applicationpath "/Applications/Install OS X El Capitan.app"

It is worth considering that commands must be preceded by two hyphens, very often when copying and pasting into the terminal, two hyphens "—" are replaced by one "-". In this case, an error will be displayed. This glitch is very common on websites, since many engines automatically replace characters.

(instead of El Capitan we write the name of your USB partition)

Press ENTER, enter the password, El Capitan may also ask for confirmation. In this case, press Y and Enter.

DONE, which will mean that the recording was completed successfully. Writing files can take different times, it all depends on the speed of the drive and hard drive, system load, so we don’t panic, but just wait for execution. Forcibly removing a flash drive while writing or reading can lead not only to data loss, but also turn the drive into an interior element; in many cases, the flash drive may not be repairable.

Recording MacOS Sierra

We perform all the same actions as in the previous case. Only the recording code will differ. To record Sierra we use the code

sudo /Applications/Install\ macOS\ Sierra.app/Contents/Resources/createinstallmedia —volume /Volumes/ Sierra--applicationpath /Applications/Install\ macOS\ Sierra.app --nointeraction

(instead of Sierra we write the name of your USB partition)

We wait for the operation to complete until the message appears in the terminal DONE.

At this stage, the installation (bootable) flash drive is completely ready for installation on Apple computers or using Clover EFI, which is already installed on hard drive on Hackintosh.

For a clean installation on a hackintosh PC, you need to install the Clover EFI Bootloader. I will not repeat myself; I have many articles in which this point is described in detail, so follow the link and read: , we select the only point instead system disk any section of the Flash drive we created. Everything else is exactly the same.

Be careful when setting up config.plist to match the two operating systems. If your configuration does not allow you to get by with one file, create two different ones and place them in the Clover folder, and during installation and download, select the one you already require through the bootloader control panel. To understand how it works, I advise you to read the book - it’s the most detailed instructions from the bootloader developer.

Creating a bootable flash drive using recovery images

To do this, you need to download the official Apple packages for Recovery HD.
Since we are making this flash drive to install two specific systems, we will download packages for them accordingly.

The sizes of these packages do not exceed 500 MB each, I recommend downloading them one by one, before downloading the second package, move the first one to a folder calling it the name of the system for which the package is intended, otherwise I guarantee confusion.)
Now we launch the downloaded packages one by one and select the corresponding partition on our flash drive as the installation location.
I launch RecoveryHDUpdate.pkg from the El Capitan folder and select the El Capitan partition on created flash drive.


After the installation is complete, I repeat everything with RecoveryHDUpdate.pkg from the Sierra folder and install it on the corresponding partition of the flash drive.


I'm waiting for the installation to finish.


I run the command in the terminal.

And I check what happened.


And it turned out as planned!
I repeat, in order to repeat this, a 4 GB flash drive is sufficient.
All that remains is to load your hardware using it as boot device this UEFI flash drive, go to the Clover menu and select the required Recovery HD partition, and then everything is exactly the same as on any original Mac.

A bootable flash drive with Recovery HD can also be created from under Windows using the program.

Why Recovery HDs weigh so little

Because this is not a full-fledged system, but some kind of engineering OS for restoring and configuring the main one, which is stored in an image and deployed only during boot time, Windows also has similar images with wim extensions, the same Win PE is a suitable example for comparison.

Having booted into Recovery HD, we will only get access to the disk utility in order to partition our HDD, and of course there is the opportunity to deploy your own or someone else’s image with the system, as well as the ability to use the Time Machine, but that’s not what I suggested, there is official item by clicking on which any person. can install the system with clean slate, I use the following algorithm instead of the installation image of the Apple server.

Booted into Recovery HD, selected disk utility, partitioned your disk as it should be according to Apple rules and your own needs, closed disk utility, selected restore..., the system will automatically contact Apple servers and ask which partition you want, you will indicate to it the partition you had previously planned in disk utility, the installation has started. The installation time depends only on the speed of the Internet and the load on the apple servers at the immediate moment; in this way, installing macOS is even twice as fast as the classic one, but there are difficult moments, but they are rare.)

As you can understand, there are several ways to achieve the same goal. I hope now you will always have order with bootable flash drives.

This article was created based on my personal experience and advice from a hackintosh community specialist

You can use macOS not only on a MacBook, but also on a regular Windows computer. Next, we will tell you how to install macOS on a PC and what programs you will need for this. After this, you will be able to use all the features of the Apple operating system.

Installation Features

There are several ways to install macOS on a regular PC. Each has its own characteristics, so read them carefully and choose the one you need:

  • As the main operating system. Then you can use all the features of OS X right on your PC. All computer resources (hard disk space) will be concentrated on the selected OS.
  • Second operating system along with Windows. OS X will be used as an additional one. After starting the computer, you can choose which system to boot (Linux, Windows or OS). It will not be possible to use all the capabilities of the PC (HDD capacity).
  • Inside Windows, using virtual machine. To do this, you will need special software and distribution kits of the required OS. The method allows you to simultaneously work with several operating systems, manage available system resources (for example, determine how much RAM will receive OS).

In all cases, you will need a distribution kit to install the operating system.


If you are going to install OS X as the main or additional OS, you will have to create a bootable USB flash drive or use a ready-made disk with macOS.

Preparing a bootable OS X flash drive

A bootable flash drive is a regular Flash drive onto which a distribution package with an operating system is recorded. In our case, this will be OS X. You can create it from Windows or another computer (Linux or Mac). In all cases the methods will be different. To create a flash drive with macOS on a Windows PC, follow these steps:


After all the necessary files and programs have been downloaded, you can proceed to the next step - creating a bootable USB flash drive. To do this, you will additionally need a USB drive with a memory capacity of at least 8GB.

Creating a bootable USB flash drive

Mac installation OS X consists of several steps, one of which is creating a bootable USB flash drive or disk. Without this change operating system it won't work. Therefore, below we will tell you how to do it using free utility BootDiskUtility:

  1. Launch the program and through the “” menu select “”.
  2. A tab with basic settings settings will open. Find the line " Boot Partition Size (MB)» and make sure there is a checkmark next to it. If necessary, resize the partition to an appropriate size. Look here to see the item “ D.L." (at the very top) was marked active. Save your changes and click OK.
  3. On the main program window, select " Tools" and in the list that opens, select " FixDSDT Calculator for Clover».
    After that, click on the Default button to use the default settings.
  4. Insert the Flash drive into a free USB slot. After that, it will appear in the list of available ones on the main screen of the program. If there are several of them, then select the one you need and click Format to completely delete information from the flash drive. Please note that after this all data will be deleted. Therefore, if necessary, move them in advance.
  5. After that, load the distribution onto the USB flash drive. Depending on the type of operating system you select (El Capitan, Yosemite, Mavericks, Mountain Lion), the process may vary. To do this, you need to move the downloaded file to a partition on the flash drive.
  6. After that, select the desired Flash drive in the program and click on the plus icon to access the partitions. Select " Partition2" and click " Restore Partition" Then in the window that opens, specify the path to the macOS distribution.

Wait for the operation to complete. Once the operating system is recorded, the flash drive can be used as a boot drive to install macOS.

If you want to install macOS on Windows as a second operating system, you don't need to completely format the disk.

Installing macOS

Installing the macOS operating system on a PC begins with creating a bootable USB flash drive. Therefore, when the USB drive is ready, you can move on to the next step. To begin installation, follow these steps:


Depending on technical characteristics computer and other features of the operating system, as a rule, the process takes no more than 20 minutes. Now you know how to install macOS on your computer instead of Windows 10 and what you need for this.

Installing the macOS X operating system on a PC is not only downloading, but also setting up the OS. After unpacking is completed, you need to correctly configure the main parameters.

To do this, follow these steps:

  1. From the list, select the language in which the device will be registered and click Continue.
  2. Specify your keyboard layout. If you are not using a Mac, it is recommended to select “Russian - PC”.
  3. If you have not previously used other Apple devices and you do not have backup copies, then in the “Information transfer” block select “ Don't transfer data to Macbook" and click the Continue button.
  4. If you have an Apple ID, then log in using your details account. This setting can be configured at any other time, so click Don't sign in.
  5. Accept the terms license agreement and create a user account. These are common measures to protect data stored on a computer. Therefore, if necessary, set a password.
  6. Select your time zone and check the box next to “Do not register.”

You can change most of these parameters on macOS later, through the menu “ Settings" This may require you to enter your administrator account and Apple ID information. If necessary, set up synchronization and backup.

We use a virtual machine

If installing the macOS operating system on a PC as the main or additional one is not suitable, then you can use the capabilities of a MacBook through a virtual machine. To do this, follow these steps:


Installing a macOS distribution from a flash drive takes no more than 40 minutes. But if you don’t plan to use the operating system too actively, then you can make do with the image in a virtual machine. Using a virtual machine you can boot other operating systems.

Conclusion

This article talked about how to install macOS on a PC using necessary programs. There are several installation options, and which one to use is up to you. We hope our article will help you achieve your plans faster and easier.

Video on the topic

In the last article about Hackintosh, we talked about how. A significant drawback of this method was the need to perform basic actions on the installed previous version Mac OS X. Now we continue to use Clover, but we use a ready-made flash drive image, with the help of which all actions can be performed in a more accessible Windows.

So, the desired image OS X for PC (OS X v10.10.5) take it on your favorite Rutracker: . There, in the development of the topic, there are also tips for all sorts of complex cases, more than 80 pages have already been written. Here we will take a closer look at the installation process itself.

We need a computer with Intel CPU And flash drive at least 8 gigabytes. All additional programs are contained in the distribution. First we mount image 10105usb.iso, then we register the MBR sector, then reboot, installation Yosemite, reboot again and install the bootloader and kexts. Step by step it looks like this:

1. Insert the flash drive.
2. Prepare a flash drive in standard program diskpart, which is called from the “Run” line. We write in the window list disk– we get a list of disks in the system, determine the number of our flash drive by size. Next we write sel disk x(instead of x is the number of the flash drive disk) – this is the disk selection. Next step - clean- we clean it. And the team exit we exit the program.

3. Now, after cleaning, directly mount. Produced in the program R-Drive, which is in the distribution. It’s quite simple to work with it, mount the image in detail Mac OS X for PC we discussed in the article “The Most easy installation OS X on PC. We are deploying the finished image.”

Now we do the same thing, only in two steps - in an additional step we add a bootloader to the image Clover:

Select the downloaded image.

Select the first section of the image, which is smaller. We choose where to mount it - on a prepared flash drive. Set the file system for the selected partition " FAT32", and the drive letter " Default" We mount it.

After completing the operation, select “ Add another object».

Now we select its second, larger part from the image, and also select the larger unallocated space on the flash drive. At this step we set the file system for the selected partition " HFS+", and the drive letter " Do not connect».

4. Registering the MBR sector (this step is for UEFI can be skipped).

Let's launch BOOTICE. Selecting a process MBR and check the boxes as in the picture.

5. Reboot the PC from the USB flash drive and install Mac OS X Yosemite.
6. Reboot again and start again from the flash drive, but now in the bootloader menu we select the partition of the newly installed OS X Yosemite.
7. After a successful download, install the bootloader and kexts for your equipment.

Everything is yours Hackintosh on PC ready! Although, in fact, not everyone goes smoothly the first time. Answers to many questions are given, as already mentioned, in the Rutracker forum thread, from where we downloaded the image. It will also be useful to look Full description bootloader Clover.

Today we'll touch Windows a little again. More precisely, we will touch on two main categories of users, and Windows will “touch” itself :) In my little experience of communicating with blog readers, I have identified several main types of Mac users:

  • Future “hackintosh people” are “Windows people” who want to try what Macintosh is, but don’t want to buy a Mac.
  • “Strange Mac users” are those Apple computer users who buy a Mac, but completely remove Mac OS X from it and install the main and only Windows system, but then, having come to their senses, they want to install Mac OS X again.
  • “Mappy addicts in surprise” are real “poppy addicts” who, for some reason, “screwed up” Mac OS X (and this happens) and now they need to install a new clean version of the OS, but they don’t have another computer with Mac OS X at hand to “deploy” the installation image.

The content, so to speak, is quite different, but the only thing that unites them is the question: “How to create a bootable USB flash drive with Mac OS X from Windows?” or “How to make a bootable USB flash drive for a Mac on Windows?” It would seem that the question is complicated, but in fact it is not. If, of course, you know how and with what to do it;) And in this article we will just look at one of possible ways. From the title of the article you already understand that to help you out (us) there will be a Windows program TransMac. In general, this utility is designed to work with disks in the file system HFS+ and images in the format .DMG. But besides the usual work with Makovskaya file system TransMac can format drives with images. It sounds strange, but there is nothing strange about it, since in essence this function is similar full cloning image on physical device. Well, okay, probably enough stories, let's move on to the instructions. We will need:

  • USB flash drive, SD card or any other USB drive 8 GB (or more);
  • Windows XP, Vista, 7 or 8;
  • TransMac (~1.5 MB);
  • installation image with Mac OS X in .DMG format.

When all the components are assembled, we begin to shamanize. Install and launch TransMac. It is worth noting that The application can be used for free and fully for 15 days , after which you need to buy a license (or use others alternative ways to receive it), although 15 days is enough to create an “emergency flash drive” :) For Windows 7 and Windows 8, TransMac must be run as system administrator A:

After launch, we are greeted by a rather boring application interface, we do not pay attention to the scarcity appearance;) In the menu on the left, find and select your USB drive, then right-click on it, select from the context menu Format Disk > Format with Disk Image B as the picture shows:

In the Explorer window that opens, select the pre-downloaded installation image from Mac OS X in .DMG format. After opening it, a window will be displayed warning us that all data on the selected drive will be destroyed. We agree:

Well, that's basically it. At this stage, we see the process of creating an installation drive:

Creating a drive can take a fairly long period of time - this depends on a number of reasons: the USB drive itself and the speed of its interface, system performance and, in fact, the size of the DMG image. After successful completion of the procedure, you can click on your drive and see the tree of folders and files that appeared on the “flash drive” - this is the structure of the “expanded” installation image:

Everything is ready! Owners of original Macs can boot from such a flash drive in the usual way: hold down the alt ⌥ or Option ⌥ key (which is the same thing) When the computer starts, before the “gong”, we wait for the boot manager to load in which we select our created USB drive. “Hackintosh people” need to use some kind of EFI bootloader: Chameleon, Clover, PC-EFI and so on…

Share