Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

Server Side Setup and Client Setup for Clonezilla

Summary: How you can clone a Windows operating system (OS) using the Clonezilla program.

This article may have been automatically translated. If you have any feedback regarding its quality, please let us know using the form at the bottom of this page.

Article Content


Symptoms


Summary: "This article will document how you can clone a Windows Operating System (OS) using the Clonezilla Utility."


Clonezilla

SLN303956_en_US__1icon Note: The following information is not supported by Dell and is more for information purposes.

Clonezilla is a free open-source disk cloning and deployment application that allows you to clone an individual machine or many computers simultaneously.

See the following link Clonezilla SLN303956_en_US__2iC_External_Link_BD_v1 for more information.


Server Side Setup for Clonezilla

The suggested setup for a Clonezilla Imaging Server is to use a Virtual Machine (VM) or a standalone system with dual network interface controllers (NICs). The Ethernet should be configured per the following example:

Ethernet 0

IP Address:     192.168.1.103
Subnet Mask:    255.255.255.0
Default Gateway: 192.168.1.1

Ethernet 1

IP Address:     192.168.1.1
Subnet Mask:    255.255.255.0
Default Gateway: none

Suggested Clonezilla Server configuration steps:

Run Clonezilla Server

  1. Install the Ubuntu 16.04 x64 SLN303956_en_US__2iC_External_Link_BD_v1operating system on the VM or Clonezilla server
  2. Open the Terminal function then run the following command to obtain root privileges in the operating system.

    Run "$ sudo –s" then press the Enter key.
     
  3. Download and add the Gnu Privacy Guard key (GPG key) for Diskless Remote Boot in Linux (DRBL) and Clonezilla packages

    Run "# wget -q http://drbl.org/GPG-KEY-DRBL -O- | sudo apt-key add –" then press the Enter key.
  4. Check for available updates for the OS and kernel.

    Run "# apt-get update" then press the Enter key.
     
  5. Download VIM text editor SLN303956_en_US__2iC_External_Link_BD_v1

    Run "# apt-get install vim" then press the Enter key.
     
  6. Edit the Advanced Packaging Tool (APT) sources list

    Run "# vim /etc/apt/sources.list" then press the Enter key.
     
    1. Add the following to the bottom of the file:

      deb http://archive.ubuntu.com/ubuntu SLN303956_en_US__5iC_External_Link_BD_v1 xenial main restricted universe multiverse # (Or any Ubuntu mirror site near you)
      deb http://free.nchc.org.tw/drbl-core SLN303956_en_US__5iC_External_Link_BD_v1 drbl stable
       
    2. Save the file
    3. Quit vim
       
  7. Check for available updates with the new DRBL repository

    Run "# apt-get update" then press the Enter key.
     
  8. Install Diskless Remote Boot in Linux (DRBL) and related files

    Run "# apt-get install drbl" then press the Enter key.
     
  9. Add Domain Name System (DNS) nameservers to resolve.conf (to prevent errors in DRBL configuration)

    Run "# vim /etc/resolve.conf then press the Enter key.
    1. Add "nameserver 8.8.8.8"
    2. Add "nameserver 4.4.4.4"
    3. Remove "nameserver 127.0.0.1"
    4. Save the file
       
  10. Run this DRBL Server Configuration Script

    Run "# drblsrv –I" then press the Enter key.
     
    1. Select Y to install the network installation boot images (See Figure1.)

      SLN303956_en_US__7Clonezilla-1
      Figure 1. - Obtaining network installation boot images
       
    2. Select N to skip serial console output (See Figure 2.)

      SLN303956_en_US__8Clonezilla-2
      Figure 2. - Skip the serial console output
       
    3. Select Y to update the Operating System (to get the latest kernel) (See Figure 3.)

      SLN303956_en_US__9Clonezilla-3
      Figure 3. - Upgrading to the latest Kernel version
       
    4. Select 2 (or whichever kernel is later) (See Figure 4.)

      SLN303956_en_US__10Clonezilla-4
      Figure 4. - Selection of the most current upgrade available from the list presented
       
    5. Confirm that no errors occurred: (See Figure 5.)

      SLN303956_en_US__11Clonezilla-5
      Figure 5. - Confirmation that no errors occurred.
       
  11. Run this DRBL Server Configuration Script

    Run "# drblpush –I" then press the Enter key.
    1. Enter a DNS domain name: (See Figure 6.)

      SLN303956_en_US__12Clonezilla-6
      Figure 6. - Entering the DNS domain name
       
    2. Enter a NIS domain name: (See Figure 7.)

      SLN303956_en_US__13Clonezilla-7
      Figure 7. - Entering the NIS domain name
       
    3. Enter a hostname prefix: (See Figure 8.)

      SLN303956_en_US__14Clonezilla-8
      Figure 8. - Entering a hostname prefix
       
    4. Select eth0 (whichever NIC leads to the Internet) (See Figure 9.)

      SLN303956_en_US__15Clonezilla-9
      Figure 9. - Selecting the Ethernet Adapter 0
       
    5. Select N to Collecting MAC Addresses
    6. Select N to letting the DHCP service in DRBL offer the same IP address (goes back to Collecting MAC Addresses)
    7. Select the initial IP address of Clonezilla clients (20 in this example): (See Figure 10.)

      SLN303956_en_US__16Clonezilla-10
      Figure 10. - Selection of the initial number of IP addresses for Clonezilla clients
       
    8. Select the number of DRBL (Clonezilla client) systems expected (20 in this example) (See Figure 11.)

      SLN303956_en_US__17Clonezilla-11
      Figure 11. - Selection of the number of DBRL clients
       
    9. Select Y to confirm the IP address settings on eth1 (See Figure 12.)

      SLN303956_en_US__18Clonezilla-12
      Figure 12. - Confirmation of the IP address settings
       
    10. Press the Enter key to confirm IP setup of DRBL: (See Figure 13.)

      SLN303956_en_US__19Clonezilla-13
      Figure 13. - Confirmation of the DBRL Server settings
       
    11. Select 1 for DRBL Single system image (SSI)
    12. Select 1 for Clonezilla Box mode
    13. Select a location to store images (/home/partimag in this example) (See Figure 14.)

      SLN303956_en_US__20Clonezilla-14
      Figure 14. - Selection of the image storage location
       
    14. Select Y to create a swap partition
    15. Select 128 for the swap size
    16. Select 1 for Graphic Mode
    17. Select 0 for Normal Login
    18. Select N to skip setting the root password on clients
    19. Select N to skip a PXE boot password
    20. Select Y to set the boot prompt for clients
    21. Select 70 as the boot prompt timeout
    22. Select Y to use graphics background (See Figure 15.)

      SLN303956_en_US__21Clonezilla-15
      Figure 15. - Selection of the Graphic user menu
       
    23. Select Y to allow audio, CD-ROM, floppy, video, etc..
    24. Select N for public IPs for clients
    25. Select Y to allow terminal mode
    26. Select Y to run DRBL as a NAT Server (this will allow Internet access from imaged units to pull updates)
    27. Watch for a finished message, press the Enter key. (See Figure 16.)

      SLN303956_en_US__22Clonezilla-16
      Figure 16. - Press the Enter key to continue
       
    28. Select Y to overwrite firewall rules (See Figure 17.)

      SLN303956_en_US__23Clonezilla-17
      Figure 17. - Yes to overwrite the firewall rules
       
    29. Watch for a final finished message and reboot the server: (See Figure 18.)

      SLN303956_en_US__24Clonezilla-18
      Figure 18. - DBRL server setup is completed, restart the system
    1. Start clonezilla with the command: Run "# dcs" then press the Enter key.
    2. Select All then press the Enter key.(See Figure 19.)

      SLN303956_en_US__25Clonezilla-19
      Figure 19. - Select, All Select all the clients
       
    3. Select "Clonezilla-start" then press the Enter key.(See Figure 20.)

      SLN303956_en_US__26Clonezilla-20
      Figure 20. - Selection of the clonezilla-start Start Clonezilla Mode
       
    4. Select Beginner then press the Enter key.(See Figure 21.)

      SLN303956_en_US__27Clonezilla-21
      Figure 21. - Selection of Beginner mode: Accept the default operations
       
    5. Select select-in-client then press the Enter key.(See Figure 22.)

      SLN303956_en_US__28Clonezilla-22
      Figure 22. - Selection of select-in-client Choose save/restore in client ..
       
    6. Select "default Clonezilla" then press the Enter key.(See Figure 23.)

      SLN303956_en_US__29Clonezilla-23
      Figure 23. - Selection of -y1 Server always provides clone mode -  default Clonezilla
       
    7. Select "choose" then press the Enter key.(See Figure 24.)

      SLN303956_en_US__30Clonezilla-24
      Figure 24. - Selection of Choose in client when the clone finishes
       
    8. Imaging is ready to start

      SLN303956_en_US__31Clonezilla-25
      Figure 25. - Imaging is ready to start
       

Imaged System Side Setup for Clonezilla.

  1. On the system you want to image, with PXE Boot enabled in the BIOS, boot to NIC by pressing the F12 key at the Dell Splash Screen.
  2. Select Clonezilla from the boot option list using the arrow keys then press the Enter key (See Figure 1.)

    SLN303956_en_US__32Clonezilla-system-1

    Figure 1. - Selecting Clonezilla from the PXE Boot Menu
     
  3. Select the device-image option using the arrow keys then press the Enter key (See Figure 2.)

    SLN303956_en_US__33Clonezilla-system-2
    Figure 2. - Selecting device-image option from the Clonezilla Menu
     
  4. Select the Beginner option using the arrow keys then press the Enter key
  5. Select save disk option using the arrow keys then press the Enter key (See Figure 3.)

    SLN303956_en_US__34Clonezilla-system-3
    Figure 3. - Selecting save disk option from the Clonezilla Menu
     
  6. Type a name of your choice for the image the press the Enter key. (See Figure 4.)

    SLN303956_en_US__35Clonezilla-system-4
    Figure 4. - Naming the image in the Clonezilla Menu
     
  7. Select sda or nvme0n1 (depending on the source disk being used) then press the Enter key (See Figures 5 & 6.)

    SLN303956_en_US__36Clonezilla-system-5
    Figure 5. - Selecting nvme0n1 in the Clonezilla Menu

    SLN303956_en_US__37Clonezilla-system-5a
    Figure 6. - Selecting sda in the Clonezilla Menu
     
  8. Select skip checking file system using the arrow keys then press the Enter key
  9. Select skip checking the saved image option using the arrow keys then press the Enter key
  10. Select do not encrypt the image using the arrow keys then press the Enter key (See Figure 7.)

    SLN303956_en_US__38Clonezilla-system-6
    Figure 7. - Encryption is not selected
     
  11. Press the Enter key to continue
  12. Wait for a confirmation to appear. (See Figure 8.)

    SLN303956_en_US__39Clonezilla-system-7
    Figure 8. - Confirming that you want to continue the imaging process
     
  13. Press the Y key to continue, then press the Enter key to start the imaging process. (See Figure 9.)

    SLN303956_en_US__40Clonezilla-system-8
    Figure 9. - Clonezilla imaging process running
     
  14. There will be a kernel message that imaging was completed on the server.

Article Properties


Last Published Date

21 Feb 2021

Version

3

Article Type

Solution