Find the answer to your Linux question:
Results 1 to 7 of 7
Heya! I've been trying to Build a CD from my Deb installation.. but everytime I run dfsbuild, it simply outputs this error: Code: *SNIP* [dfs/INFO] Mirroring process starting. [dfs/INFO] Running ...
  1. #1
    Just Joined!
    Join Date
    Nov 2004
    Location
    Portugal
    Posts
    39

    dfsbuild - Building a CD

    Heya!

    I've been trying to Build a CD from my Deb installation.. but everytime I run dfsbuild, it simply outputs this error:

    Code:
    *SNIP*
    
    [dfs/INFO] Mirroring process starting.
    [dfs/INFO] Running cdebootstrap for testing
    [MissingH.Cmd.safeSystem/DEBUG] Running: cdebootstrap ["--debug","-v","-d","testing","/Andre/IDWLive/target","http://http.us.debian.org/debian"]
    [MissingH.Cmd.posixRawSystem/DEBUG] Running: cdebootstrap ["--debug","-v","-d","testing","/Andre/IDWLive/target","http://http.us.debian.org/debi        an"]
    D: Init suite testing
    D: Execute "mkdir -p /Andre/IDWLive/target//var/cache/bootstrap"
    D: Return code: 0
    P: Retrieving Release.gpg
    D: Execute "wget -q -O /Andre/IDWLive/target/var/cache/bootstrap/_dists_._Release.gpg http://http.us.debian.org/debian/dists/testing/Release.gpg        "
    D: Return code: 0
    P: Retrieving Release
    D: Execute "wget -q -O /Andre/IDWLive/target/var/cache/bootstrap/_dists_._Release http://http.us.debian.org/debian/dists/testing/Release"
    D: Return code: 0
    P: Parsing Release
    P: Retrieving Release
    D: Execute "wget -q -O /Andre/IDWLive/target/var/cache/bootstrap/_dists_._main_binary-i386_Release http://http.us.debian.org/debian/dists/testing/main/binary-i386/Release"
    D: Return code: 0
    D: Reinit suite lenny
    E: Unknown suite lenny
    [MissingH.Cmd.posixRawSystem/DEBUG] cdebootstrap: exited with Exited (ExitFailure 1)
    [MissingH.Cmd.safeSystem/WARNING] Command cdebootstrap ["--debug","-v","-d","testing","/Andre/IDWLive/target","http://http.us.debian.org/debian"] failed; exit code 1
    [dfs/CRITICAL] Exception: user error (Command cdebootstrap ["--debug","-v","-d","testing","/Andre/IDWLive/target","http://http.us.debian.org/debian"] failed; exit code 1)
    dfsbuild: user error (Command cdebootstrap ["--debug","-v","-d","testing","/Andre/IDWLive/target","http://http.us.debian.org/debian"] failed; exit code 1)
    Does anyone have any idea of what may be causing this?

    Thanks in advance!

  2. #2
    Just Joined!
    Join Date
    Dec 2004
    Location
    Tehran/Iran
    Posts
    5
    You must change your repo to other repo.Because it has problem with lenny repo.it can see until etch.

  3. #3
    Just Joined!
    Join Date
    Nov 2004
    Location
    Portugal
    Posts
    39
    I used another repo.. that has lenny / testing.

    The output is:

    Code:
    D: Reinit suite lenny
    E: Unknown suite lenny
    [MissingH.Cmd.posixRawSystem/DEBUG] cdebootstrap: exited with Exited (ExitFailure 1)
    [MissingH.Cmd.safeSystem/WARNING] Command cdebootstrap ["--debug","-v","-d","testing","/TestingCD/target","ftp://debian.ua.pt/debian"] failed; exit code 1
    [dfs/CRITICAL] Exception: user error (Command cdebootstrap ["--debug","-v","-d","testing","/TestingCD/target","ftp://debian.ua.pt/debian"] failed; exit code 1)
    dfsbuild: user error (Command cdebootstrap ["--debug","-v","-d","testing","/TestingCD/target","ftp://debian.ua.pt/debian"] failed; exit code 1)
    Exactly the same thing. -_-

    Everything is there and in it's correct places, as you can see here: ftp://debian.ua.pt/debian/dists/

    Any other idea ?

  4. #4
    Just Joined!
    Join Date
    Dec 2004
    Location
    Tehran/Iran
    Posts
    5
    You can see my dfs.cfg file & pick up idea:
    PHP Code:
    # arch-tag: Default configuration file
    # Copyright (c) 2004 John Goerzen

    [DEFAULT]
    ######################################################################
    # Overall settings, set defaults for all archs
    ######################################################################

    # Name of generated disc
    name eXpedite USB boot

    # Version of generated disc
    version 0.6.15

    # Person that built it
    builder Mohsen Pahlevanzadeh <mohsen@pahlevanzadeh.org>

    # Repositories to mirror.  Details about each one are configured below.
    dlrepos stable

    # Repository to build the CD with.  Must be in above list.
    suite stable

    # Whether or not to use zftree compression on ISO image
    compress yes

    # Files to never compress if the above is yes
    # If a dir is given, that dir and everything below is not compressed
    dontcompress = /boot
            
    /etc/*boot*
            /opt/dfsruntime/initrd.dfs

    # Location of dfsbuild support files
    libdir = /usr/lib/dfsbuild

    # Location of docs for CD
    docdir = /usr/share/doc/dfsbuild

    # Bootloader to place on CD.  Choices are:
    # grub-hd              GRUB with ElTorito hard disk emulation (not working yet)
    # grub-no-emul         "raw" ElTorito image
    # aboot                Alpha SRM bootloader
    # yaboot               PowerPC bootloader
    # (usually set in arch area)
    #bootloader = grub-no-emul


    # Packages to install on live FS, on all archs, besides base system
    allpackages = util-linux mkisofs cdrecord dvd+rw-tools perl vim nano joe libncurses5-dev ftp ssh telnet elinks less zip unzip tar info man-db manpages-dev manpages cdebootstrap diff patch gawk tcpdump bash  module-init-tools modutils rsh-client tftp traceroute iputils-tracepath strace iputils-ping iptraf iproute iptables ifupdown dhcp-client bind9-host whois dnsutils rsync rdiff-backup mutt netcat cpio buffer alien bzip2 dpkg-dev devscripts busybox-static dash sash pciutils hotplug discover buffer cramfsprogs minicom hdparm ntpdate disktype ddrescue recover dpkg-repack devscripts debhelper emacs21-nox mtr-tiny python-dev build-essential g++ wget lftp lynx cu debconf grep-dctrl lsof sysutils epic4 screen gnupg dfsbuild less sudo 

    # Default mirror for "repo" sections
    mirror = http://http.us.debian.org/debian
    #mirror = http://mirrors/debian

    # Devices to probe for CD
    devices = scd0 scd1 scd2 scd3 scd4 hda hdb hdc hdd hde hdf hdg

    # Files to place on the ramdisk
    ramdisk_files = /etc/resolv.conf
            /etc/lvm*
            /etc/pcmcia
            /tmp
            /var/tmp
            /dev
            /etc/fstab
            /var/lock
            /var/run
            /var/state
            /etc/exports
            /etc/ppp
            /etc/chatscripts
            /root
            /etc/network
            /var/lib/misc

    # Directories to create on live fs
    makedirs = /root/.elinks

    # Files to delete from live fs
    deletefiles = /etc/rcS.d/*discover 
            /etc/rcS.d/*hotplug
            /etc/rcS.d/*lvm

    ######################################################################
    # Arch settings: i386
    ######################################################################

    [i386]
    # Name of any kernel images to install directly from your current filesystem
    kernels = /boot/vmlinuz-2.6.18-4-686 /boot/initrd.img-2.6.18-4-686

    # Modules to copy from host filesystem
    modules = /lib/modules/2.6.18-4-686/*

    # Debs from local fs to unpack on live FS (will not be configured)
    # unpackdebs = /var/cache/apt/archives/kernel-image-2.6.8-2-k7_2.6.8-13_i386.deb 


    # Override default to also get amd64
    dlrepos = stable

    # Other packages to install besides the list in DEFAULT
    packages = %(allpackages)s grub lilo read-edid testdisk gpart 

    # Debs from local fs to isntall on live fs
    # installdebs = 

    # Bootloader (see options under default)
    bootloader = grub-no-emul

    # Extra lines for grub config
    #grubconfig = default 1

    ######################################################################
    # Arch settings: amd64
    ######################################################################

    ##mohsen [amd64]
    # Name of any kernel images to install directly from your current filesystem
    #kernels = /boot/vmlinuz-2.6.6-amd64

    # Modules to copy from host filesystem
    # modules = /lib/modules/*

    # Debs from local fs to unpack on live FS (will not be configured)
    ##mohsn unpackdebs = /usr/src/kernel-image-2.6.6-amd64_dfs.1.2_amd64.deb 
    ##mohsen        /usr/src/kernel-image-2.6.6-amd64-scsi-sata_dfs.0.6.3_amd64.deb

    # Override default to use amd64 repo only
    ##mohsen dlrepos = amd64 

    # Other packages to install besides the list in DEFAULT
    ##mohsen packages = %(allpackages)s grub read-edid 

    # Debs from local fs to isntall on live fs
    # installdebs = 

    # Bootloader (see options under default)
    ##mohsen bootloader = grub-no-emul

    # Extra lines for grub config
    #grubconfig = default 1

    ######################################################################
    # Arch settings: alpha
    ######################################################################

    ##mohsen [alpha]
    # Name of any kernel images to install directly from your current filesystem
    #kernels = /boot/vmlinuz-2.6.6-amd64

    # Modules to copy from host filesystem
    # modules = /lib/modules/*

    # Debs from local fs to unpack on live FS (will not be configured)
    ##mohsen unpackdebs =  /home/jgoerzen/programs/kernel/kernel-image-2.6.6_dfs.1.0_alpha.deb

    # Other packages to install besides the list in DEFAULT
    ##mohsen packages = %(allpackages)s aboot gpart ftape-util

    # Debs from local fs to isntall on live fs
    # (presently broken)
    # installdebs = 

    # Bootloader (see options under default)
    ##mohsen bootloader = aboot

    ######################################################################
    # Arch settings: powerpc
    ######################################################################

    ##mohsen [powerpc]
    # Name of any kernel images to install directly from your current filesystem
    #kernels = /boot/vmlinuz-2.6.6-powerpc

    # Modules to copy from host filesystem
    # modules = /lib/modules/*

    # Debs from local fs to unpack on live FS (will not be configured)
    ##mohsen unpackdebs = /usr/src/kernel-image-2.6.6_dfs.1.0_powerpc.deb

    # Other packages to install besides the list in DEFAULT
    ##mohsen packages = %(allpackages)s yaboot pbbuttonsd mac-fdisk powerpc-utils
    ##mohsen         mkvmlinuz

    # Debs from local fs to isntall on live fs
    # installdebs = 

    # Bootloader (see options under default)
    ##mohsen bootloader = yaboot

    ######################################################################
    # Repository configuration
    ######################################################################

    # Repositories to download
    [repo stable]
    suite = stable
    mirror = http://http.us.debian.org/debian
    [repo testing]
    suite = testing
    mirror = http://http.us.debian.org

    [repo unstable]
    suite = unstable
    mirror = http://http.us.debian.org

    ##mohsen [repo amd64]
    ##mohsen suite = unstable

    ######################################################################
    # Text to add to existing files
    ######################################################################

    [appendfiles]
    /etc/network/interfaces = iface eth0
     iface eth0 inet static
       address 172.20.0.2
       gateway 172.20.0.1
       broadcast 255.255.255.0


    /etc/modules = id_cd
     ide_disk
     ide_generic
     ide_core


    /etc/issue = Welcome to Steve's Live CD-ROM
     .
     To login, supply username "root" and just press Enter if asked for a
     password.

    /root/.bashrc = export WWW_HOME="file:///opt/dfsruntime/home.html"
     dfshints

    ######################################################################
    # Files to create or truncate
    ######################################################################

    [createfiles]
    /etc/hostname = eXpedite 
    [createfiles]
    /etc/resolve.conf = search 192.168.1.1

    /etc/syslog.conf = *.*             /dev/tty8
     *.info                            /dev/tty7

    ######################################################################
    # Symlinks to create (from = to format)
    ######################################################################

    [symlinks]
    /etc/mtab = /proc/mounts 

  5. #5
    Just Joined!
    Join Date
    Nov 2004
    Location
    Portugal
    Posts
    39
    I'll give it a shot, later on tonitght.

    Thanks.

  6. #6
    Just Joined!
    Join Date
    Nov 2004
    Location
    Portugal
    Posts
    39
    Everything was going according as planned.. until:

    Code:
    perl: warning: Falling back to the standard locale ("C").
    perl: warning: Setting locale failed.
    perl: warning: Please check that your locale settings:
            LANGUAGE = (unset),
            LC_ALL = (unset),
            LANG = "en_US.UTF-8"
        are supported and installed on your system.
    perl: warning: Falling back to the standard locale ("C").
    Errors were encountered while processing:
     udev
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    [MissingH.Cmd.posixRawSystem/DEBUG] chroot: exited with Exited (ExitFailure 100)
    [MissingH.Cmd.safeSystem/WARNING] Command chroot ["/Andre/MegatronLiveCD/target","apt-get","-y","--allow-unauthenticated","install","util-linux","mkisofs","cdrecord","dvd+rw-tools","perl","vim","nano","joe","libncurses5-dev","ftp","ssh","telnet","elinks","less","zip","unzip","tar","info","man-db","manpages-dev","manpages","cdebootstrap","diff","patch","gawk","tcpdump","bash","module-init-tools","modutils","rsh-client","tftp","traceroute","iputils-tracepath","strace","iputils-ping","iptraf","iproute","iptables","ifupdown","dhcp-client","bind9-host","whois","dnsutils","rsync","rdiff-backup","mutt","netcat","cpio","buffer","alien","bzip2","dpkg-dev","devscripts","busybox-static","dash","sash","pciutils","hotplug","discover","buffer","cramfsprogs","minicom","hdparm","ntpdate","disktype","ddrescue","recover","dpkg-repack","devscripts","debhelper","emacs21-nox","mtr-tiny","python-dev","build-essential","g++","wget","lftp","lynx","cu","debconf","grep-dctrl","lsof","sysutils","epic4","screen","gnupg","dfsbuild","less","sudo","grub","lilo","read-edid","testdisk","gpart"] failed; exit code 100
    [dfs/CRITICAL] Exception: user error (Command chroot ["/Andre/MegatronLiveCD/target","apt-get","-y","--allow-unauthenticated","install","util-linux","mkisofs","cdrecord","dvd+rw-tools","perl","vim","nano","joe","libncurses5-dev","ftp","ssh","telnet","elinks","less","zip","unzip","tar","info","man-db","manpages-dev","manpages","cdebootstrap","diff","patch","gawk","tcpdump","bash","module-init-tools","modutils","rsh-client","tftp","traceroute","iputils-tracepath","strace","iputils-ping","iptraf","iproute","iptables","ifupdown","dhcp-client","bind9-host","whois","dnsutils","rsync","rdiff-backup","mutt","netcat","cpio","buffer","alien","bzip2","dpkg-dev","devscripts","busybox-static","dash","sash","pciutils","hotplug","discover","buffer","cramfsprogs","minicom","hdparm","ntpdate","disktype","ddrescue","recover","dpkg-repack","devscripts","debhelper","emacs21-nox","mtr-tiny","python-dev","build-essential","g++","wget","lftp","lynx","cu","debconf","grep-dctrl","lsof","sysutils","epic4","screen","gnupg","dfsbuild","less","sudo","grub","lilo","read-edid","testdisk","gpart"] failed; exit code 100)
    dfsbuild: user error (Command chroot ["/Andre/MegatronLiveCD/target","apt-get","-y","--allow-unauthenticated","install","util-linux","mkisofs","cdrecord","dvd+rw-tools","perl","vim","nano","joe","libncurses5-dev","ftp","ssh","telnet","elinks","less","zip","unzip","tar","info","man-db","manpages-dev","manpages","cdebootstrap","diff","patch","gawk","tcpdump","bash","module-init-tools","modutils","rsh-client","tftp","traceroute","iputils-tracepath","strace","iputils-ping","iptraf","iproute","iptables","ifupdown","dhcp-client","bind9-host","whois","dnsutils","rsync","rdiff-backup","mutt","netcat","cpio","buffer","alien","bzip2","dpkg-dev","devscripts","busybox-static","dash","sash","pciutils","hotplug","discover","buffer","cramfsprogs","minicom","hdparm","ntpdate","disktype","ddrescue","recover","dpkg-repack","devscripts","debhelper","emacs21-nox","mtr-tiny","python-dev","build-essential","g++","wget","lftp","lynx","cu","debconf","grep-dctrl","lsof","sysutils","epic4","screen","gnupg","dfsbuild","less","sudo","grub","lilo","read-edid","testdisk","gpart"] failed; exit code 100)
    Any ideas ?

    Thanks again!

  7. #7
    Just Joined!
    Join Date
    Dec 2004
    Location
    Tehran/Iran
    Posts
    5
    Please use etch rep,Because packages of lenny is incomplete.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •