Automated/unattended clonezilla restoredisk

Discussion in 'HOWTO-Related Questions' started by Guinn, Feb 8, 2013.

  1. Guinn

    Guinn New Member

    I am very new to Linux and just learning how to script but here is the issue I am having.

    I currently use an FTP server and bootable Clonezilla USB drives to image several different computer model to save time. So I am trying to alter the syslinux.cfg file to automate it so all it asks me for is while image to use for the restore disk. the following is my setup.

    Local network with no domain
    FTP server is also operating as a DHCP server.
    The servers IP address is 192.168.0.1
    The images are saved to the share \images
    The username is Administrator
    The password is [email protected]

    I have yet to be able to configure the cfg file correctly. Below is a copy of my Syslinux.cfg file.






    label Clonezilla live (To RAM)
    MENU DEFAULT
    # MENU HIDE
    MENU LABEL Clonezilla live (To RAM. Boot media can be removed later)
    # MENU PASSWD
    kernel /live/vmlinuz
    append initrd=/live/initrd.img boot=live config noswap nolocales edd=on nomodeset noprompt
    ocs_prerun="dhclient -v eth0" ocs_prerun1="sleep 2" ocs_prerun2="mount -t cifs -o
    user=administrator,domain=,[email protected] 192.168.0.1:/Images
    /home/partimag" ocs_prerun3="sleep 2"
    ocs_live_run="/opt/drbl/sbin/ocs-sr -u -g auto -e1 auto -e2 -c -r -j2 -p true restoredisk loaner sda" ocs_live_extra_param="" ocs_live_keymap="NONE" ocs_live_batch="no" ocs_lang="NONE" vga=788 toram=filesystem.squashfs ip=frommedia nosplash
    TEXT HELP
    All the programs will be copied to RAM, so you can
    remove boot media (CD or USB flash drive) later
    ENDTEXT
     

Share This Page