How to Create Fedora Live USB Media

How to create a Fedora live USB media is introduced in this post. We can boot to Fedora operating system environment through a live USB system in the USB flash media on a USB-bootable computer without writing the computer’s hard disk. We can also install Fedora operating system from the live system environment.

Remember to backup data in the USB stick before proceeding the method below.

Command Line Method

This is the method I prefer. It’s straight forward and easy to follow as long as you are some how familiar with Linux.

Download the Fedora Live ISO image

First, download Fedora Live ISO image of different releases version.

You can even download an boot.iso and netinst.iso with smaller size if you want to install from network of local image. The method in this part works with these images too.

Directly copy the image to USB media

Here, we introduce 2 method.

Method 1: use the livecd-iso-to-disk tool

This is the suggested method as it can handle many situations for you comparing to the following dd method.

If you have not installed the tool, install it by dnf install livecd-tools as root.

Make sure the USB is already partitioned and one disk partition is created as ext4 with sufficient space.

Then you can create the disk by command

# livecd-iso-to-disk ./fedora-image.iso /dev/sdXy

Here, the /dv/sdXy is the partition’s path, such as sdb1. livecd-iso-to-disk may require you to set/format/modify the disk partition with certain commands.

Method 2: use the dd tool

We can use dd to make a direct copy from the image to USB media. Remember to backup your data on the USB media since all data will be lost after dd.

# dd if=./Fedora-Live-i686.iso of=/dev/sdX bs=8M

/dev/sdX is device name of the USB stick instead of the partition name (sdc is right, sdc1 is wrong).

Test the Live USB media

We can use qemu or other virtualization tools to try boot from the Live USB media we created.

# umount /dev/sdbX
# qemu -hda /dev/sdX -m 256 -vga std

/dev/sdX is the Live USB media’s device name.

Only if it can boot, we know the media works and we can close the virtual machine.

Graphical Method with Liveusb-creator

This method can be used on both Linux and Windows. For windows users the liveusb-creator application can be downloaded from Liveuse-creator homepage.

For Fedora users, liveusb-creator is already in the repository.

# yum install liveusb-creator

Run liveusb-creator and select the “Live CD image” path and the “Target Device”, and then click “Create Live USB”. The application will write the Live image to the USB stick.

After it finishes, we can also use qemu as described above to test the Live USB media.

Similar Posts

  • | |

    Managing Xen Dom0′s CPU and Memory

    The performance of Xen’s Dom0 is important for the overall system. The disk and network drivers are running on Dom0. I/O intensive guests’ workloads may consume lots Dom0′s CPU cycles. The Linux kernel calculates various network related parameters based on the amount of memory at boot time. The kernel also allocate memory for storing memory…

  • |

    Installing NVIDIA Driver in Fedora

    Using rpmfusion’s rpm packages to install NVIDIA driver in Fedora is introduced in this post. First, check the proper drivers for the card on [1]. 1. Add rpmfusion. Enable RPM Fusion repositories 2. Install the driver # yum install kmod-nvidia xorg-x11-drv-nvidia The reboot system. 3. Edit /etc/X11/xorg.conf # nvidia-xconfig The nouveau module conflicts with the…

  • rtnetlink answers file exists

    When you replace dynamic IP to static IP, you may need to restart your netwrok on Debian as follows. $sudo /etc/init.d/networking restart … …. reconfiguring network interfaces…rtnetlink answers file exists … However, error happens here “rtnetlink answers file exists”. How to solve it??? Run following commands could solve this problem # ip addr flush dev…

  • Several Vim Tips (in Chinese)

    窗口模式操作 CTRL-W CTRL-S 将当前窗口分割为两窗口 CTRL-W CTRL-W 切换窗口 CTRL-W j 切换到下一窗口 CTRL-W k 切换到上一窗口 CTRL-W CTRL-R 将窗口的位置轮换 CTRL-W CTRL-_ 将当前窗口最小化 CTRL-W CTRL-= 将所有窗口变为等大 搜索和替换 /word 搜索word 搜索之后按回车高亮显示,n 下一个 p 上一个 :%s/模式/替换成的内容/gc % 全局选项,如果没有开启则只在当前行进行替换 g 表示 全局替换,如果没有g选项则只替换每行出现的第一个单词 c 表示需要确认 Esc替换按键 ESC键在键盘的左上角,按起来很不方便,而在VIM中ESC经常用到,其实有一个同样作用的组合按键:CTRL-[,这两个按起来手基本不用做大的动作,方便多了。 块操作 使用visual可视模式 v 进入可视模式,移动光标可进行选择 CTRL-Q 或 CTRL-V 进入列式模式,可进行块操作,选定的是一个矩形块。如果使用behave mswin CTRL-V可能映射成为past Read more: How to convert between…

2 Comments

  1. Hey,

    I’ve just had a hell of a lot of trouble trying to make this LiveUSB. I’ve had to use the command line since yum isn’t working atm and I can’t fetch the software.

    I used dd but with the if= param, if I just used Fedora.iso, then it failed. When I used a ./ in front of that, it worked.

    So can you tell me what the ./ does when using dd?

    Thanks in advance for the tips!

    1. ./ means under the current directory. Many programs recognize the direct file name without ./, such as ‘ls Fedora.iso’. Seems dd requires that the ./ should be explicitly added if the file is in current directory.

Leave a Reply

Your email address will not be published. Required fields are marked *