[Clonezilla-live] Clonezilla auto restore with samba
A partition and disk imaging/cloning program
Brought to you by:
steven_shiau
From: skshopping <sks...@ho...> - 2008-05-06 20:31:05
|
Hi all, I try since a few days to build a custom clonezilla image that boot´s, mount automatic a samba drive and automatic restore the disk. Here my Idea´s: 1. I boot the clonezilla cd. 2. I put a file like 'sambamount' with the following content in /opt/drbl/share/ocs/prerun mount -t cifs -o username=username,password=password //IP/sharing /home/partimag 3. Change to command promt and edit /etc/ocs/ocs-live.conf ocs_live_run="/opt/drbl/sbin/ocs-sr" ocs_live_extra_param="-b restoredisk IMAGE_NAME hda" ocs_live_batch="yes" 4. After this i 'cd' to my usb stick (/home/usbmount) and run this command: /opt/drbl/sbin/ocs-iso -s The iso will be create but when i boot the iso there´s no difference between the original and my iso. I´m also tryed "/opt/drbl/sbin/ocs-iso -g en -k NONE -s -m" without success. Which command I must use that my changes will be successfully ? If there´s a other way to solve my problem please tell me the other way. BTW: I don´t want to include a image into the cd. I want to use the samba server where´s the imagefile saved. Sorry for my bad english ;) Kind Regards Steven |