Bug 548283

Summary: [Patch] Fix PXE booting for livecd-iso-to-pxeboot created images
Product: [Fedora] Fedora Reporter: Munehiro Matsuda <haro>
Component: dracutAssignee: Harald Hoyer <harald>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: low    
Version: 12CC: anton, dougsland, dwalsh, gansalmon, harald, itamar, jonathan, jskala, kernel-maint, mclasen
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 004-4.fc12 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
PXE boot
Last Closed: 2010-01-28 00:54:12 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:
Attachments:
Description Flags
A patch to initramfs.img contents none

Description Munehiro Matsuda 2009-12-17 03:26:05 UTC
Created attachment 378885 [details]
A patch to initramfs.img contents

Description of problem:
I've been using /usr/bin/livecd-creator and /usr/bin/livecd-iso-to-pxeboot
to setup my PXE booting environment on Fedora10, with success.
Recently I moved to Fedora12, and PXE booting fails with following error:

  dracut: root was live:/LiveCD.iso. liveroot is now /LiveCD.iso
  dracut: FATAL: Don't know how to handle 'root=live:/LiveCD.iso'
  dracut: Refusing to continue

Version-Release number of selected component (if applicable):
kernel-2.6.31.6-166.fc12.i686
livecd-tools-031-1.fc12.1.i686

How reproducible:
Create a LiveCD ISO using livecd-creator and use the ISO with 
livecd-iso-to-pxeboot to create PXE boot images.
Use the PXE boot images with PXE boot server (DHCP and tftp servers),
and boot a PC with PXE.

Steps to Reproduce:
1. Prepare a kickstart config file and use with livecd-creator to create LiveCD ISO image.
2. Use ISO image with livecd-iso-to-pxeboot:
  # livecd-iso-to-pxeboot ./LiveCD.iso
3. Copy the created content to PXE boot environment and boot PC with PXE.
  
Actual results:
Get error on System boot:

  dracut: root was live:/LiveCD.iso. liveroot is now /LiveCD.iso
  dracut: FATAL: Don't know how to handle 'root=live:/LiveCD.iso'
  dracut: Refusing to continue


Expected results:
Should boot up to login prompt of Linux or GDM.

Additional info:
I have created a patch for contents of initramfs-2.6.31.6-166.fc12.i686.img
file.
The patch does:
1. Adds new "liveiso:" directive for the root image to
  /cmdline/30parse-dmsquash-live.sh file.
2. Adds new script to generate udev rule file accordingly.
  /pre-udev/30dmsquash-liveiso-genrules.sh

Comment 1 Daniel Walsh 2010-01-13 20:34:10 UTC
I am having the same problem.

I think this belongs to dracut or livecd tools.

Comment 2 Daniel Walsh 2010-01-13 20:39:00 UTC
*** Bug 554837 has been marked as a duplicate of this bug. ***

Comment 3 Harald Hoyer 2010-01-14 15:37:08 UTC
added to dracut git

Comment 4 Fedora Update System 2010-01-26 10:49:36 UTC
dracut-004-4.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/dracut-004-4.fc12

Comment 5 Fedora Update System 2010-01-27 01:06:39 UTC
dracut-004-4.fc12 has been pushed to the Fedora 12 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update dracut'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F12/FEDORA-2010-1088

Comment 6 Fedora Update System 2010-01-28 00:52:00 UTC
dracut-004-4.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.