Clonezilla笔记----安装Clonezilla Live到U盘

前景提要

最近公司又要大批量安装电脑了, 几十上百台的电脑, Linux环境依赖一大堆, 不可能一个电脑一个电脑的联网装环境, 这就要用到免费开源的Clonezilla了。 不论电脑系统是Windows的还是Ubuntu的, 在一台电脑安装好系统配置好环境以后, 都可以用Clonezilla克隆整个系统, 放到U盘里面, 可以安装到 同等配置 的其他电脑里面去.

什么是Clonezilla

Clonezilla官网 介绍如下:

What is 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.

这里我们用到的是 Clonezilla live, Clonezilla Live is a small bootable GNU/Linux distribution for x86/amd64 (x86-64) based computers.

Clonezilla的特点

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, NTFS of MS Windows, (3) HFS+ 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.
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 clone. 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.

可以看出支持的系统(Linux, Windows, macOS…)和启动方式还是很多的, 这里我主要用于Ubuntu 16系统环境的克隆.

Clonezilla的限制

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.

安装的分区要等于或大于源分区, 意思是 如果用512G的盘配置的系统环境, 克隆后只能装到512G及以上大小的磁盘, 哪怕是500G的磁盘都不能安装?

不支持增量备份, 也不支持在线备份.

Clonezilla Live下载

https://clonezilla.org/downloads.php

在这里插入图片描述
在这里插入图片描述
用下载工具(如Windows的EagleGet)下载还是特别快的, 速度可以上M. 文件名 clonezilla-live-20190903-disco-amd64.zip , 大小285.2MB.

把Clonezilla Live设置到U盘

Windows或者Linux系统的设置方法都可以在这里面找到: https://clonezilla.org/liveusb.php

这里以Win10为例, 工具和方法还是蛮多的:

在这里插入图片描述

我用的是Tuxboot, 下载链接: https://tuxboot.org/download/.

插入U盘, 打开Tuxboot, 选择预下载, 找到上面下载的285.2MB的 clonezilla-live-20190903-disco-amd64.zip, Driver里面选择U盘盘符, 点击OK就可以开始制作了:

在这里插入图片描述
完成后:

在这里插入图片描述

X掉即可.

到此, 我们就把Clonezilla Live设置到U盘里了, 接下来就可以克隆系统了.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值