<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Once you get it to work, you'll find that you can't log in to the
minimal livecd.  That's just the way it's designed.  So, I'd suggest
switching to another one.  It probably has a bunch of SELinux packages
specified.  I've found that (if I don't want SELinux), I have to do
this to the kickstart.<br>
<br>
It looks like a lot of your failures are because certain commands arn't
available: sed, getent, etc.  Make sure they're installed.  Then make
sure your PATH variable includes their directories.<br>
<br>
Also, make sure /var/tmp is on a local drive.  Pretty much any
directory that livecd-creator uses needs to be on a local drive or you
run the risk of strange build failures.<br>
<br>
Until you get it to build without these errors it's not going to boot
under qemu.<br>
<br>
Tim<br>
<br>
<br>
Fulko Hew wrote:
<blockquote
 cite="mid:8204a4fe0805240821t385c6344i210e7ff8dd5cb67a@mail.gmail.com"
 type="cite"><br style="font-family: courier new,monospace;">
  <span style="font-family: courier new,monospace;">I'm failing at my
first attempt at creating (or recreating) a live CD</span><br
 style="font-family: courier new,monospace;">
  <br style="font-family: courier new,monospace;">
  <span style="font-family: courier new,monospace;">- I'm using Fedora
8 (because I don't find KDE in F9 usable yet)</span><br
 style="font-family: courier new,monospace;">
  <span style="font-family: courier new,monospace;">- I have SELinux
disabled.</span><br style="font-family: courier new,monospace;">
  <br style="font-family: courier new,monospace;">
  <span style="font-family: courier new,monospace;">Following the
process described in the LiveCDHowTo, well, actually</span><br
 style="font-family: courier new,monospace;">
  <span style="font-family: courier new,monospace;">the step:</span><br>
  <br style="font-family: courier new,monospace;">
  <span style="font-family: courier new,monospace;">livecd-creator
--config=/usr/share/livecd-tools/livecd-fedora-minimal.ks</span><br
 style="font-family: courier new,monospace;">
  <br style="font-family: courier new,monospace;">
  <span style="font-family: courier new,monospace;">resulted in a
complaint about SELinux not being enabled on the host system...</span><br
 style="font-family: courier new,monospace;">
  <span style="font-family: courier new,monospace;">Right, so I edited
the '.ks' file and set selinux=--disabled</span><br
 style="font-family: courier new,monospace;">
  <br style="font-family: courier new,monospace;">
  <span style="font-family: courier new,monospace;">This let it proceed
through the build stage with the following errors:</span><br
 style="font-family: courier new,monospace;">
  <br style="font-family: courier new,monospace;">
  <br>
  <br>
  Installing: info                         ##################### [
29/129]<br>
/var/tmp/rpm-tmp.42253: line 2: sed: command not found<br>
error: %post(info-4.12-1.fc10.i386) scriptlet failed, exit status 127<br>
  <br>
...  <br>
  <br>
Installing: cracklib                     ##################### [ 45/129]<br>
/var/tmp/rpm-tmp.50225: line 2: getent: command not found<br>
/var/tmp/rpm-tmp.50225: line 3: getent: command not found<br>
  <br>
...<br>
  <br>
  Installing: kernel                       #####################
[124/129]<br>
device-mapper: table ioctl failed: No such device or address<br>
Command failed<br>
  <br>
...<br>
  <br>
  Installing: selinux-policy-targeted      #####################
[129/129]<br>
libsemanage.dbase_llist_query: could not query record value<br>
libsepol.sepol_user_modify: MLS is enabled, but no MLS default level
was defined for user guest_u<br>
libsepol.sepol_user_modify: could not load (null) into policy<br>
libsemanage.dbase_policydb_modify: could not modify record value<br>
libsemanage.semanage_base_merge_components: could not merge local
modifications into policy<br>
/usr/sbin/semanage: Could not add SELinux user guest_u<br>
libsepol.sepol_user_modify: MLS is enabled, but no MLS default level
was defined for user xguest_u<br>
libsepol.sepol_user_modify: could not load (null) into policy<br>
libsemanage.dbase_policydb_modify: could not modify record value<br>
libsemanage.semanage_base_merge_components: could not merge local
modifications into policy<br>
/usr/sbin/semanage: Could not add SELinux user xguest_u<br>
Removing password for user root.<br>
passwd: Success<br>
  <br>
  <br style="font-family: courier new,monospace;">
  <span style="font-family: courier new,monospace;">Then I used the
specified command to execute the ISO image:</span><br
 style="font-family: courier new,monospace;">
  <br style="font-family: courier new,monospace;">
  <span style="font-family: courier new,monospace;">qemu -m 512 -cdrom
livecd-fulko-200805241043.iso</span><br
 style="font-family: courier new,monospace;">
  <br style="font-family: courier new,monospace;">
  <span style="font-family: courier new,monospace;">The first time I
followed the procedure (a few days ago) to<br>
build the ISO and execute it,</span><span
 style="font-family: courier new,monospace;"> it wouldn't even boot.<br>
Today I retried the same procedure, and today it boots,</span><br
 style="font-family: courier new,monospace;">
  <span style="font-family: courier new,monospace;">but after it get to
the point of starting udev, something<br>
flashes by on the screen (qemu window)</span><span
 style="font-family: courier new,monospace;"> and then the window<br>
goes black, and I can't see anything after that.  I seems hung.</span><br
 style="font-family: courier new,monospace;">
  <br style="font-family: courier new,monospace;">
  <span style="font-family: courier new,monospace;">So then I tried
recreating the 'livecd-fedora-desktop.ks'<br>
version as per instructions</span><span
 style="font-family: courier new,monospace;"> and it dies with:</span><br>
  <br>
 Installing: tzdata                       ################### [ 
21/1019]<br>
umount: /var/tmp/livecd-creator-PxlU8W/install_root: device is busy<br>
umount: /var/tmp/livecd-creator-PxlU8W/install_root: device is busy<br>
ioctl: LOOP_CLR_FD: Device or resource busy<br>
Traceback (most recent call last):<br>
  File "/usr/bin/livecd-creator", line 1603, in <module><br>
    sys.exit(main())<br>
  File "/usr/bin/livecd-creator", line 1575, in main<br>
    target.install()<br>
  File "/usr/bin/livecd-creator", line 948, in install<br>
    self.installPackages()<br>
  File "/usr/bin/livecd-creator", line 591, in installPackages<br>
    self.ayum.runInstall()<br>
  File "/usr/bin/livecd-creator", line 330, in runInstall<br>
    return self.runTransaction(cb)<br>
  File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 591, in
runTransaction<br>
    errors = self.ts.run(cb.callback, '')<br>
  File "/usr/share/yum-cli/callback.py", line 124, in callback<br>
    fd = os.open(rpmloc, os.O_RDONLY)<br>
OSError: [Errno 2] No such file or directory:
'/var/tmp/livecd-creator-PxlU8W/install_root/var/cache/yum/development/packages/texlive-texmf-errata-fonts-2007-4.fc9.noarch.rpm'<br>
  <br style="font-family: courier new,monospace;">
  <br style="font-family: courier new,monospace;">
  <span style="font-family: courier new,monospace;">So I'm at a loss as
to how to proceed to start testing this process</span><br
 style="font-family: courier new,monospace;">
  <span style="font-family: courier new,monospace;">even before I add
my own customizations.</span><br
 style="font-family: courier new,monospace;">
  <br style="font-family: courier new,monospace;">
  <span style="font-family: courier new,monospace;">Any help would be
appreciated.</span><br style="font-family: courier new,monospace;">
  <br style="font-family: courier new,monospace;">
  <span style="font-family: courier new,monospace;">TIA</span><br
 style="font-family: courier new,monospace;">
  <span style="font-family: courier new,monospace;">Fulko</span><br>
  <br>
  <pre wrap="">
<hr size="4" width="90%">
--
Fedora-livecd-list mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Fedora-livecd-list@redhat.com">Fedora-livecd-list@redhat.com</a>
<a class="moz-txt-link-freetext" href="https://www.redhat.com/mailman/listinfo/fedora-livecd-list">https://www.redhat.com/mailman/listinfo/fedora-livecd-list</a>
  </pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">-- 
_________________________________
Tim Wood, CLP, RHCT
719.338.7484 (tel)

The Data Wranglers
Web, Database & more since    since 1994
<a class="moz-txt-link-abbreviated" href="http://www.datawranglers.com">www.datawranglers.com</a>
</pre>
</body>
</html>