{"id":362,"date":"2009-07-10T22:24:58","date_gmt":"2009-07-11T02:24:58","guid":{"rendered":"http:\/\/www.timelordz.com\/blog\/?p=362"},"modified":"2009-07-10T22:40:34","modified_gmt":"2009-07-11T02:40:34","slug":"getting-fedora-liveusb-creator-to-actually-create-something","status":"publish","type":"post","link":"https:\/\/www.timelordz.com\/blog\/2009\/07\/getting-fedora-liveusb-creator-to-actually-create-something\/","title":{"rendered":"Getting Fedora LiveUSB-Creator to actually create something"},"content":{"rendered":"<p>So a few weeks ago I found this nifty utility to create a Fedora persistent live USB stick and thought I would give it a go tonight.<\/p>\n<p>It runs in a simple GUI interface and lets you select the amount of space to dedicate to persistence. You can also choose which version of Fedora to install and it will grab the needed .iso automatically &#8211; which is very nice. All in all, it looked pretty cool. And it apparently will work on the OLPC too, which is also nice.<\/p>\n<p style=\"text-align: center;\"><a rel=\"attachment wp-att-367\" href=\"http:\/\/www.timelordz.com\/blog\/?attachment_id=367\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-367\" title=\"liveusb-creator\" src=\"http:\/\/www.timelordz.com\/blog\/.\/wp-content\/uploads\/2009\/07\/liveusb-creator.png\" alt=\"liveusb-creator\" width=\"432\" height=\"423\" srcset=\"https:\/\/www.timelordz.com\/blog\/.\/wp-content\/uploads\/2009\/07\/liveusb-creator.png 432w, https:\/\/www.timelordz.com\/blog\/.\/wp-content\/uploads\/2009\/07\/liveusb-creator-300x293.png 300w\" sizes=\"auto, (max-width: 432px) 100vw, 432px\" \/><\/a><\/p>\n<p><a title=\"Fedora LiveUSB-creator\" href=\"https:\/\/fedorahosted.org\/liveusb-creator\/\" target=\"_blank\">The site<\/a> describes it as:<\/p>\n<p><em><span style=\"color: #00ff00;\">&#8220;The liveusb-creator is a cross-platform tool for easily installing live operating systems on to USB flash drives. Works in Windows and Linux!&#8221;<\/span><br \/>\n<\/em><br \/>\nWell, by &#8220;cross-platform&#8221; they apparently mean &#8220;this works if you are using Fedora already or Windows.&#8221; If you are using another Linux distro, you will encounter a few issues as it depends on some packages that are installed by default in Fedora and often are not available in other distro&#8217;s repositories.<\/p>\n<p>Here is how I got this to work under Suse 11.1 The same general points may apply to other distros as well, and you will likely have to find the packages from your favorite sites &#8211; fortunately there are not many required.<\/p>\n<p><span style=\"color: #00ff00;\">How to make it work:<\/span><\/p>\n<p>The README says to install python-qt4 so start with that if you don&#8217;t already have it.<\/p>\n<p><a href=\"https:\/\/fedorahosted.org\/liveusb-creator\/\" target=\"_blank\">Download<\/a>, upzip and run liveusb-creator. Select your version of Fedora to install and the USB drive to install to. It will download the matching .iso to the working directory.<\/p>\n<p>What follows are the various fixes I used for each new issue as it turned up. Note that you don&#8217;t have to download the .iso again on subsequent attempts, but you may rather browse to it &#8211; it puts .iso&#8217;s in the working directory the utility runs from.<\/p>\n<p><!--more--><\/p>\n<p>On the first attempt, after downloading the .iso the installer failed at\u00a0 &#8220;Verifying ISO MD5 checksum&#8221;.\u00a0 Examining the log file (created in the same working directory) showed:<\/p>\n<p><span style=\"color: #33cccc;\">Callandor:\/home\/paracelsus\/liveusb-creator-3.7 # tail liveusb-creator.log<\/span><\/p>\n<p><span style=\"color: #33cccc;\">checkisomd5 &#8220;\/home\/paracelsus\/liveusb-creator-3.7\/Fedora-11-i686-Live-KDE.iso&#8221;<br \/>\n\/bin\/sh: checkisomd5: command not found<\/span><\/p>\n<p>You can get checkisomd5 and a few other things you will need from http:\/\/rpm.pbone.net &#8211; just download the Fedora 10 versions for your architechture and install them.<\/p>\n<p><span style=\"color: #33cccc;\">wget ftp:\/\/ftp.univie.ac.at\/systems\/linux\/fedora\/releases\/10\/Everything\/i386\/os\/Packages\/isomd5sum-1.0.4-1.i386.rpm<\/span><\/p>\n<p><span style=\"color: #33cccc;\">Callandor:\/home\/paracelsus\/liveusb-creator-3.7 # rpm -Uvh isomd5sum-1.0.4-1.i386.rpm<\/span><\/p>\n<p><span style=\"color: #33cccc;\">warning: isomd5sum-1.0.4-1.i386.rpm: Header V3 DSA signature: NOKEY, key ID 4ebfc273<br \/>\nerror: Failed dependencies:<br \/>\nlibpopt.so.0(LIBPOPT_0) is needed by isomd5sum-1.0.4-1.i386<br \/>\npython(abi) = 2.5 is needed by isomd5sum-1.0.4-1.i386<\/span><\/p>\n<p>Although checkisomd5 complained on missing a few deps they don&#8217;t look too serious, let&#8217;s try it anyway:<\/p>\n<p><span style=\"color: #33cccc;\">Callandor:\/home\/paracelsus\/liveusb-creator-3.7 # rpm &#8211;nodeps -Uvh isomd5sum-1.0.4-1.i386.rpm<br \/>\nwarning: isomd5sum-1.0.4-1.i386.rpm: Header V3 DSA signature: NOKEY, key ID 4ebfc273<br \/>\nPreparing&#8230;\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 ########################################### [100%]<br \/>\n1:isomd5sum\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 ########################################### [100%]<br \/>\n<\/span><br \/>\nRunning the installer, it failed again. Now we had:<\/p>\n<p><span style=\"color: #33cccc;\">Callandor:\/home\/paracelsus\/liveusb-creator-3.7 # tail liveusb-creator.log<\/span><\/p>\n<p><span style=\"color: #33cccc;\">\/sbin\/dosfslabel \/dev\/sdd1 FEDORA<br \/>\n\/bin\/sh: \/sbin\/dosfslabel: No such file or directory<\/span><\/p>\n<p>So let&#8217;s grab and install that too:<\/p>\n<p><span style=\"color: #33cccc;\">wget ftp:\/\/ftp.univie.ac.at\/systems\/linux\/fedora\/releases\/10\/Everything\/i386\/os\/Packages\/dosfstools-3.0.0-2.fc10.i386.rpm<br \/>\n<\/span><\/p>\n<p><span style=\"color: #33cccc;\">Callandor:\/home\/paracelsus\/liveusb-creator-3.7 # rpm -Uvh dosfstools-3.0.0-2.fc10.i386.rpm<br \/>\nwarning: dosfstools-3.0.0-2.fc10.i386.rpm: Header V3 DSA signature: NOKEY, key ID 4ebfc273<br \/>\nPreparing&#8230;\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 ########################################### [100%]<br \/>\n1:dosfstools\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 ########################################### [100%] <\/span><\/p>\n<p>Running it again, it still fails &#8211; this time, right at the end of the report:<\/p>\n<p><span style=\"color: #33cccc;\">Fedora-11-i686-Live-KDE.iso selected<br \/>\nYour device already contains a LiveOS.<br \/>\nIf you continue, this will be overwritten.<br \/>\nWarning: Creating a new persistent overlay will delete your existing one.<br \/>\nPress &#8216;Create Live USB&#8217; again if you wish to continue.<br \/>\nRemoving existing Live OS<br \/>\nVerifying filesystem&#8230;<br \/>\nSetting \/dev\/sdd1 label to FEDORA<br \/>\nVerifying ISO MD5 checksum<br \/>\nISO MD5 checksum passed<br \/>\nVerifying SHA256 checksum of LiveCD image&#8230;<br \/>\nExtracting live image to USB device&#8230;<br \/>\nWrote to device at 10 MB\/sec<br \/>\nCreating 1024MB persistent overlay<br \/>\nSetting up OLPC boot file&#8230;<br \/>\nInstalling bootloader&#8230;<br \/>\nNo module named parted<br \/>\nLiveUSB creation failed!<br \/>\nNo module named parted<\/span><\/p>\n<p>Investigating this, I found that parted was in fact installed. I wonderd what specifically it was trying to do at this point and tried booting it anyway, which yielded a &#8220;no operating system&#8221; BIOS error. My suspecion was that the partition was not marked bootable, and this turned out to be the case.<\/p>\n<p>Using <span style=\"color: #33cccc;\">fdisk \/dev\/sdd<\/span> (your drive designation may differ) I just marked the partition on the USB drive as bootable. (&#8220;P&#8221; prints the partition table, and don&#8217;t forget to &#8220;W&#8221; write it once you have flagged it bootable.)<\/p>\n<p>This final step then allowed it to boot up!<\/p>\n<p>Rather a pain to get this working, and I don&#8217;t see why they don&#8217;t make it a bit friendlier, but it is still a pretty cool tool.<\/p>\n<p>I hope the above helps you to use it in your distro.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>So a few weeks ago I found this nifty utility to create a Fedora persistent live USB stick and thought I would give it a go tonight. It runs in a simple GUI interface and lets you select the amount of space to dedicate to persistence. You can also choose which version of Fedora to [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,9],"tags":[],"class_list":["post-362","post","type-post","status-publish","format-standard","hentry","category-linux","category-netbooks"],"_links":{"self":[{"href":"https:\/\/www.timelordz.com\/blog\/wp-json\/wp\/v2\/posts\/362","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.timelordz.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.timelordz.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.timelordz.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.timelordz.com\/blog\/wp-json\/wp\/v2\/comments?post=362"}],"version-history":[{"count":5,"href":"https:\/\/www.timelordz.com\/blog\/wp-json\/wp\/v2\/posts\/362\/revisions"}],"predecessor-version":[{"id":365,"href":"https:\/\/www.timelordz.com\/blog\/wp-json\/wp\/v2\/posts\/362\/revisions\/365"}],"wp:attachment":[{"href":"https:\/\/www.timelordz.com\/blog\/wp-json\/wp\/v2\/media?parent=362"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.timelordz.com\/blog\/wp-json\/wp\/v2\/categories?post=362"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.timelordz.com\/blog\/wp-json\/wp\/v2\/tags?post=362"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}