...

Clonezilla live что это за программа

Clonezilla

Depends on the boot mode for the machine you want to boot with the USB flash drive, choose one of the following methods to setup Clonezilla Live on your USB flash drive using MS Windows:

  • uEFI boot mode (GPT)
  • Legacy boot mode (MBR)

uEFI boot mode (GPT)

  1. Download the amd64 (x86-64) version of Clonezilla Live zip file.
  2. If you already have a partition of at least 500 MB in size on your USB flash drive formatted with a FAT (not NTFS) file system then skip to the next step (3).
    Otherwise create at least a 500 MB partition on your USB flash drive and format it with a FAT16/FAT32 (not NTFS) file system.
  3. Use unzip tool, e.g., 7-zip, to extract all the contents of the zip file to the FAT16/FAT32 partition on your USB flash drive. Make sure you have extracted all the directories and files, including the «.disk» dir and the files under it. Keep the directory architecture, for example, file «GPL» should be in the USB flash drive’s top directory (e.g. G:\GPL).
  4. That’s all. You can boot this USB flash drive on a uEFI boot mode machine.

Legacy boot mode (MBR)

Choose one of the following methods to setup Clonezilla Live for legacy boot mode on your USB flash drive using MS Windows:

  • MS Windows Method A: Manual
  • MS Windows Method B: Rufus USB Creator
  • MS Windows Method C: Unetbootin
  • MS Windows Method D: LinuxLive USB Creator

NOTE: If you use FAT file system in one of the above methods, the installed USB flash drive should be able to boot both on uEFI and legacy boot modes.

MS Windows Method A: Manual

WARNING! DO NOT RUN makeboot.bat from your local hard drive!
Doing so could cause your MS windows not to boot.

  1. Download the Clonezilla Live zip file.
  2. If you already have a partition of at least 500 MB in size on your USB flash drive formatted with a FAT or NTFS file system then skip to the next step (3).
    Otherwise create at least a 500 MB partition on your USB flash drive and format it with a FAT16/FAT32 or NTFS file system.
  3. Extract all the contents of the zip file to the FAT16/FAT32 or NTFS partition on your USB flash drive. Keep the directory architecture, for example, file «GPL» should be in the USB flash drive’s top directory (e.g. G:\GPL).
  4. Browse to your USB flash drive and as an administrator , (On the USB flash key, create a shortcut to the makeboot.bat file. Then right-clic on the shortcut, Properties, Advanced and check «Run as administrator».), click the makeboot.bat in the dir utils\win32\ (for 32-bit Windows) or makeboot64.bat in the dir utils\win64\ (for 64-bit Windows). WARNING! Makeboot.bat must be run from your USB flash drive.
    If you are an experienced user, open a command prompt as Administrator, navigate to the root of the USB flash key and enter \utils\win32\makeboot or \utils\win64\makeboot, depending on the flavor of Windows you are running.
  5. Follow the on-screen instructions.
    (PS: The above description is modified from: http://www.pendrivelinux.com/2007/01/02/all-in-one-usb-dsl. Thanks to PDLA from http://pendrivelinux.com)

MS Windows Method B: Rufus USB Creator

  1. If you already have Rufus installed on your computer then skip to the next step (2).
    Otherwise download and install Rufus on your MS Windows computer.
  2. Download the Clonezilla Live iso file.
  3. From MS Windows, run the Rufus program and follow the instructions in the GUI to install Clonezilla Live on your USB flash drive.

MS Windows Method C: Unetbootin

  1. If you already have Unetbootin installed on your computer then skip to the next step (2).
    Otherwise download and install Unetbootin on your MS Windows computer.
  2. Download the Clonezilla Live iso file.
  3. From MS Windows, run the Unetbootin program and follow the instructions in the GUI to install Clonezilla Live on your USB flash drive.
    NOTE: The boot menu created by Unetbootin is not exactly the same as the boot menu created in method A. Therefore it is recommended to use method A.

Windows Method D: LinuxLive USB Creator

  1. If you already have LinuxLive USB Creator installed on your computer then skip to the next step (2).
    Otherwise download and install LinuxLive USB Creator on your MS Windows computer.
  2. Download the Clonezilla Live iso file.
  3. From Windows, install then run the LinuxLive USB Creator program and follow the instructions in the GUI to install Clonezilla Live on your USB flash drive.

USB setup with GNU/Linux

Depends on the boot mode for the machine you want to boot with the USB flash drive, choose one of the following methods to setup Clonezilla Live on your USB flash drive using GNU/Linux:

  • uEFI boot mode (GPT)
  • Legacy boot mode (MBR)

uEFI boot mode (GPT)

  1. Download the amd64 (x86-64) version of Clonezilla Live zip file.
  2. If you already have a partition of at least 500 MB in size on your USB flash drive formatted with a FAT (not NTFS) file system then skip to the next step (3).
    Otherwise create at least a 500 MB partition on your USB flash drive and format it with a FAT16/FAT32 (not NTFS) file system.
  3. Mount the FAT16/FAT32 file system of your USB flash drive, e.g., assuming the FAT16/FAT32 file system of your USB flash drive is /dev/sdg1,
# pmount /dev/sdg1 /media/disk/

If you have no pmount, you can run «sudo apt install pmount» to install it. Then unzip the clonezilla live amd64 zip file to the FAT16/FAT32 partition on your USB flash drive, e.g.,

# unzip clonezilla-live-2.7.3-21-amd64.zip -d /media/disk/

Then unmount the USB flash drive, e.g.,

# pumount /media/disk/

Legacy boot mode (MBR)

Choose one of the following methods to setup Clonezilla Live on your USB flash drive using GNU/Linux:

  • GNU/Linux Method A: Manual
  • GNU/Linux Method B: Unetbootin

NOTE: If you use FAT file system in one of the above methods, the installed USB flash drive should be able to boot both on uEFI and legacy boot modes.

GNU/Linux Method A: Manual

WARNING! Confirm you have the correct path name before executing commands!
Failure to do so could cause loss of data or your GNU/Linux not to boot.
/dev/sdd is a device path name
/dev/sdd1 is a partition path name

  1. Download the Clonezilla Live zip file.
  2. If you already have a FAT or NTFS partition on your USB flash drive then skip to the next step (3).
    Otherwise prepare at least a 500 MB partition formatted with either a FAT16/FAT32 or NTFS file system.
    If the USB flash drive or USB hard drive does not have any partition, you can use a partitioning tool (e.g. gparted, parted, fdisk, cfdisk or sfdisk) to create a partition with a size of 500 MB or more.
    Here we assume your USB flash drive or USB hard drive is /dev/sdd ( You have to comfirm your device name, since it’s _NOT_ always /dev/sdd ) on your GNU/Linux, so the partition table is like:
# fdisk -l /dev/sdd Disk /dev/sdd: 12.8 GB, 12884901888 bytes 15 heads, 63 sectors/track, 26630 cylinders Units = cylinders of 945 * 512 = 483840 bytes Disk identifier: 0x000c2aa7 Device Boot Start End Blocks Id System /dev/sdd1 * 1 26630 12582643+ b W95 FAT32

Then format the partition as FAT with a command such as «mkfs.vfat -F 32 /dev/sdd1»
WARNING! Executing the mkfs.vfat command on the wrong partition or device could cause your GNU/Linux not to boot. Be sure to confirm the command before you run it.

# mkfs.vfat -F 32 /dev/sdd1 mkfs.vfat 2.11 (12 Mar 2005)

TIP: If your USB flash drive or USB hard drive is not able to boot, check the following:

  • Ensure that your USB flash drive contains at least one FAT or NTFS partition.
  • Ensure that the partition is marked as «bootable» in the partition table.
  • Ensure that the partition starts on a cylinder boundary.
    For the first partition this is usually sector 63.

GNU/Linux Method B: Unetbootin

  1. If you already have Unetbootin installed on your computer then skip to step 2.
    Otherwise install Unetbootin on your GNU/Linux computer.
  2. Download the Clonezilla Live iso file.
  3. From GNU/Linux, run the Unetbootin program and follow the instructions in the GUI to install Clonezilla Live on your USB flash drive.
    NOTE: The boot menu created by Unetbootin is not exactly the same as the boot menu created in method A. Therefore it is recommended to use method A.

USB setup with MacOS

The following method can be used to setup Clonezilla Live on your USB flash drive using MacOS:

MacOS Method: balenaEtcher

  1. Download the Clonezilla Live iso file.
  2. Insert a USB flash drive on the Mac machine.
  3. Erase it using the standard Mac Disk Utility (exFAT works fine).
  4. Download balenaEtcher for MacOS, then follow its document to burn the image to the USB flash drive.
  5. Eject the USB drive. Thanks to Hans Palm for providing this info.

Clonezilla

Clonezilla is a partition and disk imaging/cloning program similar to True Image® or Norton Ghost®. It helps you to do system deployment, bare metal backup and recovery. Three types of Clonezilla are available, Clonezilla live, Clonezilla lite server, and Clonezilla SE (server edition). Clonezilla live is suitable for single machine backup and restore. While Clonezilla lite server or SE is for massive deployment, it can clone many (40 plus!) computers simultaneously. Clonezilla saves and restores only used blocks in the hard disk. This increases the clone efficiency. With some high-end hardware in a 42-node cluster, a multicast restoring at rate 8 GB/min was reported.

Features:

  • Many File systems are supported: (1) ext2, ext3, ext4, reiserfs, reiser4, xfs, jfs, btrfs, f2fs and nilfs2 of GNU/Linux, (2) FAT12, FAT16, FAT32, exFAT and NTFS of MS Windows, (3) HFS+ and APFS of Mac OS, (4) UFS of FreeBSD, NetBSD, and OpenBSD, (5) minix of Minix, and (6) VMFS3 and VMFS5 of VMWare ESX. Therefore you can clone GNU/Linux, MS windows, Intel-based Mac OS, FreeBSD, NetBSD, OpenBSD, Minix, VMWare ESX and Chrome OS/Chromium OS, no matter it’s 32-bit (x86) or 64-bit (x86-64) OS. For these file systems, only used blocks in partition are saved and restored by Partclone. For unsupported file system, sector-to-sector copy is done by dd in Clonezilla.
  • LVM2 (LVM version 1 is not) under GNU/Linux is supported.
  • LUKS (Linux Unified Key Setup) is supported.
  • Boot loader, including grub (version 1 and version 2 ) and syslinux, could be reinstalled.
  • Both MBR and GPT partition formats of hard drive are supported. Clonezilla live also can be booted on a BIOS or uEFI machine.
  • Unattended mode is supported. Almost all steps can be done via commands and options. You can also use a lot of boot parameters to customize your own imaging and cloning.
  • One image restoring to multiple local devices is supported.
  • Image could be encrypted. This is done with ecryptfs, a POSIX-compliant enterprise cryptographic stacked filesystem.
  • Multicast is supported in Clonezilla SE, which is suitable for massive clone. You can also remotely use it to save or restore a bunch of computers if PXE and Wake-on-LAN are supported in your clients.
  • Bittorrent (BT) is supported in Clonezilla lite server, which is suitable for massive deployment. The job for BT mode is done by Ezio.
  • The image file can be on local disk, ssh server, samba server, NFS server or WebDAV server.
  • AES-256 encryption could be used to secures data access, storage and transfer.
  • Based on Partclone (default), Partimage (optional), ntfsclone (optional), or dd to image or clone a partition. However, Clonezilla, containing some other programs, can save and restore not only partitions, but also a whole disk.
  • By using another free software drbl-winroll, which is also developed by us, the hostname, group, and SID of cloned MS windows machine can be automatically changed.

Minimum System Requirements for Clonezilla live:

  • X86 or x86-64 processor
  • 196 MB of system memory (RAM)
  • Boot device, e.g. CD/DVD Drive, USB port, PXE, or hard drive

Limitations:

  • The destination partition must be equal or larger than the source one.
  • Differential/incremental backup is not implemented yet.
  • Online imaging/cloning is not implemented yet. The partition to be imaged or cloned has to be unmounted.
  • Due to the image format limitation, the image can not be explored or mounted. You can _NOT_ recovery single file from the image. However, you still have workaround to make it, read this.
  • Recovery Clonezilla live with multiple CDs or DVDs is not implemented yet. Now all the files have to be in one CD or DVD if you choose to create the recovery iso file.

License:

  • Clonezilla itself is licensed under the GNU General Public License (GPL) Version 2. However, to run Clonezilla, a lot of free and open source software, e.g. the Linux kernel and a minimal GNU/Linux OS, are required.

Which Clonezilla Shall I Use ?

  • Clonezilla Live: Clonezilla live allows you to use CD/DVD or USB flash drive to boot and run clonezilla (Unicast only)
  • Clonezilla lite server: Clonezilla lite server allows you to use Clonezilla live to do massively cloning (unicast, broadcast, multicast, bittorrent are supported)
  • Clonezilla SE: Clonezilla SE is included in DRBL, therefore a DRBL server must first be set up in order to use Clonezilla to do massively cloning (unicast, broadcast and multicast are supported)

Clonezilla

Clonezilla Live is a small bootable GNU/Linux distribution for x86/amd64 (x86-64) based computers. Clonezilla SE (Server Edition) has been developed from 2004, and it is used to deploy many computers simultaneously. It is an extremely useful tool, however, it does have several limitations. In order to use it, you must first prepare a DRBL server AND the machine to be deployed must boot from a network (e.g. PXE/iPXE).

To address these limitations, we have combined Debian Live with Clonezilla as «Clonezilla Live,» a software that can be used to easily image and clone individual machines. The primary benefit of Clonezilla Live is that it eliminates the need to set up a DRBL server ahead of time and the need for the computer being deployed to boot from a network. Clonezilla Live can be used to image or clone individual computers using a CD/DVD or USB flash drive. Though the image size is limited by the boot media’s storage capacity, this problem can be eliminated by using a network filesystem such as sshfs or samba.

2. How to install Clonezilla Live ?

    For CD/DVD:
      Download an ISO file for CD/DVD. Then you can burn the iso file to a CD/DVD with any burnning program, such K3b on GNU/Linux or InfraRecorder on MS Windows, and remeber to choose «Burn Image» to burn the ISO file on the CD. The CD can then be used to boot the machine you want to image or clone. The step-by-step doc about using InfraRecorder to create Clonezilla live CD could be found here.
      To put Clonezilla live on a USB flash drive or USB hard drive, check this doc.
      To put Clonezilla live on a harddrive with OS installed already, check this doc.
      To put Clonezilla live on a PXE server and boot your client via PXE, check this doc.

    3. How to use Clonezilla live ?

    Please refer to this doc for more details.

    4. Accounts

    In Clonezilla live, two accounts are available: (1) account «user» with sudo privilege, password is «live», (2) administration account «root», no password. Therefore you can not login as root, the only way to get root privilege is to login as user, and run «sudo -i» or «sudo su -» to become root.
    For better security, it is recommended to change the passwords of user and root by command «passwd» before you allow remote access. When Clonezilla live boots, the ssh service is NOT automatically started, and the setting in /etc/hosts.deny does NOT block any connection. If you want to remotely ssh login into your Clonezilla live, you have to start ssh service by «service ssh start».

    5. Advanced modes

    • Create your own recovery CD or USB flash drive.
    • Use your own script and run it on clonezilla live.
    • Use boot parameters to pre-set some selections
    • The reserved image and device names for the command ocs-sr

    При подготовке материала использовались источники:
    https://clonezilla.org/liveusb.php
    https://clonezilla.org/
    https://clonezilla.org/clonezilla-live.php

Оцените статью