[Fedora-livecd-list] failing at my first attempt at liveCD creation
Fulko Hew
fulko.hew at gmail.com
Sun May 25 12:33:08 UTC 2008
On Sat, May 24, 2008 at 11:44 AM, Tim Wood <tim.wood at datawranglers.com>
wrote:
> Once you get it to work, you'll find that you can't log in to the minimal
> livecd.
>
Yes, I read that. But I was just trying to figure out whether or not I
could get the process
to work... and I couldn't. :-(
Thats why I also tried the 'desktop' version.
> 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.
>
They all seem to.
> I've found that (if I don't want SELinux), I have to do this to the
> kickstart.
>
Do what? Did you forget to write something here?
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.
>
I do have those things available... at least to me.
I don't know about the environment that livecd-creator makes for itself
though.
Same things goes for PATH. I can execute those utilities.
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.
>
Yup. everything is local.
> Until you get it to build without these errors it's not going to boot under
> qemu.
>
Thats why I'm looking for help/advice.
When I tried to build the 'desktop' version it complained about
'gnome-blog'
It all make me wonder if stuff hasn't been changed, and yet the
livecd-creator
tool and the kickstart files haven't been tracking?
So... I still need advice.
> Fulko Hew wrote:
>
>
> 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
>
> ------------------------------
>
> --
> Fedora-livecd-list mailing listFedora-livecd-list at redhat.comhttps://www.redhat.com/mailman/listinfo/fedora-livecd-list
>
>
>
> --
> _________________________________
> Tim Wood, CLP, RHCT
> 719.338.7484 (tel)
>
> The Data Wranglers
> Web, Database & more since since 1994
> www.datawranglers.com
>
>
> --
> Fedora-livecd-list mailing list
> Fedora-livecd-list at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-livecd-list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-livecd-list/attachments/20080525/7876549f/attachment.htm>
More information about the Fedora-livecd-list
mailing list