I am new to this forum and also new to using clonezilla. I have some basic programming knowledge.
I am trying to create auto select clonezilla. I am using USB with easy to boot. Below is the fragment for isolinux.cfg.
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 config noswap nolocales edd=on nomodeset noprompt ocs_prerun1="dhclient -v eth0" ocs_prerun2="sleep 2" ocs_prerun3="mount -t cifs -o user=admin@. //127.0.0.1/backup /home/partimag" ocs_live_run1="ocs-sr -g auto -e1 auto -e2 -c -r -j2 -k -p true restoreparts ask_user sda1" ocs_live_run2="sleep 10" ocs_live_extra_param="" keyboard-layouts=NONE ocs_live_batch="no" locales=en_US.UTF-8 vga=788 ip= nosplash
TEXT HELP
* Boot menu for BIOS machine
* Clonezilla live version: 20140902-trusty-i386. (C) 2003-2014, NCHC, Taiwan
* Disclaimer: Clonezilla comes with ABSOLUTELY NO WARRANTY
ENDTEXT
I am trying to create that I need to input password and choose image file form backup directory. Is it possible?
If some one know realy good topic about this it please give link. But i have searched for some time and i have not found why my code does not work.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If it's not anonymous post, then it should be automatically shown. If you still have issue, please ask for help on sourceforge help website: https://sourceforge.net/support
Steven.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
"input password and choose image file form backup directory." ->
Did you mean the password for your cifs server, or the password for the whole booting?
Steven.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If you password contains special characters, then it might not working for this automatic method.
Otherwise, normal command for such way is like:
mount -t cifs //192.168.10.10/Matriz/Imagens/Clonezilla /home/partimag -o user=user1,password=pass2,sec=ntlm"
(the "sec=ntlm" option depends on server's setting.)
Ref: https://sourceforge.net/p/clonezilla/discussion/Help/thread/71686991/?limit=25#861d
Steven.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I am new to this forum and also new to using clonezilla. I have some basic programming knowledge.
I am trying to create auto select clonezilla. I am using USB with easy to boot. Below is the fragment for isolinux.cfg.
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 config noswap nolocales edd=on nomodeset noprompt ocs_prerun1="dhclient -v eth0" ocs_prerun2="sleep 2" ocs_prerun3="mount -t cifs -o user=admin@. //127.0.0.1/backup /home/partimag" ocs_live_run1="ocs-sr -g auto -e1 auto -e2 -c -r -j2 -k -p true restoreparts ask_user sda1" ocs_live_run2="sleep 10" ocs_live_extra_param="" keyboard-layouts=NONE ocs_live_batch="no" locales=en_US.UTF-8 vga=788 ip= nosplash
TEXT HELP
* Boot menu for BIOS machine
* Clonezilla live version: 20140902-trusty-i386. (C) 2003-2014, NCHC, Taiwan
* Disclaimer: Clonezilla comes with ABSOLUTELY NO WARRANTY
ENDTEXT
I am trying to create that I need to input password and choose image file form backup directory. Is it possible?
If some one know realy good topic about this it please give link. But i have searched for some time and i have not found why my code does not work.
Why my post is still in post awaiting moderation??? Is it normal and can some one answer my post?
If it's not anonymous post, then it should be automatically shown. If you still have issue, please ask for help on sourceforge help website:
https://sourceforge.net/support
Steven.
tnx now i see my post.
"input password and choose image file form backup directory." ->
Did you mean the password for your cifs server, or the password for the whole booting?
Steven.
Password is for samba server.
Below is code i am trying to use. I forgot to copy pasword. Sorry my mistake.
append initrd=/live/initrd.img boot=live config noswap nolocales edd=on nomodeset noprompt ocs_prerun1="dhclient -v eth0" ocs_prerun2="sleep 2" ocs_prerun3="mount -t cifs -o user=admin, password=** //...**/backup /home/partimag" ocs_live_run1="ocs-sr -g auto -e1 auto -e2 -c -r -j2 -k -p true restoreparts ask_user sda1" ocs_live_run2="sleep 10" ocs_live_extra_param="" keyboard-layouts=NONE ocs_live_batch="no" locales=en_US.UTF-8 vga=788 ip= nosplash
Can you tell me were in this code could be something wrong.
Last edit: ATOMS* 2014-11-07
If you password contains special characters, then it might not working for this automatic method.
Otherwise, normal command for such way is like:
mount -t cifs //192.168.10.10/Matriz/Imagens/Clonezilla /home/partimag -o user=user1,password=pass2,sec=ntlm"
(the "sec=ntlm" option depends on server's setting.)
Ref: https://sourceforge.net/p/clonezilla/discussion/Help/thread/71686991/?limit=25#861d
Steven.