Menu

unattended samba restore

Help
Jay
2014-08-25
2014-08-26
  • Jay

    Jay - 2014-08-25

    I'm having issues trying to create a bootable iso with preseeded configs. It will run clonezilla but it will just error out and go to the "shutdown, restart, new run" screen. Thanks in advance. I have the following edited to the syslinux and isolinux cfg files:

    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 001
    prompt 0
    noescape 1
    MENU MARGIN 5
    MENU BACKGROUND ocswp.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 Clonezilla, the OpenSource Clone System.
    say NCHC Free Software Labs, Taiwan.
    say clonezilla.org, clonezilla.nchc.org.tw
    say THIS SOFTWARE COMES WITH ABSOLUTELY NO WARRANTY! USE AT YOUR OWN RISK!
    say **********

    Allow client to edit the parameters

    ALLOWOPTIONS 1

    simple menu title

    MENU TITLE clonezilla.org, clonezilla.nchc.org.tw

    Since no network setting in the squashfs image, therefore if ip=, the network is disabled. That's what we want.

    label Clonezilla live
    MENU DEFAULT
    # MENU HIDE
    MENU LABEL Clonezilla live (Default settings, VGA 800x600)
    # MENU PASSWD
    kernel /live/vmlinuz
    append initrd=/live/initrd.img boot=live hostname=oneiric config quiet noswap nolocales edd=on nomodeset ocs_prerun="dhclient -v eth0" ocs_prerun1="sleep 2" ocs_prerun2="mount -t cifs -o user=administrator,domain= ,password= 192.168.10.77:/Images/Laptop /home/partimag" ocs_prerun3="sleep 2" ocs_live_run="ocs-sr -g auto -e1 auto -e2 -c -r -j2 -k -p true restoredisk ask_user sda1" ocs_live_extra_param="" ocs_live_keymap="/usr/share/keymaps/i386/qwertz/de-latin1.kmap.gz" ocs_live_batch="no" ocs_lang="en_US.UTF-8" noprompt video=uvesafb:mode_option=800x600-16 TEXT HELP
    * Boot menu for BIOS machine
    * Clonezilla live version: 20140819-trusty-i386. (C) 2003-2014, NCHC, Taiwan
    * Disclaimer: Clonezilla comes with ABSOLUTELY NO WARRANTY ENDTEXT

    MENU END

     

    Last edit: Jay 2014-08-25
  • Fuchs

    Fuchs - 2014-08-26

    Try it with
    ocs_prerun2="mount -t cifs -o user=administrator,domain=,password=yourpassword //192.168.10.77/Images/Laptop /home/partimag"
    ocs_live_run="ocs-sr -g auto -e1 auto -e2 [-c] -r -j2 -k -p true restoredisk ask_user sda1"

     
    • Jay

      Jay - 2014-08-26

      No it doesn't work. It'll skip the splash page and load unto the ram. But then it will go to the enter keyboard, don't touch map, etc page. Almost as if I never pre-seeded the commands.

       
  • Fuchs

    Fuchs - 2014-08-26

    Fine. And now use the new versions
    keyboard-layouts=de
    or
    keyboard-layouts="/usr/share/keymaps/i386/qwertz/de-latin1-nodeadkeys.kmap.gz"

     

Log in to post a comment.