Menu

CZ v2.4.2-3 Boot parameters don't work

adfc
2015-05-26
2015-05-30
  • adfc

    adfc - 2015-05-26

    Hello.

    I have been using the following syslinux.cfg entry to automate the deploy of a software image:

    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=pt ocs_prerun="ln -s /lib/live/mount/medium/HDD-Image/ /home/partimag/" ocs_live_run="ocs-sr -e1 auto -e2 -batch -r -j2 -p poweroff restoredisk HDD-Image/ sda" ocs_live_extra_param="" ocs_live_batch=no vga=791 ip= nosplash i915.blacklist=yes radeonhd.blacklist=yes nouveau.blacklist=yes vmwgfx.enable_fbdev=1

    The software image is placed in "HDD-Image".

    However, everytime I run it I get the following problem:


    Welcome to rescue mode! Type "systemctl default" or ^D to enter default mode.
    Type "journalctl -xb" to view system logs. Type "systemctl reboot" to reboot.
    Give root password for maintenance
    (or press Control-D to continue): _


    If I press CTRL+D, the process continues and the software image is properly applied in the HDD.

    Also... If I use this:
    append initrd=/live/initrd.img boot=live union=overlay username=user config components quiet noswap edd=on nomodeset nodmraid noeject locales= keyboard-layouts= ocs_live_run="ocs-live-general" ocs_live_extra_param="" ocs_live_batch=no vga=791 ip= nosplash i915.blacklist=yes radeonhd.blacklist=yes nouveau.blacklist=yes vmwgfx.enable_fbdev=1

    Clonezilla starts properly with no error!

    The difference seems to be in "ocs_prerun=".
    When I include "ocs_prerun=" in syslinux.cfg I face the documented problem above.

    What could be causing this?
    CZ version is 2.4.2-3 amd64

    Thank you

     

    Last edit: adfc 2015-05-26
  • adfc

    adfc - 2015-05-27

    In 20150525-vivid it works OK.

    So I am dropping this support request.

    Thank you.

     
  • Steven Shiau

    Steven Shiau - 2015-05-30

    I think it's the option "-s" in your command triggers systemd to enter "single user mode".
    Try to use something like "ln -fs..." or even "ln --symbolic..." to avoid the issue.

    Steven.

     

Log in to post a comment.

MongoDB Logo MongoDB