HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   HOWTO-Related Questions (http://www.howtoforge.com/forums/forumdisplay.php?f=2)
-   -   Automated/unattended clonezilla restoredisk (http://www.howtoforge.com/forums/showthread.php?t=60493)

Guinn 8th February 2013 21:12

Automated/unattended clonezilla restoredisk
 
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 P@ssword1

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=,password=P@ssword1 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


All times are GMT +2. The time now is 00:03.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.