I'm failing at my first attempt at creating (or recreating) a live CD
- I'm using Fedora 8 (because I don't find KDE in F9 usable yet)
- I have SELinux disabled.
Following the process described in the LiveCDHowTo, well, actually
the step:
livecd-creator --config=/usr/share/livecd-tools/livecd-fedora-minimal.ks
resulted in a complaint about SELinux not being enabled on the host system...
Right, so I edited the '.ks' file and set selinux=--disabled
This let it proceed through the build stage with the following errors:
Installing: info ##################### [ 29/129]
/var/tmp/rpm-tmp.42253: line 2: sed: command not found
error: %post(info-4.12-1.fc10.i386) scriptlet failed, exit status 127
...
Installing: cracklib ##################### [ 45/129]
/var/tmp/rpm-tmp.50225: line 2: getent: command not found
/var/tmp/rpm-tmp.50225: line 3: getent: command not found
...
Installing: kernel ##################### [124/129]
device-mapper: table ioctl failed: No such device or address
Command failed
...
Installing: selinux-policy-targeted ##################### [129/129]
libsemanage.dbase_llist_query: could not query record value
libsepol.sepol_user_modify: MLS is enabled, but no MLS default level was defined for user guest_u
libsepol.sepol_user_modify: could not load (null) into policy
libsemanage.dbase_policydb_modify: could not modify record value
libsemanage.semanage_base_merge_components: could not merge local modifications into policy
/usr/sbin/semanage: Could not add SELinux user guest_u
libsepol.sepol_user_modify: MLS is enabled, but no MLS default level was defined for user xguest_u
libsepol.sepol_user_modify: could not load (null) into policy
libsemanage.dbase_policydb_modify: could not modify record value
libsemanage.semanage_base_merge_components: could not merge local modifications into policy
/usr/sbin/semanage: Could not add SELinux user xguest_u
Removing password for user root.
passwd: Success
Then I used the specified command to execute the ISO image:
qemu -m 512 -cdrom livecd-fulko-200805241043.iso
The first time I followed the procedure (a few days ago) to
build the ISO and execute it, it wouldn't even boot.
Today I retried the same procedure, and today it boots,
but after it get to the point of starting udev, something
flashes by on the screen (qemu window) and then the window
goes black, and I can't see anything after that. I seems hung.
So then I tried recreating the 'livecd-fedora-desktop.ks'
version as per instructions and it dies with:
Installing: tzdata ################### [ 21/1019]
umount: /var/tmp/livecd-creator-PxlU8W/install_root: device is busy
umount: /var/tmp/livecd-creator-PxlU8W/install_root: device is busy
ioctl: LOOP_CLR_FD: Device or resource busy
Traceback (most recent call last):
File "/usr/bin/livecd-creator", line 1603, in <module>
sys.exit(main())
File "/usr/bin/livecd-creator", line 1575, in main
target.install()
File "/usr/bin/livecd-creator", line 948, in install
self.installPackages()
File "/usr/bin/livecd-creator", line 591, in installPackages
self.ayum.runInstall()
File "/usr/bin/livecd-creator", line 330, in runInstall
return self.runTransaction(cb)
File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 591, in runTransaction
errors = self.ts.run(cb.callback, '')
File "/usr/share/yum-cli/callback.py", line 124, in callback
fd = os.open(rpmloc, os.O_RDONLY)
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'
So I'm at a loss as to how to proceed to start testing this process
even before I add my own customizations.
Any help would be appreciated.
TIA
Fulko