I perform the following procedures to custom spin fedora livecd:
1. Livecd-creator (Windows) to burn livecd (default .iso) to USB Device.
2. Boot Fedora11 LiveCD from USB.
3. Discovered that there is need to customize the packages.
4. yum install livecd-tools spin-kickstarts
5. change rootfs size in .ks file to 5GB
6. livecd-creator -c /root/fedora-live-base.ks -f f11livecd.iso -t . --cache=.
Following error appears:
mke2fs 1.41.4 (27-Jan-2009)
Filesystem label=f11livecd.iso
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
327680 inodes, 1310720 blocks
13107 blocks (1.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=1342177280
40 block groups
32768 blocks per group, 32768 fragments per group
8192 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736
Writing inode tables: done
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done
This filesystem will be automatically checked every 37 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
tune2fs 1.41.4 (27-Jan-2009)
Setting maximal mount count to -1
Setting interval between checks to 0 seconds
Traceback (most recent call last):
File "/usr/bin/livecd-creator", line 140, in <module>
sys.exit(main())
File "/usr/bin/livecd-creator", line 122, in main
creator.mount(options.base_on, options.cachedir)
File "/usr/lib/python2.6/site-packages/imgcreate/creator.py", line 524, in
mount
self.__create_selinuxfs()
File "/usr/lib/python2.6/site-packages/imgcreate/creator.py", line 456, in
__create_selinuxfs
for (file, value) in files + self.__getbooleans():
File "/usr/lib/python2.6/site-packages/imgcreate/creator.py", line 438, in
__getbooleans
for i in selinux.security_get_boolean_names()[1]:
OSError: [Errno 2] No such file or directory
LiveCD should be created with no issues.
My system is up-to date, I have used windows live usb creator to burn the F11
Live CD onto USB, then I booted from the USB, installed livecd tools, and am trying to spin another LiveCD ISO with larger RootFS. I also tried this command with default .ks files, same error occurred, so it is not related to RootFS size. I changed the '/' fs type to vfat instead of ext4, same results appear. I am using a local repo which I created and
adjusted the group info in local-comp.xml file, so I do not have doubts the local repo is the reason behind this. Please help.