Menu

No clonezilla param in /proc/cmdline

Help
2011-04-13
2013-04-05
  • Kevin Steam

    Kevin Steam - 2011-04-13

    Hello all

    I Setup up  a DRBL/Clone Zilla server and I have a little problem when I want to save the disk of the client.

    On the server I start : /opt/drbl/sbin/dcs -> clonezilla-start _> save-disk

    on the client I boot with pxe, I have the Clonezilla menu, It start well but  on I have error message :

    No Clone zilla param in /proc/cmdline

    I try :

    1. /opt/drbl/sbin/dcs -> clonezilla-stop
    2. /opt/drbl/sbin/generate-pxe-menu
    3. /opt/drbl/sbin/dcs -> clonezilla-start

    but I have always the same error.

    Do anybody have a idea please ?

    thank you
    kevin

    here is my config file : /tftpboot/nbi_img/pxelinux.cfg/default

    # Created by generate-pxe-menu! Do NOT edit unless you know what you are doing!
    # Keep those comment "MENU DEFAULT" and "MENU HIDE"! Do NOT remove them.
    # Note!!! If "serial" directive exists, it must be the first directive
    default vesamenu.c32
    timeout 70
    prompt 0
    noescape 1
    MENU MARGIN 5
    MENU BACKGROUND drblwp.png
    # Set the color for unselected menu item and timout message
    MENU COLOR UNSEL 7;32;41 #c0000090 #00000000
    MENU COLOR TIMEOUT_MSG 7;32;41 #c0000090 #00000000
    MENU COLOR TIMEOUT 7;32;41 #c0000090 #00000000
    MENU COLOR HELP 7;32;41 #c0000090 #00000000
    # MENU MASTER PASSWD
    say **********************************************
    say Welcome to DRBL.
    say NCHC Free Software Labs, Taiwan.
    say http://drbl.nchc.org.tw; http://drbl.sf.net
    say **********************************************
    # Allow client to edit boot parameters
    ALLOWOPTIONS 1
    # simple menu title
    MENU TITLE DRBL (http://drbl.nchc.org.tw, http://drbl.sf.net)
    label drbl
      MENU DEFAULT
      # MENU HIDE
      MENU LABEL Fedora 14 Linux (DRBL mode, mostly local resources)
      # MENU PASSWD
      kernel vmlinuz-pxe
      append initrd=initrd-pxe.img devfs=nomount drblthincli=off selinux=0
      TEXT HELP
      * DRBL version: 1.9.9-21.i386. (C) 2003-2008, NCHC, Taiwan
      * Disclaimer: DRBL comes with ABSOLUTELY NO WARRANTY
      ENDTEXT
    label clonezilla
      # MENU DEFAULT
      MENU HIDE
      MENU LABEL Clonezilla
      # MENU PASSWD
      kernel vmlinuz-pxe
      append initrd=initrd-pxe.img devfs=nomount drblthincli=off selinux=0 text 1   clientdir=node_root
      TEXT HELP
      * Clonezilla version: 2.3.8-27.i386. (C) 2003-2008, NCHC, Taiwan
      * Disclaimer: Clonezilla comes with ABSOLUTELY NO WARRANTY
      ENDTEXT
    label local
      # MENU DEFAULT
      # MENU HIDE
      MENU LABEL Local operating system (if available)
      # MENU PASSWD
      # 2 method to boot local device:
      # (1) For localboot 0, it is decided by boot order in BIOS, so uncomment the follow 1 line if you want this method:
      # localboot 0
      # (2) For chain.c32, you can assign the boot device.
      # Ref: extlinux.doc from syslinux
      # Syntax: APPEND [hd|fd]<number> [<partition>]
      # [<partition>] is optional.
      # Ex:
      # Second partition (2) on the first hard disk (hd0);
      # Linux would *typically* call this /dev/hda2 or /dev/sda2, then it's "APPEND hd0 2"
      #
      kernel chain.c32
      append hd0
      TEXT HELP
      Boot local OS from first hard disk if it's available
      ENDTEXT
    # Note! *.bin is specially purpose for syslinux,
    # Do NOT use memtest86.bin, use memtest86 instead of memtest86.bin
    label memtest
      # MENU DEFAULT
      # MENU HIDE
      MENU LABEL Memory test using Memtest86+
      # MENU PASSWD
      kernel memtest86
      TEXT HELP
      Run memory test using Memtest86+ 4.20
       ENDTEXT
    # ref: http://syslinux.zytor.com/memdisk.php
    label fdos
      # MENU DEFAULT
      MENU HIDE
      MENU LABEL FreeDOS
      # MENU PASSWD
      kernel memdisk
      append initrd=fdos1440_drbl.img
      TEXT HELP
      Run FreeDOS
      ENDTEXT
    label drbl-terminal
      # MENU DEFAULT
      MENU HIDE
      MENU LABEL Fedora 14 Linux (Terminal mode, mostly remote resources)
      # MENU PASSWD
      kernel vmlinuz-pxe
      append initrd=initrd-pxe.img devfs=nomount drblthincli=on
      TEXT HELP
      Run DRBL in terminal mode.
      ENDTEXT
    # Example for AoE booting
    label AoE-client
      # MENU DEFAULT
      MENU HIDE
      MENU LABEL Diskless client (AoE booting)
      # MENU PASSWD
      kernel sanboot.c32
      append aoe:e0.0
      TEXT HELP
      Boot from AoE device
      ENDTEXT
    
     
  • Kevin Steam

    Kevin Steam - 2011-04-13

    On the client I have :

    # cat /proc/cmdline

    initrd=initrd-pxe.img  devfs=nomount  drblthincli=off  selinux=0 text 1   clientdir=node_root   BOOT_IMAGE=vmlinuz-pxe
    
     
  • Kevin Steam

    Kevin Steam - 2011-04-14

    Hello,

    It works

    I have uninstalled  the drbl serveur via

    /opt/drbl/sbin/drblsrv -u
    

    Reinstalled drbl with

    /opt/drbl/sbin/drblsrv -i
    

    and setup again :

    /opt/drbl/sbin/drblpush -i

     
  • Steven Shiau

    Steven Shiau - 2011-04-20

    OK, sure.

    Steven.

     
  • antares

    antares - 2011-05-24

    Hi guy,

    I have the similar problem "No Clone zilla param in /proc/cmdline"

    In server drbl I have this configuration

    root@drbl:~# cat /proc/cmdline
    BOOT_IMAGE=/boot/vmlinuz-2.6.32-5-686 root=UUID=dd0bac40-3e58-4649-a6ac-0ea33f1898aa ro quiet acpi=on vga=791 reboot=b ipv6.disable=1

    1- On my server i do
    opt/drbl/sbin/dcs -> clonezilla-start

    2- I obtain on server 'screen

    /opt/drbl/sbin/drbl-ocs -b -q2 -j2 -p reboot -z1p -i 1000000 -h "192.168.0.45" -l fr_FR.UTF-8 startdisk save 2011-05-24-20-img sda

    3- In file'boot  there is
         
    root@drbl:/tftpboot/nbi_img/pxelinux.cfg# cat C0A8002D

    ………..
    label clonezilla
      MENU DEFAULT
      # MENU HIDE
      MENU LABEL Clonezilla: save disk sda as image 2011-05-24-20-img
      # MENU PASSWD
      kernel vmlinuz-pxe
      append initrd=initrd-pxe.img devfs=nomount drblthincli=off selinux=0 text 1   
      TEXT HELP
      * Clonezilla version: 2.3.8-32. (C) 2003-2008, NCHC, Taiwan
      * Disclaimer: Clonezilla comes with ABSOLUTELY NO WARRANTY
      ENDTEXT

    …..

    4- I boot my client machin kiev (192.168.0.45) on pxe card network

    5 - I see on the screen of machin kiev the menu of  DRBL


    Debian 6.0.1 Linux
    Clonezilla: save disk sda as image 2011-05-24-20-img
    Local operating system (if available
    Memory test using Memtest86+


    6- I select
    the second choice "Clonezilla: save disk sda as image 2011-05-24-20-img" after time running
    i have "No Clone zilla param in /proc/cmdline"

    thanks you for help

    Antares

     
  • Steven Shiau

    Steven Shiau - 2011-05-26

    Try to run "/opt/drbl/sbin/drbl-ocs stop" then start the clonezilla SE service again (by running /opt/drbl/sbin/dcs, then choose clonezilla-start…)

    Steven.

     
  • antares

    antares - 2011-05-27

    thanks steven,

    i try the proposition but i have the same problem

    I ve followed this exemple "http://oakdome.com/k5/tutorials/computer-cloning/free-computer-cloning.php"

    this is my image after

    /opt/drbl/sbin/drbl-ocs stop
    /opt/drbl/sbin/dcs clonezilla-star

    root@drbl:/tmp# ls -l
    total 16
    -rwxr-xr-x 1 root root  145 27 mai   13:57 ocs-2011-05-27-13-abricot-test-img-2011-05-27-13-57
    -rwxr-xr-x 1 root root  138 27 mai   14:32 ocs-2011-05-27-14-test1-img-2011-05-27-14-32
    -rwxr-xr-x 1 root root  123 27 mai   14:08 ocs-test-img-2011-05-27-14-07

    but i can't load this image on my client

    You can see

    1- root@drbl:/tmp# vi /tftpboot/nbi_img/pxelinux.cfg/default
    label clonezilla
      # MENU DEFAULT
      MENU HIDE
      MENU LABEL Clonezilla
      # MENU PASSWD
      kernel vmlinuz-pxe
      append initrd=initrd-pxe.img devfs=nomount drblthincli=off selinux=0 text 1
      TEXT HELP
      * Clonezilla version: 2.3.8-32. (C) 2003-2008, NCHC, Taiwan
      * Disclaimer: Clonezilla comes with ABSOLUTELY NO WARRANTY
      ENDTEXT

    2- root@drbl:/tmp# vi /tftpboot/nbi_img/pxelinux.cfg/default_skeleton
    label clonezilla
      MENU DEFAULT
      # MENU HIDE
      MENU LABEL Clonezilla: choose save or restore later
      # MENU PASSWD
      kernel vmlinuz-pxe
      append initrd=initrd-pxe.img devfs=nomount drblthincli=off selinux=0 text 1
      TEXT HELP
      * Clonezilla version: 2.3.8-32. (C) 2003-2008, NCHC, Taiwan
      * Disclaimer: Clonezilla comes with ABSOLUTELY NO WARRANTY
      ENDTEXT

    cat /tftpboot/nbi_img/pxelinux.cfg/C0A800C7
    label clonezilla
      MENU DEFAULT
      # MENU HIDE
      MENU LABEL Clonezilla: choose save or restore later
      # MENU PASSWD
      kernel vmlinuz-pxe
      append initrd=initrd-pxe.img devfs=nomount drblthincli=off selinux=0 text 1
      TEXT HELP
      * Clonezilla version: 2.3.8-32. (C) 2003-2008, NCHC, Taiwan
      * Disclaimer: Clonezilla comes with ABSOLUTELY NO WARRANTY
      ENDTEXT

    When i boot on pxe the client machin

    I don't see the image in GUI DRBL et anywhere

    Thanks for help

     
  • Steven Shiau

    Steven Shiau - 2011-05-28

    When you run /opt/drbl/sbin/dcs, then choose clonezilla-start to start the service, did you see any error messages?
    Or maybe you'd better to reconfigure the DRBL system:
    http://drbl.sourceforge.net/one4all/#uninstall
    and
    http://drbl.sourceforge.net/one4all/

    Steven.

     
  • SefaArslan

    SefaArslan - 2013-02-22

    You do not need to remove and reinstall clonezilla or drbl..  clonezilla command in the /proc/cmdline come from the the  append line  (ocs_opt paramter ) in pxelinux.cfg file..   you may use the following pxe boot files for taking image and restore it:

    for taking image:

    abel clonezilla
      MENU DEFAULT
      # MENU HIDE
      MENU LABEL Clonezilla: unicast clone system as  2013-02-21-11-img to disk sda
      # MENU PASSWD
      kernel vmlinuz-pxe
      append initrd=initrd-pxe.img devfs=nomount drblthincli=off selinux=0 text 1   ocs_opt="-l en_US.UTF-8  -use-partclone -clone-hidden-data -p reboot -z1p -i 1000000 savedisk lufer23-OSN-v2-img sda"
      TEXT HELP
      * Clonezilla version: 2.5.42-1drbl.noarch. (C) 2003-2013, NCHC, Taiwan
      * Disclaimer: Clonezilla comes with ABSOLUTELY NO WARRANTY
      ENDTEXT

    for restoring it:

    label clonezilla
      MENU DEFAULT
      # MENU HIDE
      MENU LABEL Clonezilla: unicast restore 2013-02-21-11-img to disk sda
      # MENU PASSWD
      kernel vmlinuz-pxe
      append initrd=initrd-pxe.img devfs=nomount drblthincli=off selinux=0 text 1   ocs_opt="-language en  -b -g auto -y0 -p true -k1 -max-time-to-wait 300 restoredisk lufer23-OSN-v2-img sda"
      TEXT HELP
      * Clonezilla version: 2.5.42-1drbl.noarch. (C) 2003-2013, NCHC, Taiwan
      * Disclaimer: Clonezilla comes with ABSOLUTELY NO WARRANTY
      ENDTEXT

     

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.