Menu

How to choose and mount USB device during automated install

2015-09-03
2015-09-27
  • Paul Lawrie

    Paul Lawrie - 2015-09-03

    Hi, I've been using Clonezilla Live for some years and I now want to implement it further for other people in my organisation to use - but I'd like to make it even simpler and faster for them to restore images.

    I have a requirement to have Clonezilla on one USB device, and the images on a different USB device. Normally during an interactive restore I have the opportunity to connect the image device, choose the disk and image etc, but I can't seem to make this work when automated.

    I have: "ocs-sr -g auto -e1 auto -e2 -c -r -j2 -p choose restoredisk ask_user ask_user" in my grub.cfg and it is skipping through to the shutdown/reboot screen.

    I imagine I might need to pre-run some commands to prompt and mount the volume?

     
  • Paul Lawrie

    Paul Lawrie - 2015-09-03

    Found a friend that knows more about Linux than me and we worked out that this additonal option does what I want:

    ocs_prerun="/usr/sbin/prep-ocsroot -t local_dev"

    It calls the menu to choose the restore device and defaults it to local devices

    The warning is written to the screen to insert the USB device and then the chooser etc is displayed. huzzah!

     
  • Steven Shiau

    Steven Shiau - 2015-09-27

    Cool! It's nice to know you have worked it out.

    Steven.

     

Log in to post a comment.

MongoDB Logo MongoDB