Error with fedora live USB: extract_iso must be run before install_bootloader
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Windows 7 home premium X86_64 | Linux
Posts: 63
Rep:
Error with fedora live USB: extract_iso must be run before install_bootloader
Hi,
I am trying to burn an iso image to my USB drive via Fedora live USB creator. It doesent work though, here is the output:
Code:
opensuse.iso selected
Verifying filesystem...
Extracting live image to USB device...
Wrote to device at 2 MB/sec
extract_iso must be run before install_bootloader
LiveUSB creation failed!
extract_iso must be run before install_bootloader
Hmm. I checked the code, but still couldn't find my problem. I know for sure my USB drive is capable of booting, but other programs like unetbootin don't work. My .iso file is the 64-bit opensuse 11.2 DVD (4.3GB). What should I do?
I have created fedora live usb sticks with the same installation of fedora liveUSBcreator successfully before.
I turned to the method of fedora liveUSBcreator after an failed attempt to
follow the method described at openSUSE :
# dd if=XXX.XXX of=/dev/sdX bs=4M;sync
followed by a script to create one more partion on the usb stick.
I am wondering if the openSUSE Live iso is different somehow from the fedora live iso?
I knew I had seen that error before. I think I did get around it somehow but see the below links. I think it is easier.
I think it fails also on the put multiple ISO's on a flash and boot directly to iso image.
Hello,
The error message comes from the creator.py file. Here is the code:
Code:
if not os.path.exists(os.path.join(self.dest, 'isolinux')):
raise LiveUSBError('extract_iso must be run before '
'install_bootloader')
So make sure there is a 'isolinux' directory at the root of your ISO file. For example, partedmagic ISO does not have it and liveUSB fails with this message.
I got same error today. And after trying another iso-to-stick tool, I got a prompt from the anti-spyware software telling me that a software is trying to access raw disk areas, etc. So: I am thinking that the above error might be due to antivirus software on computer.
Trying to use distro X's live usb creation tool on an iso of distro Y is very likely to result in failure due to differences in how the systems are configured. With Fedora (and some other distros' iso files), you can use dd to create a bootable usb flash drive
Code:
dd if=<distro's iso> of=<usb sevice> bs=4M
The downsides to this technique are:
1. If you screw up the device names appropriately, you can wipe your whole hard drive
2. No persistent storage
Hello,
The error message comes from the creator.py file. Here is the code:
Code:
if not os.path.exists(os.path.join(self.dest, 'isolinux')):
raise LiveUSBError('extract_iso must be run before '
'install_bootloader') So make sure there is a 'isolinux' directory at the root of your ISO file. For example, partedmagic ISO does not have it and liveUSB fails with this message.
Hope it helps.
Laurent
Laurent gave us reason why this error occours. Simply Try to write ISO to pendrive, if it fail probably "isolinux" is renamed or moved to subdirectory. Simply copy it to main dir and/or rename to "isolinux" and try to write ISO again. This time it will go ok.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.