Menu

Custom ocs won't run if toram=filesystem.squashfs

Pmat
2015-04-27
2015-05-09
  • Pmat

    Pmat - 2015-04-27

    Hi all,

    So, I have a server with a single hdd, sda. I'm using a USB flash drive to boot clonezilla live with custom-ocs to backup the local disk sda into USB hdd mounted as /home/partimag. The script has been tested to run fine but as I create the live zip for the USB flash drive kernel command line gets a parameter that I haven't been able to remove or modify (without manually editing the syslinux command line):

    toram=filesystem.squashfs

    If this is defined, clonezilla will not run the custom-ocs and exits with an error. If I remove it completely or define just "toram" the script runs fine. So the questions are:

    1) how to remove or modify this parameter permanently and
    2) why doesn't the script run when the above is defined?

    The kernel command line in syslinux.cfg is:

    append initrd=/live/initrd.img boot=live union=aufs noprompt noswap edd=on nomodeset nodmraid noeject locales=en_US.UTF-8 keyboard-layouts=fi ocs_live_run="custom-ocs" ocs_live_extra_param="" ocs_live_batch=yes vga=791 ip= nosplash i915.blacklist=yes radeonhd.blacklist=yes nouveau.blacklist=yes vmwgfx.enable_fbdev=1 live-config

    When looking at the parameters in syslinux, there is extra parameter "toram=filesystem.squashfs".

    Thanks in advance!

     
  • Steven Shiau

    Steven Shiau - 2015-05-09

    The "toram" option is let you to tell live-boot to copy which part to RAM. If you only use "toram=filesystem.squashfs", it will only copy the file "filesystem.squash", therefore the customized file "custom-ocs" won't be put into ram. Therefore you can not find it after booting into live system.
    If your custom-ocs is not too complicated, you can use something like "ocs_prerun1=... ocs_prerun2=... ocs_prerun3=...", as described here:
    http://clonezilla.org/fine-print-live-doc.php?path=clonezilla-live/doc/99_Misc/00_live-boot-parameters.doc
    Otherwise you have to use "toram", not "toram=filesystem.squashfs".

    Steven.

     

Log in to post a comment.

MongoDB Logo MongoDB