Johnny Hughes wrote:
On Tue, 2006-11-07 at 17:26 +0700, beast wrote:
I have tried to create a livecd from Centos 4.4, it require to compile
unionfs as a module.
I'm using Centos kernel source kernel-2.6.9-42.EL.src.rpm and unionfs
v1.1.5 but its giving error while compiling.
<http://mirror.linux.duke.edu/pub/centos/4.4/os/SRPMS/kernel-2.6.9-42.EL.src.rpm>
Is anyone having success story building centos livecd from scratch?
--beast
There is a unionfs module that you can use already on the liveCD ...
just copy it into place in the new kernel directory and do:
depmod -a
The version used on the liveCD is also in the tar file here:
http://mirror.centos.org/centos/4/build/livecd/
I have tried to build using livecd-0.9.1.tgz, but it gives the error
while booting the CD:
starting unionfs support
insmod: cannot insert module '/tmp/unionfs.ko': invalid module format:
(-1): Exec format error
error inserting module unionfs (1)
...
I have followed README instructions, including compile unionfs againts
current kernel (kernel-2.6.9-42.livecd.c4) and able to modprobe unionfs
mannually.
The instructions seems different from the original linux-live script README:
1. it compile squashfs int kernel, while LL-script expect to find
squashfs.ko (however from the boot msg, it seems able to load squashfs,
no error)
2. it ask for different kernel version (ie `uname -r`_i686)
3. modify the existing linux isntallation (or do i ned to chroot before
running build-livecd.sh -sl ?)
Many thanks.
--beast
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos