Menu

Preseed script not working, computer just boots to clonezilla normally...

Help
2023-05-19
2023-05-21
  • Daniel newman

    Daniel newman - 2023-05-19

    Clonezilla Version: stable - 3.1.0-22

    I have created a Clonezilla drive with 2 Partitions: one for the Clonezilla OS and one for the Image Repository. I have captured an image successfully and I'm able to restore to a new machine successfully. However, I would like to use ocs_prerun to be able to have these machines Automatically run restorediskon a particular machine without intervention. Here is the script I'm using in the syslinux.cfg file:

    label ETS-840G3
    MENU DEFAULT
    # MENU HIDE
    MENU LABEL ETS-840G3
    # MENU PASSWD
    kernel /live/vmlinuz
    append initrd=/live/initrd.img boot=live union=overlay username=user config components quiet noswap edd=on nomodeset noeject locales=en_US.UTF-8 keyboard-layouts=NONE ocs_prerun="mount /dev/sdb2 /mnt" ocs_prerun1="mount --bind /mnt /home/partimag" ocs_live_run="ocs-sr -batch -r -j2 -scr -p reboot restoredisk ETS-840G3 sda" ocs_live_extra_param="" ocs_live_batch="yes" vga=791 ip= net.ifnames=0 splash i915.blacklist=yes radeonhd.blacklist=yes nouveau.blacklist=yes vmwgfx.enable_fbdev=1
    TEXT HELP
    VGA mode 1024x768. OK for most of VGA cards.
    ENDTEXT

    It boots to the orange Clonezilla screen, then gives a 30 second countdown for Automatic Boot, but after that, it boots int Clonezilla normally. It doesn't throw any errors or anything, it seems like it just skips it.

    Does anyone have any ideas or has anyone dealt with something similar before?

    Thanks in advance,

     

    Last edit: Daniel newman 2023-05-19

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.