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

Vladimir Shebordaev vladimir.shebordaev at gmail.com
Sun Apr 22 06:12:13 UTC 2007


Tim,

you have tried rather outdated David's livecd tools.

Please checkout the ones from FC7 Extras development (source) 
tree. Jeremy is working hard to make our lives easier.

If you are running FC6 or earlier you will probably need to 
manually backport "livecd" anaconda install method if you need 
it. The backport is quite straightforward. Also you will 
obviously need to upgrade pykickstart package to the version 
0.96... I fear to bore you, but it must be working.

In the hope it helps.

Regards,
Vladimir

Tim Boring пишет:
> 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 
> <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
> 
> 
> ------------------------------------------------------------------------
> 
> --
> Fedora-livecd-list mailing list
> Fedora-livecd-list at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-livecd-list





More information about the livecd mailing list