View Full Version : customizing a live CD
4th March 2009, 04:57 PM
is it possible to build your own custom live cd that would almost function like a purpose built appliance?
for example, a DNS server that would run on a CD and maintain it's zones in memory (or a small portion of space on the HDD)?
If it has been done, please link me if it hasn't please uh provide suggestions :-)
4th March 2009, 05:04 PM
4th March 2009, 06:02 PM
hmm ok, now I have a question
I'm following that guide there and I've gotten this output when trying to build a live cd, any pointers?
livecd-creator --repo=af,file:///opt/repo/core \
> --package=bind-9.5.0-29.b2.fc9.i386.rpm \
> --package=bind-chroot-9.5.0-29.b2.fc9.i386.rpm \
> --package=bind-libs-9.5.0-29.b2.fc9.i386.rpm \
> --package=bind-utils-9.5.0-29.b2.fc9.i386.rpm \
> --repo=sd,file:///opt/repo/base \
> --package=fedora-livecd-gnome-6-1.i386.rpm \
/bin/cp: cannot create regular file `/var/tmp/livecd-creator/build-tmpWtKjvS/install_root/sbin/mayflower': No such file or directory
/bin/cp: cannot create regular file `/var/tmp/livecd-creator/build-tmpWtKjvS/install_root/sbin/run-init': No such file or directory
/usr/sbin/chroot: cannot run command `/sbin/mayflower': No such file or directory
/usr/sbin/chroot: cannot run command `/sbin/fixfiles': No such file or directory
/bin/cp: cannot stat `/var/tmp/livecd-creator/build-tmpWtKjvS/install_root/boot/vmlinuz*': No such file or directory
/bin/mv: cannot stat `/var/tmp/livecd-creator/build-tmpWtKjvS/install_root/boot/livecd-initramfs.img': No such file or directory
/bin/cp: cannot stat `/var/tmp/livecd-creator/build-tmpWtKjvS/install_root/usr/share/grub/i386-redhat/stage2_eltorito': No such file or directory
/bin/cp: cannot stat `/var/tmp/livecd-creator/build-tmpWtKjvS/install_root/boot/grub/splash.xpm.gz': No such file or directory
Parallel mksquashfs: Using 2 processors
Creating little endian 3.1 filesystem on ../out/squashfs.img, block size 131072.
[================================================== =========/] 24577/24577 100%
Exportable Little endian filesystem, data block size 131072, compressed data, compressed metadata, compressed fragments, duplicates are removed
Filesystem size 54.50 Kbytes (0.05 Mbytes)
0.00% of uncompressed filesystem size (3145824.78 Kbytes)
Inode table size 748 bytes (0.73 Kbytes)
0.76% of uncompressed inode table size (98430 bytes)
Directory table size 43 bytes (0.04 Kbytes)
100.00% of uncompressed directory table size (43 bytes)
Number of duplicate files found 0
Number of inodes 3
Number of files 1
Number of fragments 0
Number of symbolic links 0
Number of device nodes 0
Number of fifo nodes 0
Number of socket nodes 0
Number of directories 2
Number of uids 1
Number of gids 0
I: -input-charset not specified, using utf-8 (detected in locale settings)
genisoimage: Uh oh, I cant find the boot image 'boot/grub/stage2_eltorito' !
4th March 2009, 06:55 PM
ok apparently I am using an archaic version of livecd-tools
4th March 2009, 07:10 PM
There are quite a few threads on this forum which may help you out a bit. Do a search for 'livecd-creator'.
I think it's best to start with a minimal default .ks kickstart file and add to it as you like. You can then add custom scripts and make miscellaneous additions and edits in the %post section of the kickstart file. For example, I have a LiveDVD which contains just enough for a text boot of fedora and the rest of the space contains a compressed backup image of my main fedora partition.
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.