Creating Linux Live Usb For Mac

пятница 12 октябряadmin

Linux Live USB drives allow you to try out the operating system without installing it on your boot drive. It’s a good way to “test drive” the system or even complete a very simple task in Linux. The Live USB will be wiped at each boot, so you can’t save files, but you can try out the OS.

If you are using a Mac, you can easily create a Linux Live USB in macOS by following the instructions below. Note: While this tutorial does not cover any system-wrecking tasks, you must make backups of your system before messing with your boot drive. If you plan to install Linux from this USB stick, back up your computer completely.

Creating a Linux Live USB in macOS requires us to format the USB with a specific partition table. If we do not, Startup Manager will not be able to detect the USB. That would make it functionally inaccessible to us.

Overwriting your macOS partition accidentally will have dire and time-consuming consequences. Formatting the USB Drive Properly Creating a Linux Live USB in macOS requires us to format the USB with a specific partition table.

If we do not, Startup Manager will not be able to detect the USB. Mac That would make it functionally inaccessible to us. Download the disk image (typically an ISO) for the distro you want to install. In this example we will be using. The process should be the same regardless of distro.

Insert your USB drive and open Disk Utility (Applications/Utilities/Disk Utility.app). Select your USB drive in the sidebar. Be sure to select the correct drive. Selecting the wrong drive will lead to data loss. Click the “Erase” button at the top of the Disk Utility window. Set “Format” to “MS-DOS (FAT)” and “Scheme” to “GUID Partition Map” as seen in the screenshot.

If you do not see the “Scheme” option, make sure you have selected the drive in the sidebar rather than the volume underneath it. The drive will have the component name, while the volume will have a user-applied name. Click the “Erase” button to format the drive. This will erase all data on the disk. When the format completes, click “Done.” If the formatting is not successful, you may need to retry the operation.

If multiple attempts fail, try erasing the disk in Terminal with the diskutil command. Writing the ISO with Etcher Now that the disk is properly formatted, we will write the Linux Live USB to the drive using Etcher. Open Etcher and click “Select Image.” Navigate to your ISO in the pop-up Finder window and select it. Click “Select Drive” and select the USB drive you just formatted. Click the “Flash!” button to start the writing process. Wait for the writing process to finish. It may take a couple of minutes, depending on the size of your distro’s ISO file.

When the flashing is complete, macOS will pop up a warning that says “The disk you inserted was not readable by this computer.” This is expected, but do not click initialize. That will send us back to Step 1, requiring a reformat of the USB drive. Instead, click “Ignore.” Booting into Linux Once you’ve created the drive, now you can boot up into your Linux Live USB.