<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div>Hi<br><br>I have a huge problem building a RHEL6 LiveCD/DVD.<br>This happend on two different virtual machines I used to build a LiveCD, thats why I'm writing to this list.<br><br>Setup: Clean RHEL6.2 Install, &gt;30GB free space available.<br>Aim: RHEL6 LiveCD with some extra packages.<br><br>After a few successfull builds (3 - 4, sometimes after 1) livecd-creator stops working. <br>If I try to build a LiveCD I always get the following error:<br><br>Error creating Live CD : fsck after resize returned an error!&nbsp; image to debug at /tmp/resize-image-ZJgv1q<br><br>I try to build the LiveCD with the following line:<br><br>livecd-creator -c fedora-livecd-desktop.ks -f rhel6-live -t /var/tmp/rhel6-live/ --cache /var/cache/rhel6-live/ -d -v --logfile=/root/spin-kickstarts-kundrak/rhel6-live.log<br><br>I run the commandline
 within a simple shellscript which exports LANG=C prior to starting livecd-creator as I read on an old post on this list, that this could be an issue.<br><br>Because it drove me nuts, I (manually) logged the configuration (added packages, changed settings) of my runs on the second machine. I thought this would be a good idea because then I'm able to revert my steps and always have a working base-configuration. But even when I'm reverting my last step after it stopped working, it still doesn't work and breaks with the same error.<br>Between the runs, I cleaned the cache &amp; tmp dir and even did reboots. But still no luck.<br><br>It can't be the repo configuration or other stuff like the part size etc., because when it runs without an error, I cant boot the livecd and all extra packages I included are available.<br><br>Why is it sometimes working and why not?</div><div><br></div><div>Do you have any suggestions? I really appreciate any
 help!</div><div><br></div><div>Thanks,</div><div>Alex</div><div><br></div><div><br></div><div><br></div><div>Here is the error from livecd-creator:<br><br>umount: /var/tmp/rhel6-live/imgcreate-lIbnh_/install_root: device is busy.<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (In some cases useful info about processes that use<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; the device is found by lsof(8) or fuser(1))<br>Unmounting directory /var/tmp/rhel6-live/imgcreate-lIbnh_/install_root failed, using lazy umount<br>lazy umount succeeded on /var/tmp/rhel6-live/imgcreate-lIbnh_/install_root<br>loop: can't delete device /dev/loop2: Device or resource busy<br>e2fsck 1.41.12 (17-May-2010)<br>_rhel6-live: recovering journal<br>Pass 1: Checking inodes, blocks, and sizes<br>Pass 2: Checking directory structure<br>Pass 3: Checking directory connectivity<br>Pass 4: Checking reference counts<br>Pass 5: Checking group summary information<br><br>_rhel6-live:
 ***** FILE SYSTEM WAS MODIFIED *****<br>_rhel6-live: 97630/196608 files (0.1% non-contiguous), 611369/786432 blocks<br>e2image 1.41.12 (17-May-2010)<br>resize2fs 1.41.12 (17-May-2010)<br>Resizing the filesystem on /var/tmp/rhel6-live/imgcreate-lIbnh_/tmp-bUcK4E/ext3fs.img to 617874 (4k) blocks.<br>The filesystem on /var/tmp/rhel6-live/imgcreate-lIbnh_/tmp-bUcK4E/ext3fs.img is now 617874 blocks long.<br><br>e2fsck 1.41.12 (17-May-2010)<br>_rhel6-live: recovering journal<br>The filesystem size (according to the superblock) is 786432 blocks<br>The physical size of the device is 617874 blocks<br>Either the superblock or the partition table is likely to be corrupt!<br>Abort? yes<br><br>/usr/lib/python2.6/site-packages/imgcreate/errors.py:45: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6<br>&nbsp; return unicode(self.message)<br><br></div><div><br></div><div><br></div><div><br><br>Here is the full output of my (debug enabled)
 log:<br><br>Extending sparse file /var/tmp/rhel6-live/imgcreate-lIbnh_/tmp-bUcK4E/ext3fs.img to 3221225472<br>Mounting /dev/loop2 at /var/tmp/rhel6-live/imgcreate-lIbnh_/install_root<br>No such package java-1.6.0-openjdk-plugin to remove<br>No such package mpage to remove<br>No such package ibus-pinyin-open-phrase to remove<br>No such package constantine-backgrounds-extras to remove<br>No such package specspo to remove<br>No such package system-config-rootpassword to remove<br>No such package evolution-help to remove<br>No such package gnome-games-help to remove<br>No such package desktop-backgrounds-basic to remove<br>No such package system-config-boot to remove<br>No such package system-config-network to remove<br>Unmounting directory /var/tmp/rhel6-live/imgcreate-lIbnh_/install_root<br>Unmounting directory /var/tmp/rhel6-live/imgcreate-lIbnh_/install_root failed, using lazy umount<br>lazy umount succeeded on
 /var/tmp/rhel6-live/imgcreate-lIbnh_/install_root<br>Losetup remove /dev/loop2<br>Checking filesystem /var/tmp/rhel6-live/imgcreate-lIbnh_/tmp-bUcK4E/ext3fs.img<br>Checking filesystem /var/tmp/rhel6-live/imgcreate-lIbnh_/tmp-bUcK4E/ext3fs.img<br>Error creating Live CD : fsck after resize returned an error!&nbsp; image to debug at /tmp/resize-image-TxijRK</div></div></body></html>