Menu

Automatic USB issue

Rino
2014-07-18
2014-07-18
  • Rino

    Rino - 2014-07-18

    Hi,

    I am trying to create a automatic USB clone/restore drive. But somehow I am having issues with the mounting of sdb2 and the crfeation off the image. Here is my syslinux line:

    append initrd=/live/initrd.img boot=live live-config username=user config quiet noswap edd=on nomodeset noeject locales="en_US.UTF-8" keyboard-layouts="NONE" ocs_prerun="sudo mount /dev/sdb2 /mnt" ocs_prerun1="sudo mount -bind /mnt /home/partimag/" ocs_live_run="ocs-sr -q2 -c -j2 -z1 -i 2000 -p true savedisk ask_user sda -reboot" ocs_live_extra_param="" ocs_live_batch=no vga=788 toram ip= nosplash i915.blacklist=yes radeonhd.blacklist=yes nouveau.blacklist=yes vmwgfx.enable_fbdev=no

    I have tried various settings but none of them seems to work.

    Can you help me?

     
  • polishm

    polishm - 2014-07-18

    noticed a couple minor syntax issues that may be breaking your process:

    you have "sudo mount - bind ..." I've always used "sudo mount --bind ..."

    not sure if it matters, but I also prefer ocs_prerun1, ocs_prerun2, etc.. to ocs_prerun, ocs_prerun1 (just to be sure the order is executed properly)

    hope that helps you

     

Log in to post a comment.

MongoDB Logo MongoDB