Hi, I want to create an semi-automated usb live key.
In the past with MBR I have used the following setting in the syslinux.cfg without anu problem.
label Clonezilla live (en RAM)
# MENU DEFAULT
# MENU HIDE
MENU LABEL Clonezilla - RESTORE (forced) (RAM)
# MENU PASSWD
kernel /live/vmlinuz
append initrd=/live/initrd.img boot=live union=overlay username=user config components quiet noswap edd=on nomodeset nodmraid noeject locales=en_US.UTF-8 keyboard-layouts=NONE ocs_prerun1="dhclient -v eth0" ocs_prerun2="sleep 2" ocs_prerun3="sudo mount -t cifs //10.26.168.64/infsup$/images /home/partimag -o user=clonezilla,domain=MYDOMAIN,password=MYPASSWORD" ocs_prerun4="sleep 1" ocs_live_run="ocs-sr -g auto -e1 auto -e2 -c -r -icds -j2 -k1 -p true restoredisk ask_user ask_user" ocs_live_extra_param="" ocs_live_batch=no vga=788 toram=filesystem.squashfs ip= net.ifnames=0 nosplash i915.blacklist=yes radeonhd.blacklist=yes nouveau.blacklist=yes vmwgfx.enable_fbdev=1
TEXT HELP
All the programs will be copied to RAM, so you can
remove boot media (CD or USB flash drive) later
ENDTEXT
Now I want to do the same thing for UEFI. I have try to put the same setting in the grub.cfg file but the choice in the menu has completly disapear when I boot in the usb key!
"the choice in the menu has completly disapear" -> What did you mean?
BTW, your settings between syslinux.cfg and grub.cfg are different. Say, in grub.cfg, you did not put ocs-sr command in ocs_live_run.
Are you sure that's what you want?
Steven
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi, I want to create an semi-automated usb live key.
In the past with MBR I have used the following setting in the syslinux.cfg without anu problem.
Now I want to do the same thing for UEFI. I have try to put the same setting in the grub.cfg file but the choice in the menu has completly disapear when I boot in the usb key!
Can you help me??
Last edit: Informatique Sepaq 2021-03-29
"the choice in the menu has completly disapear" -> What did you mean?
BTW, your settings between syslinux.cfg and grub.cfg are different. Say, in grub.cfg, you did not put ocs-sr command in ocs_live_run.
Are you sure that's what you want?
Steven
I mean, when I boot on the usb key, I see the default clonezilla menu with many booting choice. But it doesn't show my custom entry....
No idea why it does not show. Which file did you edit? Please share the full file (/boot/grub/grub.cfg actually) so that we can try to diagnose that.
Steven