Bug 644192

Summary: livecd-iso-to-disk creates an unrunnable device with --skipcopy
Product: [Fedora] Fedora Reporter: Bruce Jerrick <bmj001>
Component: livecd-toolsAssignee: Brian Lane <bcl>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 13CC: adam.stokes, bruno, dhuff, Jasper.Hartline, katzj, wtogami
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-10-21 23:45:15 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Bruce Jerrick 2010-10-19 06:35:46 UTC
Description of problem:
A device created from a Fedora DVD ISO image with livecd-iso-to-disk won't run
if --skipcopy is given.  The problem is that it also skips copying install.img,
which is necessary to run.

Version-Release number of selected component (if applicable):
livecd-tools-033-3.fc13

How reproducible:
100%

Steps to Reproduce:
WARNING: This will overwrite /dev/sdc1 and the MBR of /dev/sdc .
For my tests /dev/sdc was a USB flash drive.  The --noverify skips the
  checksumming of the ISO image.
1. livecd-iso-to-disk --reset-mbr --noverify --skipcopy Fedora-13-i386-DVD.iso /dev/sdc1
2. Boot from /dev/sdc .
3. Select rescue mode from the boot menu.

Actual results:
After the two language dialogs, an Error window pops up:
    An error occured finding the installation image ...

Expected results:
Boot should proceed into rescue mode.

Additional info:
A simple patch is provided in an attachment.  It also fixes another problem --
even with --skipcopy, the size checks assume the entire ISO image has to fit
on the device.

The same problem exists in livecd-tools-034-11.fc14 .  I have not included
a patch for that; it looks like similar mods will fix it also.

Comment 1 Fedora Admin XMLRPC Client 2010-10-21 17:57:57 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 2 Brian Lane 2010-10-21 23:45:15 UTC

*** This bug has been marked as a duplicate of bug 644188 ***