Menu

Modify default option on "Beginner...

2011-05-23
2013-04-05
  • JURE Jerome

    JURE Jerome - 2011-05-23

    Hi,

    First of all I have to say you thanks Clonezilla team !

    I explain myself, I have to make the easiest way to restore a computer image for my on site trainers.
    Most of my computer image are multiboot OS: Windows7 and Ubuntu 10.04.1 and I using the Windows bootloader.

    There is only one option that I don't wan't to use in the beginner mode with the restore disk case:
    -g auto (for grub installation on the MBR)

    This option after restore completing, make my computer unbootable.
    So my question is, is it possible to customise the Beginner mode (on clonezilla Live and server) ?

    Sorry for my "french" english. Thanks

     
  • Steven Shiau

    Steven Shiau - 2011-05-25

    Yes, you can modify the file /opt/drbl/sbin/drbl-functions, in the function "set_ocs_sr_extra_param" (about line # 1607),  modify this line:
        echo "-g auto" "-e1 auto" "-e2" "-c" "-r" "-j2" > $OCS_PARAM_TMP
    as
        echo "-e1 auto" "-e2" "-c" "-r" "-j2" > $OCS_PARAM_TMP

    Then in the beginner mode, "-g auto" won't be on.
    As for how to modify the files in the squashfs file (filesystem.squashfs), you can refer to:
    http://drbl.sourceforge.net/faq/fine-print.php?path=./2_System/81_add_prog_in_filesystem-squashfs.faq#81_add_prog_in_filesystem-squashfs.faq

    One thing I do not understand is, why "-g auto" does not work there… Could you please tell us the error messages there? Thanks.

    Steven.

     
  • JURE Jerome

    JURE Jerome - 2011-08-22

    Hi,

    Sorry, I just now thinking to post a reply.

    The problem was with Multiboot OS using the Windows XP bootloader with a Ubuntu desktop. With the option "-g auto " the Windows XP bootloader is delete. Maybe it's because of my Master.

    After test, with the Windows 7 bootloader, I don't have any error. Sorry, now I know how to make some modification on defaut params.

    Thank again !

     

Log in to post a comment.