I trying to auto restore a partition image and had some obvious questions that seem not so obvious in the Live-HD document.
Is it possible for me to select my ocs commands to use in my Grub2 menu? Is a custom script required? Should those commands be done in the syslinux.cfg instead? Or both places plus the script?
I was hoping that I could simply pass the parameters along since I am stating where the program should be run in my grub menu. Basically when this is run, it just loads the Clonezilla menu with no automation. Any help would be appreciated. Here is what I have in my Grub menu.
menuentry "Auto Restore" {
set root=(hd0,4)
linux /mnt/live-hd/vmlinuz boot=live union=aufs nolocales noprompt set gfxpayload=640x480x16,640x480 ip=frommedia live-media-path=/mnt/live-hd bootfrom=/dev/sda4/mnt toram=filesystem.squashfs
ocs_live_run="ocs-live-restore"
ocs_live_extra_param="-g auto -e1 auto -e2 -c -r -j2 -k -p true restoreparts Win7part-img sda2" ocs_live_keymap="NONE" ocs_live_batch="yes" ocs_lang="en_US.UTF-8"
initrd /mnt/live-hd/initrd.img
}
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Yes, you can.
Did you put those in a line? like this?
linux /mnt/live-hd/vmlinuz boot=live union=aufs nolocales noprompt set gfxpayload=640x480x16,640x480 ip=frommedia live-media-path=/mnt/live-hd bootfrom=/dev/sda4/mnt toram=filesystem.squashfs ocs_live_run="ocs-live-restore" ocs_live_extra_param="-g auto -e1 auto -e2 -c -r -j2 -k -p true restoreparts Win7part-img sda2" ocs_live_keymap="NONE" ocs_live_batch="yes" ocs_lang="en_US.UTF-8"
Steven.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I trying to auto restore a partition image and had some obvious questions that seem not so obvious in the Live-HD document.
Is it possible for me to select my ocs commands to use in my Grub2 menu? Is a custom script required? Should those commands be done in the syslinux.cfg instead? Or both places plus the script?
I was hoping that I could simply pass the parameters along since I am stating where the program should be run in my grub menu. Basically when this is run, it just loads the Clonezilla menu with no automation. Any help would be appreciated. Here is what I have in my Grub menu.
menuentry "Auto Restore" {
set root=(hd0,4)
linux /mnt/live-hd/vmlinuz boot=live union=aufs nolocales noprompt set gfxpayload=640x480x16,640x480 ip=frommedia live-media-path=/mnt/live-hd bootfrom=/dev/sda4/mnt toram=filesystem.squashfs
ocs_live_run="ocs-live-restore"
ocs_live_extra_param="-g auto -e1 auto -e2 -c -r -j2 -k -p true restoreparts Win7part-img sda2" ocs_live_keymap="NONE" ocs_live_batch="yes" ocs_lang="en_US.UTF-8"
initrd /mnt/live-hd/initrd.img
}
Yes, you can.
Did you put those in a line? like this?
linux /mnt/live-hd/vmlinuz boot=live union=aufs nolocales noprompt set gfxpayload=640x480x16,640x480 ip=frommedia live-media-path=/mnt/live-hd bootfrom=/dev/sda4/mnt toram=filesystem.squashfs ocs_live_run="ocs-live-restore" ocs_live_extra_param="-g auto -e1 auto -e2 -c -r -j2 -k -p true restoreparts Win7part-img sda2" ocs_live_keymap="NONE" ocs_live_batch="yes" ocs_lang="en_US.UTF-8"
Steven.