Hi,
I'm trying to create a LiveCD using livecd-creator obtained from EPEL 5 repository. I also created a local repository of the CentOS 5.4 x64 where all of the rpms were copied from the DVD onto the hard drive.
I used the following command to create the ISO:
Code:
# LANG=C livecd-creator --config=centos-livecd-minimal.ks --fslabel=CentOS-minimal
The ks file was obtained from
projects.centos.org and modified only to remove the repos and point to the local repo on the hard drive.
When the ISO is being created, I got the following messages:
Code:
/sbin/restorecon: invalid option -- l
usage: /sbin/restorecon [-iFnrRv] [-e excludedir ] [-o filename ] [-f filename | pathname... ]
Removing password for user root.
passwd: Success
/sbin/restorecon: invalid option -- l usage: /sbin/restorecon [-iFnrRv] [-e excludedir ] [-o filename ] [-f filename | pathname... ]
Building an initramfs at /boot/livecd-initramfs-2.6.18-164.el5.img for kernel 2.6.18-164.el5
cat: /lib/modules/2.6.18-164.el5/modules.block: No such file or directory
Done; initramfs is 4.1M.
...
Exception exceptions.AttributeError: "noneType' object has no attribute 'sysconf'" in <bound method LiveCDYum.--del-- of <imgcreate.yuminst.LiveCDYum object at 0xc6b4fd0>> ignored
The ISO is created and is bootable. However during boot I get the following messages:
Code:
udevd[322]: add_to_rules: unknown key 'ATTRS{media}'
...
Starting udev: udevd[651]: add_to_rules: unknown key 'ATTRS{media}'
Would anyone have any idea what is causing this?