[Fedora-livecd-list] Problem creating livecd from a custom config

Tim Boring tjboring at gmail.com
Sun Apr 22 03:16:39 UTC 2007


hi! i'm trying to build a custom livecd from a config file using the
instructions here
http://www-128.ibm.com/developerworks/linux/library/l-fedora-livecd/index.html


so i've followed the format of the config file and then created my
rpm...these steps appear to complete without any problems.

the problem i'm having is when i run the livecd-creator command.  here's the
command i'm using:

' livecd-creator --repo=livecd,file:///usr/local/fc6/repo --package=
mylivecd-0.1-3.i386.rpm --fslabel=LiveCD-1.2'

and here's the output/error i'm getting:

/bin/cp: cannot create regular file
`/var/tmp/livecd-creator/build-tmp-d5CrT/install_root/sbin/mayflower': No
such file or directory
/bin/cp: cannot create regular file
`/var/tmp/livecd-creator/build-tmp-d5CrT/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-tmp-d5CrT/install_root/boot/vmlinuz*': No
such file or directory
/bin/mv: cannot stat
`/var/tmp/livecd-creator/build-tmp-d5CrT/install_root/boot/livecd-
initramfs.img': No such file or directory
/bin/cp: cannot stat
`/var/tmp/livecd-creator/build-tmp-d5CrT/install_root/usr/share/grub/i386-redhat/stage2_eltorito':
No such file or directory
/bin/cp: cannot stat
`/var/tmp/livecd-creator/build-tmp-d5CrT/install_root/boot/grub/splash.xpm.gz':
No such file or directory
Creating little endian 3.0 filesystem on ../out/squashfs.img, block size
65536.

Little endian filesystem, data block size 65536, compressed data, compressed
metadata, compressed fragments
Filesystem size 4072.30 Kbytes (3.98 Mbytes)
        0.13% of uncompressed filesystem size (3145920.81 Kbytes)
Inode table size 1303 bytes (1.27 Kbytes)
        0.66% of uncompressed inode table size (196758 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
        root (0)
Number of gids 0
INFO:   UTF-8 character encoding detected by locale settings.
        Assuming UTF-8 encoded filenames on source filesystem,
        use -input-charset to override.
/usr/bin/mkisofs: Uh oh, I cant find the boot image
'boot/grub/stage2_eltorito' !

it seems like the issue may be with the environment and the mayflower
executable not being in $PATH, but i added this line

    'export PATH=/sbin:$PATH'

to my config file and rebuilt my rpm.  i've also made sure that i have /sbin
in root's path prior to running the livecd-creator command.

really all i'm wanting to do is to set up the root user with a password and
according to the docs this is the only way i've found.  is there any simpler
way to do it?  or does anyone know what might be causing the error above?
any help is appreciated.

thanks,
tim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-livecd-list/attachments/20070421/7b64a1bf/attachment.htm>


More information about the Fedora-livecd-list mailing list