DRBL logo Clonezilla Live Doc DRBL logo
Print all this session
Started with sshd on and passwd assigned : Run unattended Clonezilla live via PXE booting and the process can be remotely monitored
  1. A PXE config example for you to boot Clonezilla live via PXE, and ssh service is on, the password of account "user" is assigned
A PXE config example for you to boot Clonezilla live via PXE, and ssh service is on, the password of account "user" is assigned
----------------------------------------
label Clonezilla Live
MENU LABEL Clonezilla Live
MENU DEFAULT
kernel vmlinuz1
append initrd=initrd1.img boot=live union=aufs noswap noprompt vga=788 fetch=tftp://192.168.120.254/filesystem.squashfs usercrypted=bkuQxLqLRuDW6 ocs_numlk="on" ocs_daemonon="ssh"
----------------------------------------
The usercrypted password is created by:
echo YOUR_PASSWORD | mkpasswd -s
("mkpasswd" is from package "whois" in Debian or Ubuntu. Check your GNU/Linux to see which package provides this command if you are not using Debian or Ubuntu. Replace YOUR_PASSWORD with your plain text password, and remember do not put any " in the boot parameters of live-initramfs (while it's ok for those ocs_* boot parameters), i.e. do NOT use something like usercrypted="bkuQxLqLRuDW6").
If you prefer sha-256 instead of md5 method, you can generate the password like:
echo YOUR_PASSWD | mkpasswd -m sha-256 -s
Or sha-512:
echo YOUR_PASSWD | mkpasswd -m sha-512 -s
//NOTE// If you do not assign salt to mkpasswd, the encrypted password will not be the same every time you create it.
For more about usercrypted discussion, please check the here.

For more boot parameters, please refer to this doc.

Print this page


Last modified: June 04 2009 06:28:26.

NCHC Free Software Lab. All Rights Reserved. Anyone is permitted to copy and distribute verbatim copies of this document under the terms of the GNU FDL Free Documentation License.