![]() * Disclaimer: Clonezilla comes with ABSOLUTELY NO WARRANTYįinally, add your new boot option as following. MENU LABEL Clonezilla live (Default settings, VGA 800圆00)Īppend initrd=/live/initrd.img boot=live config noswap nolocales edd=on nomodeset ocs_live_run="ocs-live-general" ocs_live_extra_param="" ocs_live_keymap="" ocs_live_batch="no" ocs_lang="" vga=788 ip=frommedia nosplash This is the default boot option of clonezilla live. Second, open it with a text editor, find following block. ISO master can do this or Ubuntu Archive Manager also can do this easily. ![]() This setup creates new menu entry in clonezilla live, and runs mystartup script you just created before.įirst, extract isolinux.cfg file from clonezilla live iso file. The syntax of isolinux.cfg is very simular with grup configration. # Force restart (no key input required for restart) & $SETCOLOR_FAILUREĮcho "Fail to mount /dev/$tgt_part as $ocsroot!" # For more options about ocs-sr, run "ocs-sr -h" # If you want to run it in batch mode, add option "-b" in the ocs-sr command ![]() Part_fs="$(LANG=C ocs-get-part-info /dev/$tgt_part filesystem)" # From here, you can write your own scripts. $DRBL_SCRIPT_PATH/sbin/drbl-conf-functions # followings are essential for initial startupĭRBL_SCRIPT_PATH="$" This is based on /opt/drb1/samples/custom-ocs in clonezilla live. Make sure that you need to modify your own src_part and tgt_part. Ocs-sr is one of Clonezilla's command which enables you to save or restore a partition or whole disk. ![]() Ocs-sr -q2 -j2 -z1p -p command saveparts "$_filename" "$src_part" Most important part of this script is following. The backup image will be stored in /clone of sda1Īfter clonezilla is started, this script will be excuted. The actual size of image file is about 3~4G. What I want to do is to make clone image of this partition, and save this on /dev/sda1. ![]() Ubuntu server 12.04, lubuntu-desktop, all server daemons are installed in /dev/sdb1. Or just type "sudo apt-get install isomaster" in terminal.įilesystem Size Used Avail Use% Mounted on you can install in on Ubuntu Software Center.įind and click install in Ubuntu Software Center. Stable releases 1.2.12-67 is used in this tutorial Unlike the other method, this does not require any key input, when everything is finished, it will be rebooted automatically. This can be used as a snapshot, so you can restore your server if there is any problem. If you startup your system with this result iso file, you will get an compressed harddisk backup image in the target partition you want. This tutorial explains how to create customized clonezilla iso image.Ĭlonezilla is an open source disk cloning tool, I assume you already know enough about clonezilla. This is part-1 of " Nightly clonezilla backup imaging for ubuntu server". ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |