Clonezilla Live

From Free Knowledge Base- The DUCK Project: information for everyone
Jump to: navigation, search

Software that can image and clone individual machines. Clonezilla Live can be used to image or clone individual computers using a CD/DVD or USB flash drive.

This page is a summary of the Clonezilla live site with additional notation and comment.

password

two accounts but only one direct login

  1. You can login as account "user" with sudo privilege, password is "live"
  2. You cannot direct login as root. Account "root" has no password set. 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.

install

All versions of Clonezilla live support machine with legacy BIOS. If your machine comes with uEFI secure boot enabled, you have to use AMD64 version of (either Debian-based or Ubuntu-based) Clonezilla live. So basically it ends up being clonezilla-live-2.6.4-10-amd64.zip that you will probably download, or a slightly newer version depending on when you read this.

1. For USB flash drive or USB hard drive - use the zip file (not iso)

2. For running as an application under existing OS - use the zip file (not iso)

You can do PXE server or Live CD also, but those are not covered here, go read about it on their web site.

3. Using GParted: DEVICE -> Create Partition Table (msdos), then PARTITION -> New (File System: Fat32) then Apply (CTRL + ENTER)

4. Using GParted: PARTITION -> Format to (Fat32) then Apply (CTRL + ENTER)

Close GParted and lets check to see if it worked:

# fdisk -l|grep sd..
Disk /dev/sdc: 14.6 GiB, 15640600576 bytes, 30548048 sectors
/dev/sdc1        2048 30547967 30545920 14.6G  b W95 FAT32

5. Mount the flash drive to your preferred mount point using your preferred method of mounting (or pull it out and stick it back in again if you use automount). My automount put it at

/media/nicolep/4C2D-9F35

6. Unzip clonezilla-live-2.6.4-10-amd64.zip to /media/nicolep/4C2D-9F35 (Replace the zip file name with the one you downloaded if different, replace the /media path with the one your flash drive mounted to which will be different than mine)

7. Navigate to utils/linux on the USB flash drive from console and run their script with the correct flash drive device path and partition, for me this was /dev/sdc1

bash ./makeboot.sh /dev/sdc1

At the time of this writing instructions based on: https://clonezilla.org/liveusb.php#linux-setup

flash drive

Format flash drive

  • find where your flash drive is mounted

I simply use the command "fidsk -l|grep sd.." before I insert the flash and again after. It wont always be the same depending on the system and what other media is connected but as an example my flash is on /dev/sdc

remote access

When Clonezilla live boots, the ssh service is NOT automatically started. If you want to remotely ssh login into your Clonezilla live, you have to start ssh service by "service ssh start" from the host machine. Furthermore, the setting in /etc/hosts.deny does NOT block any connection so all you need do is start the service.