There are a few ways to get a create a live Linux USB drive that will boot on your Mac: you can do it with freeware, or get your hands dirty with the command line.
Table of contents
You do not need to know this in order to use Fedora Media Writer. To find this out:.
- assassins creed 3 demo mac;
- Subscribe to RSS.
- System Requirements?
- cd stuck in mac optical drive.
- How To Make a Bootable Ubuntu USB Stick on Windows, Mac & Linux.
- sony image data converter version 4.2.02 for mac.
This is the name of the disk you will use. If you have connected more than one USB stick to the system, be careful that you identify the correct one, often you will see a manufacturer name or capacity in the output which you can use to make sure you identified the correct stick. If you get this message from fdisk, you may need to reformat the flash drive when writing the image, by passing --format when writing the stick.
If your test boot reports a corrupted boot sector, or you get the message MBR appears to be blank. Even if it happens to run and write a stick apparently successfully from some other distribution, the stick may well fail to boot. Use of livecd-iso-to-disk on any distribution other than Fedora is unsupported and not expected to work: please use an alternative method, such as Fedora Media Writer.
To create a live image, the livecd-creator tool is used.
For this, super user privileges are needed. If it is not installed on your system, add it with DNF:. If you are interested in localized i. The configuration of the live image is defined by a file called kickstart. It can include some basic system configuration items, the package manifest, and a script to be run at the end of the build process. For Fedora 20 and earlier : fedora-livecd-desktop. This one is part of the spin-kickstarts package. For Fedora 21 and later : fedora-live-workstation.
Create Boot Device - Parrot Documentation
This is the Workstation product configuration. These pre-made configuration files can be a great place to start, as they already have some useful pre and post-installation scripts. You can create a customized kickstart file by running system-config-kickstart. You might have to install the package first with dnf install system-config-kickstart in Fedora 22 and beyond or yum install system-config-kickstart in earlier versions of Fedora. This tool is mainly intended for generating kickstart files for automated installs, not live images, so the output will probably not be usable without editing, but it may help you to generate particular kickstart directives.
As a file system label on the ext3 and iso file systems. If you do not have KVM support, you have to use qemu instead. Replace filename. The live image can incorporate functionality to verify itself. To do so, you need to have isomd5sum installed both on the system used for creating the image and installed into the image. This is so that the implantisomd5 and checkisomd5 utilities can be used. These utilities take advantage of embedding an md5sum into the application area of the iso image.
This then gets verified before mounting the real root filesystem. Want to help? Learn how to contribute to Fedora Docs. This method is considered unsupported. You can use it on your own risk. Command line methods These methods are considered unsupported. You can use them on your own risk.
Using the livecd-iso-to-disk tool This method will destroy all data on the USB stick if the --format parameter is passed. Using the --format option in the following command will erase all data on the USB drive. Using a direct write method This method will destroy all data on the USB stick.
3.2. Making Installation USB Media
If you are running a bit Linux distribution, UNetbootin may fail to run until you install the bit versions of quite a lot of system libraries. Launch UNetbootin. On Linux, you might have to type the root password. Click on Diskimage and search for the ISO file you downloaded. Select Type: USB drive and choose the correct device for your stick. Click OK. If you do not see sdX listed, you might have to reformat the drive.
You can do this from most file manager or disk utility tools, e. The FAT32 format is most likely to result in a bootable stick.
This will cause you to lose all data on the drive. Power off the computer. Power on the computer. If you do a native UEFI boot, where you will see a rather more minimal boot menu. Wait for a safe point to reboot. Your computer could become unbootable or lose functionality if you change any other settings.
Open a terminal and run dmesg. Near the end of the output, you will see something like: [ Type 'help' to view a list of commands. Creating and using live CD Getting started To create a live image, the livecd-creator tool is used. Configuring the image The configuration of the live image is defined by a file called kickstart. For the Fedora project, the most important live image configurations files are:. Making the image To make the image, simply issue the following command:.
In the isolinux boot loader. Examples Spinning the Fedora desktop The following command:. A Barebones live CD The following command:. Of course hit the Partition button to format the USB drive. Of course, you need to download ISO image of Ubuntu desktop. Jump to Ubuntu website to download your favorite Ubuntu desktop OS. Since you are using a Macbook Air, I suggest you to download the 64 Bit version of whichever version you want.
Ubuntu This can be easily done using hdiutil command tool. So for me, the command is like this:. You might notice that I did not put a IMG extension to the newly converted file.
It is fine as the extension is symbolic and it is the file type that matters not the file name extension. The next thing is to get the device number for the USB drive. Run the following command in terminal:. You should be able to identify the USB disk by its size. To avoid confusion, I would suggest that you should have just one USB drive plugged in. Where N is the device number for the USB you got previously. So, in my case, the above command becomes:.
And finally we come to the final step of creating the bootable USB drive. We shall be using dd command which is a very powerful and must be used with caution. Use the following command in terminal:. Here, we are using dd copy and convert to copy and convert input file if IMG to diskN. I hope you remember where you put the converted IMG file, in step 3. For me the command was like this:. As we are running the above command with super user privileges sudo , it will require you to enter the password. It will take a few minutes for the process to complete.
Everything is just fine. Go back to the terminal. For me it was:. Now, in the terminal use the following command to eject our USB disk:. N is of course the device number we have used previously which is 2 in my case:. Once ejected, click on Ignore in the dialogue box that appeared previously. Now your bootable USB disk is ready. Remove it from the system. Stay tuned.