hi all,
so ive made two boot menu options for clonezilla in my "grub.cfg"
this one asks you questions ie whether you want to save or restore, choose the image and the target
menuentry "Clonezilla-live" --id clonezilla-se-client { echo "Enter Clonezilla..." echo 'Loading Linux kernel vmlinuz-pxe...' $linux_cmd Clonezilla-live-vmlinuz initrd=Clonezilla-live-initrd.img boot=live union=overlay username=user hostname=hirsute config components noswap edd=on nomodeset enforcing=0 locales=en_US.UTF-8 keyboard-layouts=en ocs_live_extra_param= ocs_live_batch=no net.ifnames=0 noeject netboot=nfs nfsroot=10.110.10.70:/tftpboot/node_root/clonezilla-live/ ocs_server="10.110.10.70" ocs_daemonon=\"ssh\" ocs_prerun=\"mount -t nfs 10.110.10.70:/home/partimag /home/partimag/\" ocs_live_run=\"clonezilla -l en_US.UTF-8 -p choose -k --skip-lite-menu \" echo 'Loading initial ramdisk initrd-pxe.img...' $initrd_cmd Clonezilla-live-initrd.img }
this one is an unattended restore of an image to a nvme disk
menuentry "win11-20250527-nvme-img" --id clonezilla-se-client { echo "Enter Clonezilla..." echo 'Loading Linux kernel vmlinuz-pxe...' $linux_cmd Clonezilla-live-vmlinuz initrd=Clonezilla-live-initrd.img boot=live union=overlay username=user hostname=hirsute config components noswap edd=on nomodeset enforcing=0 locales=en_US.UTF-8 keyboard-layouts=en ocs_live_extra_param= ocs_live_batch=no net.ifnames=0 noeject netboot=nfs nfsroot=10.110.10.70:/tftpboot/node_root/clonezilla-live/ ocs_server="10.110.10.70" ocs_daemonon=\"ssh\" ocs_prerun=\"mount -t nfs 10.110.10.70:/home/partimag /home/partimag/\" ocs_live_run=\"ocs-sr -g auto -e1 auto -e2 -j2 -edio -k1 -scr -r -icds -p reboot restoredisk win11-20250527-nvme-img nvme0n1\" echo 'Loading initial ramdisk initrd-pxe.img...' $initrd_cmd Clonezilla-live-initrd.img }
do i need to include at the top the "--id" part ie "--id clonezilla-se-client" if i do can they be the same or have to be unique
thanks, rob
sorry just a note, i had to delete option "-c" and change "-p choose" to "-p reboot"
ocs_live_run=\"ocs-sr -g auto -e1 auto -e2 -j2 -edio -k1 -scr -r -icds -p reboot restoredisk win11-20250527-nvme-img nvme0n1\"
if i could get help whether or not i need the "--id" part in my pxe boot menu that would be great help
Log in to post a comment.
hi all,
so ive made two boot menu options for clonezilla in my "grub.cfg"
this one asks you questions ie whether you want to save or restore, choose the image and the target
this one is an unattended restore of an image to a nvme disk
do i need to include at the top the "--id" part ie "--id clonezilla-se-client" if i do can they be the same or have to be unique
thanks,
rob
Last edit: robina80 2025-06-22
sorry just a note, i had to delete option "-c" and change "-p choose" to "-p reboot"
if i could get help whether or not i need the "--id" part in my pxe boot menu that would be great help
thanks,
rob