How To Make a Live Bootable Fedora Thumb Drive in Linux

Insert your thumb drive into the computer.

We need to find out where the thumb drive is mounted.  We can do this with the “df” command as shown below or you can find it in dmesg.

So if we run the df command

df -h

It returns something like this

[me@fedora ~]$ df -h
Filesystem               Size  Used Avail Use% Mounted on
/dev/mapper/fedora-root   50G   11G   37G  23% /
devtmpfs                 1.9G     0  1.9G   0% /dev
tmpfs                    1.9G  1.2M  1.9G   1% /dev/shm
tmpfs                    1.9G  1.1M  1.9G   1% /run
tmpfs                    1.9G     0  1.9G   0% /sys/fs/cgroup
tmpfs                    1.9G   52K  1.9G   1% /tmp
/dev/sdb1                477M  115M  333M  26% /boot
/dev/mapper/fedora-home  176G  125G   42G  75% /home
/dev/sdc1                3.8G  3.2G  592M  85% /run/media/me/136A-7360
[me@fedora ~]$

Note that the bottom one is the thumb drive /dev/sdc1 yours may differ.

Now that we know where the drive is mounted we can write the image to the thumb drive.

Change the path in “if=/” to the path to your Fedora iso and change “of=/” to you thumb drive path

su -c "dd if=/home/me/Downloads/Fedora-Live-x86_64-20-1.iso of=/dev/sdc bs=8M"

It will take a couple of minutes to complete and it will not give you any information until it is finished.

Congratulations, you now have a live working Fedora thumb drive.

Create a Bootable OS X Thumb Drive on Linux

NOTE:  This is a post has not been completely tested.  So use at your own risk.  This text will be removed once the post is completely tested.

 

What you need

  1. InstallESD.dmg
  2. 7zip installed on your computer
  3. Thumb Drive with 8gb of space on it
  4. A few other things installed

Getting Ready

So first we need to make sure we have a few things installed.

yum install hfsplusutils gparted p7zip dmg2img

on Debian based systems use

sudo apt-get install hfsplus hfsprogs hfsutils gparted p7zip-full

Now that we have all the tools we need we can move on.

 

Navigate to were your InstallESD.dmg file is.  Then run the following command.

7z x InstallESD.dmg

After it is finished cd into the InstallMacOSX.pkg

cd InstallMacOSX

now run

dmg2img InstallESD.dmg

Now you have a new file called InstallESD.img.

Open up Gparted (or your favorite disk tool) and find your thumb drive.  Format the drive with a GUID Partition Table and make sure it is HFS+. When it is finished formating, Find the thumb drive and unmount it, and then click restore.  It is under the “More actions” button on the top right.  Find your InstallESD.img file and click Restore.
You are now finished.  Have Fun!