Menu

Automated USB Recovery Keyboard Language Prompt - Bypass

Jerry w
2021-05-05
2024-04-20
  • Jerry w

    Jerry w - 2021-05-05

    Hi All,

    I'm revisiting a Clonezilla project I started 7 years ago & bringing it forward into the modern day with an updated Live folder & usage requirements etc. The Project is a USB key That uses Grub4Dos bootloader to choose from various pre build CloneZilla images.

    It's all working fine but there is a key board prompt popping up after the squash system copies to ram, asking me to continue with current or change keyboard, which I would like to not have, to make the process as automated as possible, once I choose the appropriate image.

    At the moment I'm just using an old windows 7 image in a VM to get the base working which I can then alter later with newer different images.

    Looking at the code it seems the language is set via section, 'ocs_lang="en_US.UTF-8"', so am not sure what to alter to bypass this prompt?

    Here is the code sample:-

    title USB_BUILD_ALPHA_1
    kernel /live/vmlinuz boot=live quiet live-config noswap nolocales edd=on nomodeset ocs_prerun="sudo mount /dev/sda1 /mnt" ocs_prerun1="sudo mount --bind /mnt/Images /home/partimag/" noprompt noprompt ocs_live_run="ocs-sr --batch -e1 auto -e2 -j2 -k1 -r -p reboot restoredisk WIN-7-SP1-HPR-64 sdb" ocs_live_extra_param="fsck /dev/sda" ocs_live_keymap="NONE" ocs_live_batch="yes" ocs_lang="en_US.UTF-8" vga=788 ip=frommedia live-media-path=/live bootfrom=/dev/sda toram=filesystem.squashfs
    initrd /live/initrd.img
    boot

    I searched this forum for skipping prompts but couldn't find one for this element.

    Any tips would be most welcome, cheers!

     
  • Steven Shiau

    Steven Shiau - 2021-05-05

    'ocs_live_keymap="NONE" ocs_lang="en_US.UTF-8" '
    -> they are deprecated. You should read the modern documents:
    https://clonezilla.org/show-live-doc-content.php?topic=clonezilla-live/doc/99_Misc
    Hence you should use:
    keyboard-layouts=NONE locales=en_US.UTF-8

    Steven

     
    • fuyu

      fuyu - 2024-04-09

      I use the latest clonezilla-live-3.1.2-9-amd64.zip.
      keyboard-layouts=NONE locales=en_US.UTF-8
      seems still need manual select language. Does anyone have any suggests?

       
      • Steven Shiau

        Steven Shiau - 2024-04-20

        It should not.
        Please share the complete config file you have edited.

        Steven

         
  • Jerry w

    Jerry w - 2021-05-05

    Thanks! will sure check these out too. 👍

     

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.