[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



Well, Tim,

I meant rather a backport to your current Fedora version. Anaconda does depend on around 2 dozen packages, so I tried to incorporate recent changes from livecd-tools-006 fc7 rpm back to my FC6 a few weeks ago. Everything was almost fine but faulty yum install root setup broke my host. Afaik, it has been fixed a week ago. But I doubt those changes have been also made to FC7 LiveCD.

The most recent fc7-test3-6.92 livecd made lots of people scream. You can also try it. It is available, e.g. from

<ftp://download.fedora.redhat.com/pub/fedora/linux/core/test/6.92/Live/>.

You will have an option for i386 or x86_64.

If you managed to boot from the image installed to your hard disk you will have a chance to update and try fc7 development rpms from

<ftp://download.fedora.redhat.com/pub/fedora/linux/extras/development/SRPMS/>

or whatever architecture you prefer. livecd-tools are "noarch".

In the hope it helps.

Regards,
Vladimir

Tim Boring пишет:
hi, vladimir! thanks for the note. do you know if there is an ISO available for FC7? i tried installing/upgrading the packages you recommended and it quickly got into dependency hell. so, since i have a test machine to work on i was just going to wipe it clean and install FC7 and start over.
thanks,
tim

On 4/21/07, *Vladimir Shebordaev* <vladimir shebordaev gmail com <mailto:vladimir shebordaev gmail com>> wrote:

    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 redhat com <mailto:Fedora-livecd-list redhat com>
     > https://www.redhat.com/mailman/listinfo/fedora-livecd-list


    --
    Fedora-livecd-list mailing list
    Fedora-livecd-list redhat com <mailto:Fedora-livecd-list redhat com>
    https://www.redhat.com/mailman/listinfo/fedora-livecd-list



------------------------------------------------------------------------

--
Fedora-livecd-list mailing list
Fedora-livecd-list redhat com
https://www.redhat.com/mailman/listinfo/fedora-livecd-list



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]