Ifblog (ponderings 2.0)

Friday, October 14, 2011

Running Fedora’s liveusb-creator on Ubuntu

Filed under: Fedora, Free Software, Linux, Ubuntu — ifireball @ 16:06

One of the things I find most annoying about Linux distributions is that when it comes to distribution-oriented tools, they tend to make other distributions feel like second-class citizens even when compared to Windows. One such example is the Ubuntu One service which had a Windows client released recently and will soon see a Mac client while it is yet to be unsupported on any other distro besides Ubuntu. Another such, albeit smaller, example is the Fedora liveusb-creator tool.

The Fedora liveusb-creator tool is used when one wants to install Fedora while using a USB stick rather then a CD-ROM. While Ubuntu does include a comparable tool called “Startup Disk Creator”, that tool only supports creation of bootable USB sticks for Debian-derivative distributions.

Installation of the  liveusb-creator tool is of course extremely easy on Fedora where it is accessible directly from the distribution’s repositories, the tool’s website also provides a Windows installer, but when it comes to other distributions the site resorts to providing a source archive without even including instructions as to what packages might be needed to run it.

Fortunately for users of other distributions, the Fedora liveusb-creator tool is written in Python, therefore running it on other distributions is a rather simple task, following are 3 simple steps required to use the liveusb-creator on Ubuntu, similar steps may apply to other Debian-derived distributions as well.

Step 1: Install required packages

The following packages are required to run the liveusb-creator, all of them can be found in the Ubuntu repositories.

  • isomd5sum
  • python-parted
  • python-pyisomd5sum
  • python-urlgrabber
  • extlinux
  • python-qt4
  • python-qt4-dbus
  • tar

The packages can all be installed with the following command line:

sudo aptitude install python-parted isomd5sum python-pyisomd5sum python-urlgrabber extlinux python-qt4 python-qt4-dbus tar

Step 2: Download and extract the liveusb-creator source

The liveusb-creator source can be downloaded from the website and extracted with the following commands:

wget https://fedorahosted.org/releases/l/i/liveusb-creator/liveusb-creator-3.11.7.tar.bz2 
tar -xvjf liveusb-creator-3.11.7.tar.bz2 

Step 3: Run liveusb-creator

The one thing to know here is that you need to run liveusb-creator as root to allow for low-level access to the USB stick, on Ubuntu this is typically done with “sudo”:

sudo ./liveusb-creator-3.11.7/liveusb-creator

Thats it! Enjoy your new Fedora installation…

About these ads


  1. I also needed to install python-qt4-dbus.

    Comment by Victor Costan — Thursday, February 16, 2012 @ 21:36

    • I needed that and the whole python-qt4 package:

      root@xxxxx-Latitude-E5400:/home/xxxxx/Downloads/liveusb-creator-3.11.6# cat /etc/issue
      Ubuntu 10.10 \n \l

      root@xxxxx-Latitude-E5400:/home/xxxxx/Downloads/liveusb-creator-3.11.6# apt-get install python-qt4-dbus
      root@xxxxx-Latitude-E5400:/home/xxxxx/Downloads/liveusb-creator-3.11.6# apt-get install python-qt4

      Comment by Olli — Sunday, February 19, 2012 @ 13:10

  2. Traceback (most recent call last):
    File “./liveusb-creator-3.11.6/liveusb-creator”, line 89, in
    File “./liveusb-creator-3.11.6/liveusb-creator”, line 82, in main
    from liveusb.gui import LiveUSBApp
    File “/home/amartinez/Descargas/Fedora/liveusb-creator-3.11.6/liveusb/__init__.py”, line 54, in
    from liveusb.linux_dialog import Ui_Dialog as LiveUSBInterface
    File “/home/amartinez/Descargas/Fedora/liveusb-creator-3.11.6/liveusb/linux_dialog.py”, line 10, in
    from PyQt4 import QtCore, QtGui
    ImportError: No module named PyQt4

    Comment by Andres — Saturday, May 19, 2012 @ 06:34

    • sudo apt-get install python-qt4-dbus

      Comment by Leandro Figueiredo Pereira — Tuesday, June 12, 2012 @ 10:32

  3. A big thankyou!

    Comment by Nik — Thursday, July 5, 2012 @ 13:54

  4. Hi, very useful guide!

    There is a newer version of the utility, version 3.11.6, can you update the link?


    Comment by kurt — Sunday, July 15, 2012 @ 04:39

    • Updated.
      Thanks everyone for your comments!

      Comment by ifireball — Wednesday, July 18, 2012 @ 22:22

  5. Thank you, and thanks to the developer(s) who wrote the Fedora LiveUSB Creator in python, so that it could be used with Ubuntu.

    Comment by David Berry — Sunday, October 21, 2012 @ 18:57

  6. There is a newer version of the utility, version 3.11.7 can you update the link pls



    wget https://fedorahosted.org/releases/l/i/liveusb-creator/liveusb-creator-3.11.7.tar.bz2
    tar -xvzf liveusb-creator-3.11.7.tar.bz2

    sudo ./liveusb-creator-3.11.7/liveusb-creator

    for some reason unknown to me, tar did not work for me on UBUNTU 12.04, so instead i used

    and then

    sudo ./liveusb-creator-3.11.7/liveusb-creator

    worked fine for me


    Comment by Nabeel S — Sunday, January 27, 2013 @ 10:42

    • Updated version, also added tar to list of required packages just in case.
      Can you tell me what is the error you get when running “tar”? It is one of the most common and basic commands, not having it work is as bad as having “ls” or “grep” not work.

      Comment by ifireball — Sunday, January 27, 2013 @ 23:37

      • The error on Ubuntu 12.04 is

        gzip: stdin: not in gzip format

        dropping the ‘z’ switch from your guide fixes this, of course.

        Thanks for the guide!

        Comment by SighMoan — Tuesday, January 29, 2013 @ 23:45

      • Thanks for the help

        Comment by Nabeel S — Tuesday, January 29, 2013 @ 23:47

      • Ah! I see. This being a “.tar.bz2″ file, you need “j” rather then “z”.
        Very well, fixed the post.

        Comment by ifireball — Wednesday, January 30, 2013 @ 00:48

  7. how do you install fedorliv live usb creator on fedora i’ve tried using the add/remove tool and i don’t seem to find it. when i use yum it just gives me mirrors that aren’t working????

    Comment by joshua — Thursday, February 7, 2013 @ 19:58

  8. Verifying filesystem…
    Setting /dev/sdb1 label to LIVE
    Verifying ISO MD5 checksum
    LiveUSB creation failed!

    im gettin’ this exception :( could you help please?

    Comment by 553818 — Wednesday, April 10, 2013 @ 21:38

  9. Install the package isomd5sum with the command below and should work:

    $ sudo aptitude install isomd5sum -y

    Comment by Arbex — Monday, June 3, 2013 @ 05:16

  10. When i type the “sudo aptitude install python-parted isomd5sum python-pyisomd5sum python-urlgrabber extlinux python-qt4 python-qt4-dbus tar” command i get this after i type my password:

    sudo: aptitude: command not found

    What am i doing wrong?

    Comment by karla — Monday, July 1, 2013 @ 22:25

    • You aren’t doing anything wrong, Canonical are by not including aptitude by default…
      Install it with “sudo apt-get install aptitude”

      Comment by ifireball — Monday, July 1, 2013 @ 23:16

      • Just changing the word “aptitude” to “apt-get” is sufficient. The “”aptitude” package does not need to be installed.

        Comment by Dawn — Tuesday, February 4, 2014 @ 04:53

  11. Ok going to bother everyone again. I got it working everything is installed, but i want to install F18 or 19 but there is only 17 on the list. what do i do now?

    Comment by karlababii — Saturday, July 6, 2013 @ 03:08

  12. syslinux package is missing from your list, it worked flawlessly after installing it on mi debian :D thanks !

    Comment by garaged — Thursday, August 1, 2013 @ 17:57

  13. sudo ./liveusb-creator-3.11.7/liveusb-creator gives me error in ubuntu 13.04
    No such command

    Comment by rajesh — Tuesday, October 1, 2013 @ 11:31

  14. The 3.11.8 works for me on Ubuntu 13.

    Comment by Josué Artaud — Sunday, October 20, 2013 @ 19:19

  15. […] stick would be to use the Fedora liveusb-creator tool. It’s just plain old Python, so if you install its dependencies, you should be able to run it on Ubuntu. Or you can run it on a nearby Windows […]

    Pingback by Creating bootable Fedora USB with persistent storage | Life with Linux — Thursday, November 7, 2013 @ 19:01

  16. perfect, thanks

    Comment by dtelaroli (@dtelaroli) — Wednesday, December 11, 2013 @ 00:59

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

The Silver is the New Black Theme. Create a free website or blog at WordPress.com.


Get every new post delivered to your Inbox.

Join 349 other followers

%d bloggers like this: