PDA

View Full Version : Unable to build F12 LiveCD using livecd-creator


Salgeras
18th December 2009, 12:21 PM
Hello!!
I'm trying to build F12 LiveCD using livecd-creator, but now I am stuck with an error which dont know how to solve. Speaking of which, I'm not sure I understand its meaning, either :)

First, some basic info and steps I've taken so far:

Computer which acts like building host has Fedora 12, 32bit. That machine is dedicated just for building, so it has 70gb hdd space, 3gb ram. Following howtos, set SELinux to permissive. In /root, I've created following dirs:
# mkdir /root/livecd-creator/F12live (for .ks files)
# mkdir /root/livecd-creator/cache (for packages from repo)

That computer and .ks files were used for building F10 with support for serbian language, so I've just edited fedora-live-base.ks and supply different repo links (we have our mirror server with all fedora packages). Building process started with:
# livecd-creator --cache=/root/livecd/cache -f F12-LiveCD-Latin -c fedora-livecd-desktop.ks

from F12live directory. Everything starts ok: repo retrieving, package downloading and installing. But, then breaks, and this is the error:

Installing: pulseaudio-gdm-hooks ################### [1027/1029]
Installing: gnome-packagekit ################### [1028/1029]
Installing: xorg-x11-drivers ################### [1029/1029]

Removing password for user root.
passwd: Success
cp: cannot stat `/var/tmp/imgcreate-rSryyH/install_root/usr/share/doc/HTML/readme-live-image/en_US/readme-live-image-en_US.txt': No such file or directory
umount: /var/tmp/imgcreate-rSryyH/install_root: device is busy.
(In some cases useful info about processes that use
the device is found by lsof(8) or fuser(1))
/usr/lib/python2.6/site-packages/imgcreate/errors.py:45: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
return unicode(self.message)
Error creating Live CD : Unable to unmount filesystem at /var/tmp/imgcreate-rSryyH/install_root
umount: /var/tmp/imgcreate-rSryyH/install_root: device is busy.
(In some cases useful info about processes that use
the device is found by lsof(8) or fuser(1))
Traceback (most recent call last):
File "/usr/bin/livecd-creator", line 140, in <module>
sys.exit(main())
File "/usr/bin/livecd-creator", line 135, in main
creator.cleanup()
File "/usr/lib/python2.6/site-packages/imgcreate/creator.py", line 578, in cleanup
self.unmount()
File "/usr/lib/python2.6/site-packages/imgcreate/creator.py", line 556, in unmount
self._unmount_instroot()
File "/usr/lib/python2.6/site-packages/imgcreate/live.py", line 191, in _unmount_instroot
LoopImageCreator._unmount_instroot(self)
File "/usr/lib/python2.6/site-packages/imgcreate/creator.py", line 943, in _unmount_instroot
self.__instloop.cleanup()
File "/usr/lib/python2.6/site-packages/imgcreate/fs.py", line 346, in cleanup
Mount.cleanup(self)
File "/usr/lib/python2.6/site-packages/imgcreate/fs.py", line 325, in cleanup
self.unmount()
File "/usr/lib/python2.6/site-packages/imgcreate/fs.py", line 356, in unmount
raise MountError("Unable to unmount filesystem at %s" % self.mountdir)
imgcreate.errors.MountError/usr/lib/python2.6/site-packages/imgcreate/errors.py:40: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
return str(self.message)
: Unable to unmount filesystem at /var/tmp/imgcreate-rSryyH/install_root
umount: /var/tmp/imgcreate-rSryyH/install_root: device is busy.
(In some cases useful info about processes that use
the device is found by lsof(8) or fuser(1))
Exception imgcreate.errors.MountError: MountError('Unable to unmount filesystem at /var/tmp/imgcreate-rSryyH/install_root',) in <bound method x86LiveImageCreator.__del__ of <imgcreate.live.x86LiveImageCreator object at 0x9dadb6c>> ignored



As I can see, I have 2 errors: first - deprecation warning, second - umount error. Unfortunately, I'm not very much familiar with building process, so I dont understand the second error meaning.

Can someone help me about that??

I'm also providing both .ks files, so you can see their configurations.

Thanks in advance!!!

Salgeras
18th December 2009, 08:02 PM
Here, let me answer to myself :)

Successfully solved this problem, so I'll write solution if anyone would ever needed. Many thanks to "nailuj24" from #fedora IRC channel :)

1. freshly installed OS, only with basic packages, don't do update - I'm not sure do you really have to do like this, but on my every day workstation I had that error, on newly installed system did not

2. switch SELinux from enforcing to permissive using "setenforce 0", don't edit /etc/sysconfig/selin

3. install "livecd-tools" and "spin-kickstarts", copy and edit *.ke files from /usr/share/spin-kickstarts/

4. start "livecd-tools" regularly, and that's it

5. If the error from above still occur: #rm -rf /var/tmp/imagecreate-*, and reboot

That would be all!! ;)

pedora
5th January 2010, 06:51 PM

Don't know how anyone is getting anywhere with the liveusb creator but I find the utility to not be intuitive at all.