LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Error with fedora live USB: extract_iso must be run before install_bootloader (https://www.linuxquestions.org/questions/linux-newbie-8/error-with-fedora-live-usb-extract_iso-must-be-run-before-install_bootloader-780550/)

Infasoft 01-07-2010 09:40 AM

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

Any suggestions? Thanks.

Infasoft 01-08-2010 09:07 AM

Any ideas? Could it be a bug in the program?

jefro 01-08-2010 11:04 AM

I doubt it is a bug.

I have used liveusbcreator enough to feel it is OK.

Check the shal or md4 or the disk or boot it to a VM and run it's own disk check.

Might have a bad download of the creator or the install is bad.

You should edit your post instead of a second post. Makes it look like it was answered.


Also check date on your creator. See this for how it gives that error. https://fedorahosted.org/pipermail/l...er/000040.html

Infasoft 01-09-2010 11:40 AM

Quote:

Originally Posted by jefro (Post 3819026)
I doubt it is a bug.

I have used liveusbcreator enough to feel it is OK.

Check the shal or md4 or the disk or boot it to a VM and run it's own disk check.

Might have a bad download of the creator or the install is bad.

You should edit your post instead of a second post. Makes it look like it was answered.


Also check date on your creator. See this for how it gives that error. https://fedorahosted.org/pipermail/l...er/000040.html

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?

retusj 02-24-2010 06:04 AM

Hello

I encountered this same problem today.

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?

jefro 02-24-2010 04:26 PM

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.

http://en.opensuse.org/Live_USB_stick


http://www.pendrivelinux.com/usb-sus...drive-install/

http://www.pendrivelinux.com/search/opensuse

LaurentC 10-07-2010 02:51 AM

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

adrianTNT 10-31-2011 06:03 AM

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.

RockDoctor 10-31-2011 09:16 AM

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

PistonPL 09-10-2012 04:41 PM

Quote:

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.


All times are GMT -5. The time now is 07:12 PM.