Menu

Cannot create clonezilla from scratch :(

Help
2009-08-18
2013-04-05
  • Phil spencer

    Phil spencer - 2009-08-18

    Hi all,

    I am following thw FAQ
    http://drbl.sourceforge.net/faq/fine-print.php?path=./2_System/46_create_clonezilla_live_from_scratch.faq#46_create_clonezilla_live_from_scratch.faq

    and got to stage 11, where I enter this on the command line:

    # create-debian-live -l e -d lenny -b unstable -i customised -c non-free -a /root/firmware-bnx2_0.17_all.deb -a /root/firmware-bnx2x_0.17_all.deb firmware-bnx2 -m http://free.nchc.org.tw/debian -s http://free.nchc.org.tw/debian-security

    Running the command a second time gives me the error "couldn't validate packages!"

    Any ideas?

    and I get this error:
    E: Internal error: install
    P:Begin unmount filesystems ...
    mv: cannot stat `debian-live/binary.iso`: non such file for directory

    then dumps me back to the command prompt

     
    • Phil spencer

      Phil spencer - 2009-08-18

      sorry, let me clarify:
      and I get this error:
      E: Internal error: install
      P:Begin unmount filesystems ...
      mv: cannot stat `debian-live/binary.iso`: non such file for directory

      then dumps me back to the command prompt
      Running the command a second time gives me the error "couldn't validate packages!"

      Am using 1.2.2-26

       
    • Steven Shiau

      Steven Shiau - 2009-08-19

      How about this?
      /opt/drbl/sbin/create-debian-live -l e -d lenny -b unstable -i customised -c non-free -a /root/firmware-bnx2_0.17_all.deb -a /root/firmware-bnx2x_0.17_all.deb -m http://free.nchc.org.tw/debian -s http://free.nchc.org.tw/debian-security

      BTW, you can use any debian mirror near you... it's not a must to use free.nchc.org.tw.

      Steven.

       
  • tcherny86

    tcherny86 - 2009-12-14

    I have a similar problem with version 1.2.2-31.
    I need the package 'host' and the script 'custom-ocs'

    # Create-debian-live-d lenny-i customized

    But it stops at the "vmfs-tools" package.
    and I get this same error:
    > E: Internal error: install
    > P: Begin unmount filesystems …
    > mv: can not stat `debian-live/binary.iso`: no such file for directory

    With 1.2.3-18 version :
    > This script only works in Debian Etch or later!
    > …

    No problems, with 1.2.2-26 version

     
  • Steven Shiau

    Steven Shiau - 2009-12-15

    Sometimes the problem is on the repository, not on the script to create it. If you want to create such an iso, maybe us the testing Clonezilla live as a working environment, and run something like:

    /opt/drbl/sbin/create-debian-live -l e -b unstable -d sid -m http://free.nchc.org.tw/debian -s http://free.nchc.org.tw/debian-security -g http://free.nchc.org.tw/drbl-core

    For more options about create-debian-live, you can run:
    /opt/drbl/sbin/create-debian-live -help.

    Steven.

     
  • tcherny86

    tcherny86 - 2009-12-17

    With 1.2.3-18 version.

        # sudo su -
        # ocs-live-netcfg
        # export http_proxy="http://…"
       
    I edit the */opt/drbl/conf/drbl.conf* file for add the **host** package.

        PKG_FROM_DBN_WHICH_OCS_LIVE_NEED="$PKG_FROM….. cdrdao host"

    and…

        # cd /home/partimag
        # apt-get update
        # apt-get -y install live-helper cdebootstrap

    no problem !

        # /opt/drbl/sbin/create-debian-live -l e -b unstable -d sid -m http://free.nchc.org.tw/debian -s http://free.nchc.org.tw/debian-security -g http://free.nchc.org.tw/drbl-core

    But…

    > This script only works in Debian Etch
    > or later! If you are runnig Debian
    > Etch or later, use 'apt-get install
    > live-helper' to install the necessary
    > packages, then run
    > /opt/drlb/sbin/create-debian-live
    > again.

     
  • Steven Shiau

    Steven Shiau - 2009-12-18

    Did you install live helper? How about the results if you run:

    dpkg -l live-helper

    Steven.

     
  • tcherny86

    tcherny86 - 2009-12-18

    Yes, I install it

        # apt-get -y install live-helper cdebootstrap

    If I run :

        # dpkg -l live-helper

    > Name Version Description

    > live-helper 2.0~a3-1 Debian Live build scripts

    Nils

     
  • tcherny86

    tcherny86 - 2010-01-05

    Thank for the package *bind9-host* added.

    But, now…
    I have make the Clonezilla live on USB device with your custom script :

        cp /opt/drbl/samples/custom-ocs-1 /home/partimag/

        /opt/drbl/sbin/ocs-live-dev -i xxx -g fr_FR.UTF-8 -k /usr/share/keymaps/i386/azerty/fr-latin9.kmap.gz -s -c -m ./custom-ocs-1

    But with **toram** option in the *syslinux.cfg* file :

        /opt/drbl/sbin/ocs-live-run-menu : line 86 : custom-ocs : command not found

    Without **toram** option, this is good.

     
  • Steven Shiau

    Steven Shiau - 2010-01-07

    Yes, this is true, "toram" does not work in this case. Since when using "toram" option, it will only copy the files filesystem.squashfs by default.

    You can try to edit /syslinux/syslinux.cfg, change

    toram=filesystem.squashfs

    to

    toram

    Then  the customized file should be copied to RAM, too. Please let me know if any problem.

    Steven.

     
  • tcherny86

    tcherny86 - 2010-01-07

    It's the same problem with toram or toram=filesystem.squashfs option.

    Nils

     
  • Steven Shiau

    Steven Shiau - 2010-01-07

    Then this is the limitation of "toram" option. Hope someday we can make it.

    Steven.

     
  • tcherny86

    tcherny86 - 2010-05-06

    I try to change toram=filesystem.squashfs -> toram with the 1.2.4-28 version.
    It's good ;-)

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.