Basically Clonezilla read the content of /proc/cmdline, parse it, then run it. If the /proc/cmdline is the same for both booting from syslinux and grub, then there is no reason that Clonezilla will run it differently. Hence we can just check /proc/cmdline to realize what happened there.
Steven
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I do the exact same ocs_repository for a legacy pxe boot and it works flawlessly. Something about it booting UEFI pxe it seems to ignore ocs_repository
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I do the exact same ocs_repository for a legacy pxe boot and it works flawlessly. Something about it booting UEFI pxe it seems to ignore ocs_repository
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Awesome thanks. But I really like my work around. I have it change the root password allow root login via ssh and start the ssh service then it reports the ip to a file so I can ssh to it.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
i have problem with ocs_repository to put domain in to login for smb share for group.cfg. In documentation is syntax smb://domain;login:password@ip/share/path and it doesn't work.
I have hack this like smb://login:password,domain=my_domain@IP/share/
Maybe it helps
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thank you for this but it was something that Steven did with a newer version that had fixed it. Everything has been working flawless "on this aspect" for a long time. :-) I am very pleased with it. I haven't even needed my own script in such a long time that I had even taken that out.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
@ptrj,
As jeff.sadowski mentioned, please give the latest Clonezilla live a try, e.g., 2.7.0-10 or 20201102-groovy: https://clonezilla.org/downloads.php
and let us know the results.
@ jeff.sadowski,
Thanks for your feedback. It's nice to know you enjoy this feature of Clonezilla live.
Steven
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I tried clonezilla-live-2.7.0-10-amd64 and there I have the same problem than ptrj (booting in uefi and using grub.cfg) and his solution also works here.
And thank you for Clonezilla live. It's an awesome software.
Karl
👍
1
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Useing clonezilla version stable - 2.6.3-7
I have 2 methods of pxeboot for it
One I use pxelinux
The other is grub with the config
When I boot via pxelinux it mounts /home/partimag.
When I boot using UEFI grub it does not.
Last edit: jeff.sadowski 2019-10-18
I tried working around this via
but this causes it to lockup on booting via grub
It locks up running the command on
2.6.3-7
and
20191016-eoan
I can run other commands via ocs_prerun with no problems but this particular mount command causes it to freeze up.
Last edit: jeff.sadowski 2019-10-18
Try to use the password which won't confuse the parsing program, especially do not use some special characters as part of your password.
Steven
I'll even give the password I tried.
Password:
Cl0nezilla
but is still ignores the option in EFI mode.
So what's the results when you run:
cat /proc/cmdline
Steven
Can't wait to try that Monday :-) I wonder of the order matters.
Last edit: jeff.sadowski 2019-10-19
Basically Clonezilla read the content of /proc/cmdline, parse it, then run it. If the /proc/cmdline is the same for both booting from syslinux and grub, then there is no reason that Clonezilla will run it differently. Hence we can just check /proc/cmdline to realize what happened there.
Steven
root@clonezilla:~# cat /proc/cmdline
BOOT_IMAGE=/cz191016.x64/live/vmlinuz boot=live union=overlay username=user hostname=clonezilla ocs_live_run=ocs-live-general ocs_live_extra_param= ocs_live_batch=no locales=en_US.UTF-8 keyboard-layouts=NONE toram=filesystem.squashfs fetch=http://tftp/tftp/cz191016.x64/live/filesystem.squashfs ocs_repository=smb://mydomain;clonezilla:Cl0nezilla@smb/clonezilla/
mydomain is my domain
clonezilla is the username
Cl0nezilla is the password
smb is my samba server
and
clonezilla is a share on it
these credetials work just fine if I enter them manually.
I do the exact same ocs_repository for a legacy pxe boot and it works flawlessly. Something about it booting UEFI pxe it seems to ignore ocs_repository
I do the exact same ocs_repository for a legacy pxe boot and it works flawlessly. Something about it booting UEFI pxe it seems to ignore ocs_repository
I found a work around.
I created a script mount.sh
then I was able to use ocs_prerun like so
This works.
Thanks. I confirmed this issue, and it was fixed in the git repository. The next testing Clonezilla live will contain the fixed codes.
Steven
This issue is fixed in Clonezilla live 2.6.4-10 or 20191024-*:
https://clonezilla.org/downloads.php
Please give it a try and let us know the results. Thanks.
Steven
Awesome thanks. But I really like my work around. I have it change the root password allow root login via ssh and start the ssh service then it reports the ip to a file so I can ssh to it.
Definitely! Script will be much more flexible compared with the parameter ocs_repository.
Steven
Hi,
i have problem with ocs_repository to put domain in to login for smb share for group.cfg. In documentation is syntax smb://domain;login:password@ip/share/path and it doesn't work.
I have hack this like smb://login:password,domain=my_domain@IP/share/
Maybe it helps
Thank you for this but it was something that Steven did with a newer version that had fixed it. Everything has been working flawless "on this aspect" for a long time. :-) I am very pleased with it. I haven't even needed my own script in such a long time that I had even taken that out.
@ptrj,
As jeff.sadowski mentioned, please give the latest Clonezilla live a try, e.g., 2.7.0-10 or 20201102-groovy:
https://clonezilla.org/downloads.php
and let us know the results.
@ jeff.sadowski,
Thanks for your feedback. It's nice to know you enjoy this feature of Clonezilla live.
Steven
I tried clonezilla-live-2.7.0-10-amd64 and there I have the same problem than ptrj (booting in uefi and using grub.cfg) and his solution also works here.
And thank you for Clonezilla live. It's an awesome software.
Karl