Menu

Auto cloning to larger disk

Help
GeneS
2012-06-25
2013-04-05
  • GeneS

    GeneS - 2012-06-25

    Greetings all,
    Trying to work through a small issue, and so far havent had any success. Im booting off a USB device that autostarts up to the point were the end user needs to choose an image and confirm. So far i have been 100% with this. I would like to add the ability to use the entire disk by default. I build on 40GB HDD, and would like the image to auto expand.

    When I take the images I take a disk image and have everything into one partition. Im doing this for both XP and 7. I tried adding the -k1 to ocs_live_extra_param but it didnt seem to make a difference. Looking to see if anyone might have a suggestion that will let me expand to an entire drive, but still maintain the ease of use for the end user. Thanks for any help or guidance you might have. This forum, and product has been super helpful this far.

    Below is my startup string. I am far from an expert with this, but it has been working well so far.

    append initrd=/live/initrd.img boot=live config noswap nolocales nomodeset noprompt ocs_live_run="ocs-live-general" ocs_lang="en_US.UTF-8" ocs_live_extra_param="" ocs_live_keymap="NONE" ocs_live_batch="no" ocs_live_run="ocs-live-restore" ocs_live_extra_param="-e1 auto -e2 -r -j2 -p reboot restoredisk ask_user sda" vga=788 ip=frommedia nosplash

     
  • GeneS

    GeneS - 2012-06-28

    Got it. If anyone else is in a similiar situation i found thats while adding -k1 to the string didnt make a difference adding -k1 -r now makes the re-imaging use the entire partition.

    A fully loaded image takes roughly 10 minutes to clone down from the USB… not to shabby.

     

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.