<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>