Sunday, October 18, 2009

Building A Live CD - Failures

For Week6, our task was to create a Fedora LiveCD, from scratch.

So Following the Tutorial From Fedora's Wiki site and as well notes our professor Chris Tyler placed on our class Wiki Site I was able to install the needed tools, and tried running the following command

livecd-creator --config=/usr/share/spin-kickstarts/fedora-livecd-desktop.ks --fslabel=Boris-LiveCd --cache=/var/cache/live

and recieved the following error:

Traceback (most recent call last):
File "/usr/bin/livecd-creator", line 140, in
sys.exit(main())
File "/usr/bin/livecd-creator", line 114, in main
creator = imgcreate.LiveImageCreator(ks, name, fs_label)
File "/usr/lib/python2.6/site-packages/imgcreate/live.py", line 47, in __init_ _
LoopImageCreator.__init__(self, *args)
File "/usr/lib/python2.6/site-packages/imgcreate/creator.py", line 795, in __i nit__
ImageCreator.__init__(self, ks, name)
File "/usr/lib/python2.6/site-packages/imgcreate/creator.py", line 76, in __in it__
self.__sanity_check()
File "/usr/lib/python2.6/site-packages/imgcreate/creator.py", line 404, in __s anity_check
raise CreatorError("SELinux requested but not enabled on host")
imgcreate.errors.CreatorError/usr/lib/python2.6/site-packages/imgcreate/errors.p y:40: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
return str(self.message)
: SELinux requested but not enabled on host

So...I logged onto the CDOT machine HongKong and ran the same command it completed successfully

So next, it was time to try the image on a virtual machine. To do so, I entered the following command

qemu -kvm -m 512 -cdrom "image file"


Sadly I received the following error.


Well, for now I will leave it at that and will ask Chris on Tuesday about these errors, maybe he would have some insight to this.

Next Task, adding my own package to the LiveCd.

Chao...

1 comments:

piku said...

Looking Cute ...........

Post a Comment