Cloning/Imaging Hard Disks with Clonezilla Live
HTML-код
- Опубликовано: 28 авг 2024
- Clonezilla Live is a fantastic tool for cloning hard disks for backup or redeployment. In this video, I show off the process of taking an image of a Windows installation, and restoring it. This process works with Linux and other operating systems too.
Keep in mind that if you plan on creating a Windows image for use on multiple machines, you'll need to utilize Sysprep or similar first, which is beyond the scope of this channel.
🙌 Support me on Patreon and get early access to new content!
➡️ learnlinux.lin...
☁️ Get $100 in credit toward deploying your very own Linux servers on Linode!
➡️ linode.com/lear...
🛒 Affiliate store for Linux compatible hardware/accessories (commission earned):
➡️ learnlinux.lin...
💻 Check out the Tiny Pilot KVM for your Homelab (commission earned):
➡️ learnlinux.lin...
🐦 Follow me on Twitter!
➡️ learnlinux.lin...
💬 Official LearnLinux.tv Community:
➡️ community.lear...
📖 Check out jay's latest book, Mastering Ubuntu Server 3rd Edition. Available now!
➡️ ubuntuserverbo...
Download Clonezilla Live:
clonezilla.org...
👨 More about me:
➡️ www.jaylacroix...
➡️ www.learnlinux...
💽 How to create a bootable flash drive for installing Linux:
➡️ linux.video/fl...
🐧 Which distro do I use?
➡️ learnlinux.lin...
🔐 How to better secure OpenSSH:
➡️ linux.video/se...
☁️ How to create a cloud Linux server with Linode:
➡️ learnlinux.lin...
Music used in this video:
Fine Line - Geographer
Support by RFM - NCM: • Video
Lounge - Bensound
www.bensound.com
Choose Me (Instrumental Version)
Spring Gang
I have used Acronis for a long, long time. It allowed me a bootable system that was easy enough to teach my noobie technicians how to run. However, it only did Windows. I am going to give Clonezilla a shot to backup my Arch install on my laptop. I am not sure how well it will handle BTRFS partitions and subvolumes, but I have a backup of my /home folders and I can easily reinstall if I screw it up. If it works as well as I expect it to, I can simply do an image of the drive on the 1st of each month, a save of my /home folders once a week and feel pretty safe.
Thank you Jay for the work you put into getting these videos out for us.
CloneZilla is a great tool. I used it to deploy a Linux image to 600+ laptops for a project I was a part of a few years back. I did the server install of CloneZilla for that project, as it made more sense than using the Live option. I remember it was a bit tricky to set up, but thanks to some RUclips videos, I managed to get it working. In fact I think I used your guides from 2013 to help me set it up, so thanks. =)
I would like to see an updated version of the server install guide, as I've been meaning to install CloneZilla on my ProxMox server.
Can the image be deployed or installed on different model laptops from the type it was created on? Example: I backup image from a lenovo l380. Can I restore this backup image to a different laptop like a lenovo l13?
@@MichaelWeston82 Yes, that should work fine.
wow seems like you had a bit of a challenge :D
Your video was EXTREMELY helpful! Thank you so much for your video. I watched multiple videos about imaging and yours was the best one and easiest to understand. THANKS A MILLION! you are a life saver!
I agree with Ashley. I've watched other Clonezilla videos on RUclips and this was the easiest to understand. Great job!
Anyone complaining that this dude didn't cover saving to drive or USB, 5:42, he did. Just select this option and proceed through the prompts. It'll ask you for info on what drive you want to save it to, thus, select your USB or what ever desired drive. Skip the authentication/setup with his fileshare and pick up again at 10:07.
You just have to ready, guys.
thank you for this video. RUclips channels for linux should do more videos like this and less for new distros or newer release of a known distro. These kind of video will help much more to make linux more known and adaptable.
Very good explanation, and right to the point of what I am about to do. Turn my old physical FreeBSD UFS disk to VM. I will just use Clonezilla to do all the heavy lifting.
Good video I suppose, if i wanted to use a Samba server. I just want to clone from PC harddrive to usb hard drive; Name of video was a bit misleading.
Very good video. Explains how to use clonezilla effectively. Thank you.
Thanks! Great video! But you shouldn't under any circumstances use smb 1.0 as chances are good that it's disable on the host due to security reasons! So use 1.3 or 1.2
Good to know, thank you.
Thanks. I will look for an image to disk tutorial (1st option).
Beware Clonezilla is a project currently being supported by a small number of people and in part time. I recently reported a problem with drive to drive cloning, the execution halting due to wrong detection of partition size. I had to post messages several times during two months to get a short reply, stating it should be a kernel problem with the current Clonezilla releases, as an year old release didn't have that problem (it had other problems such as with gpt hard drives). Don't count this program as 100% reliable, just because it is here for several years and it is well known.
Hi , same as @gwenWalcott i have used Clonezilla for years and years , great for just one clone even better for a clonzilla sever and image many machines. i used this in both personel use as well as commercial use above other enterprise options. Its a Fab product . Great video , as always the volume is right , as is the pace and language used. Well done.
Your video was EXTREMELY helpful! THANK YOU! One question, please. How can I restore an image to a smaller SSD? I'm sure the data will fit. The OLD ssd is 128Gb, the NEW ssd is 120GB. The image is 7Gb.
Have you ever tried to create an image using CloneZilla then restore to different hardware? I tried to to that for my proxmox server then restored in a virtual box vm and end up with grub recovery which complains about different uuid of the disks
this was awesome. your Soo clear and easy to understand. thank you
Super helpful tutorial video, thank you!
when restoring to an SSD, is there any chance to end up with a not aligned restoration? thank you for all of your helpful content!! also, an XL gratitude to Clonezilla programmers!!
Thanks
which option I should choose to backup certain partitions on my laptop's hard disk saved as an image file on an external USB hard disk
Separate partitions will be saved in a folder regardless of whether you choose the whole disk or selected partitions.
Excellent video, Jay!!!😀
Cool video 📹! Thanks Jay!
thanks. i never got Clonezilla to work. this guide helped.
Very helpful! I was able to image an old WinXP drive that I still use for old software and was difficult to find drivers and configure correctly. Now if something happens to the 15 yr old hard drive I can restore the image to a new drive. Is there any way to open the image or see a manifest of everything contained in the image? THanks!
is it possible to clone a "LARGER" drive to a [smaller one?] if i had 100 and used 25 and then went to a 50 could it do this? i suspect you would use image to image? using Gpated to adjust the disk space and clonezilla to dup?
I've had mixed results with Clonezilla, mainly with the restored image not booting. I seem to have better luck with dd.
I had the same problem with CZ. Acronis never failed me :)
Thanks You a lot Jay awesome Tut !
Question: IF your system has a hard drive with bad sectors and errors in hard drive. Would you copy all these issues to the new drive that you have?
This was so helpful.
Hi, Thank you so much for your help, can I just ask; for the clonning of hard drive as a disk image (.iso) option, when cloning it, will it copy the entirety of my hard disk? (Say I have a 500 GB SSD and I've only used 100 GB, will it clone the entire 500 GB or only the 100 GB that has been used as the .iso file?)
Thank you again for your help!
I have a distrust of such programs like `Clone Zilla`. Also the modern way to clone the system is don't use images. The Mac OS system administrators are recommending to use only installers for system installation.The file based cloning also prefer way to do on Windows platform. You are not limited by size for hard drive in this case. Do you know such way for Arch Linux? Is it possible to clone configured system by booting from Arch Linux installer? Thanks
I'm not sure I understand, this method is completely valid. MacOS sysadmins have their preferences like anyone else, but their opinions and best practices are not industry wide. Everyone an use whatever method works best for them. As for cloning Arch Linux via the method you subscribe, you could simply just use dd over your LAN but that's outside the scope here.
Jay, this is not a knock against your videos which are excellent. Dimi was trying to point you in a more modern direction. Linux is stuck in the 1990s with horribly antiquated backup solutions. It is the Achilles heel of Linux ever gaining more than niche status.
What a shame. 😢 I have been loving Mint, Fedora and Pop!_OS, but sector-level backup means none of them can be more than a toy.
I need reliable and convenient bootable backups. Sector-level backups does not make the cut. That may have been acceptable back in the day of 3.5 inch floppy drives (because we didn’t have anything better) but it is not acceptable for systems coming with multi-TB drives in 2022.
PS, yes - I am relatively new to Linux, and yes - I know about and use TimeShift. The issue here is making bootable backups, and it’s about efficient use of one’s limited time.
As the name implies, Clonezilla is a return to the dinosaur age.
Hi nice video using Clonezilla I can convert a physical server to a VM in Proxmox VE
thank for tutorial. since i have done clone laptop to PC, but i am struggling how to connect the WiFI or LAN into new device.
Great video !
@LearnLinuxTV
Will this process work to backup a Ubuntu desktop system and restore it to a proxmox vm ?
Thank you, Jay.
Nice video bro
I see you don't use a camera so how you record from real machine :)
Instead of restoring to another device. Could I create a bootable live ISO? That way I can take my current environment with all it's settings with me anywhere and run a live ISO of it anywhere.
Is there a way to move an image captured with the FOG server to Clonezilla? In case if you need to deploy that image from a USB flash drive when you don't have access to the FOG server(ex. remote location )
Good question, I haven't used FOG yet, unfortunately.
Mine has different options?
Is there a way to modify the usb key live
With some default values or like change the options in the .bashrc file?
Hi Jay, i have 30 computers to clone over the network, on this video i only saw you save an image of the hard drive and restore it, how do we send the image to multiple computers so that the boot from the NIC get cloned.
Nice. Compare against other products: Speed, compression, issues...
thank you so much
give a list of clonezilla videos you have done im not using a server just a desktop Ubuntu 16.
Thank you for the excellent video. I tried Clonezilla, after cloning Proxmox hard drive the cloned drive does not boot, any suggestions?
What if I want move all partition to second drive but I do not want make iso. I see partition but I can only choose one to move hmm then what to do, if I want move all partition to other disk to put this new disk to new PC and normally run system.
Thank you for this excellent video.
Does Clonezilla change the SID of the image everytime it is restored to another PC.?
If you're referring to Windows as I suspect you are, then no, it doesn't. You'd need to Sysprep first.
Which version of Clonzilla you have used?
ok then how to go back, lets say i install something else on the on the laptop like ubuntu then i want to go back to windows which i clone to the external hard drive.
Hi do you know for sure if clonezilla will accomplish this or how to do the following. 10x failed with 2 different clone tools. Trying to clone older ide ssd w/win 2000 to a hdd Sata blue screen thx
Can I restore this image in VM in VMware??
THANK YOU for this--- I always LOVE your videos and learn a lot -- you teach so precisely and Accurate- but make it SIMPLE too... helps old farts like me catch on.. ha.
i have been using this brand new to imaging i can create/restore an image on an external drive but i am having trouble with trying to use this software to try a configure the restore point from an image i have saved on the network and it is not working. i have been trying to follow along with this video but its not working. Can anyone assist me thanks john
my laptop ssd is encrypted, is the process the same?
Thanks JaSON TWA
I want to clone my current distro to a flash drive stick so I can install another distro, and just in case i don't like the new distro, I'd flash my old distro back. Why did you have to use samba? :/
Then instead of using samba, just select to save it to a drive, then select the the usb device.
using samba is like a rocket science , its never work when you trying to join linux 2 windows .. how the hell did you managed to make it work ?
I'm curious whether this is accessible for blind users? I tried looking on the website for information, but could find none.
how could it possibly be?
Ok, for instance, I’ve created a new backup image of my Linux system. Having fun and etc.. Decided to resize my partitions - System, swap or main data partition with all my stuff...and I forgot to create a new backup image after resizing. Suddenly system failed. So, now I can wipe my ass with early created backup image?? Jay, could You please make a video about parted utility ( non GUI one). Thank You for your work!
So this is basically an clonezilla server ?
I want to migrate my Manjaro OS from my current laptop to new laptop with same customisation, setting, programs etc.
Is it possible?
Yes, clonezilla is crossplatform so it works with a variety of OS....
Hello everyone here,
I'm looking to replaced my hdd with a ssd m.2 but just to boot up and run app and the hdd in now planning to used as storage . I have windows 10 can I clone with this program? If so after cloning what it be next setup on bios ? How do I make sure it did work do I disconnect the hdd now to see if it did? Please someone help.. thank you
You look much better with more weight (2022)!
🔥
How do you record a video of your "Select Device" screen? I mean, the OS has not started yet....
He used a video capture external card like this one here for example : www.amazon.com/Capture-Recorder-Device-Streaming-Windows/dp/B082FXB4SM
@@random_user3719 Thanks!
Umm ... why do you need hard disk images on Linux, exactly? The OS doesn’t care about the precise layout of its files on disk. Just do a file-level copy, and you can restore from that, too. Let me recommend rsync as a robust file copy tool that can cope reliably with hundreds of gigabytes of data, working across (possibly unreliable) network connections etc. It has clever tricks like deduping, being able to make an incremental backup that looks, for restore purposes, like a full backup.
For example, to move a Linux install to a new hard drive, just copy the files across, re-setup the boot loader, edit /etc/fstab for the changed device names, and that’s it. I’ve upgraded hard drives countless times that way, and never had to reinstall.
There are multiple ways of doing the same thing, that's always the case. This way might be preferred by some or a file-level method might be preferred by others. There are many different tools/methods.
@@LearnLinuxTV The file-level method is the most versatile. It lets you change volume sizes, partition layouts and filesystem types as you go. It works with existing file-manipulation tools.
Sure, I use dd for things like copying a SystemRescueCD image download onto a USB stick. But for managing my important data and my OS installations, disk imaging tools are just too inflexible.
Isn't this basically what SNAPSHOT does??? (just wondering.. as I've not figured out exactly how to use snapshot either. Some distros snapshot will make an iso- and others it won't.. confusing to me (us old farts.)
It's a great and helpful but it would be PERFECT if you didn't use a SMBS server.
I got scared at 3:18, i thought my pc gone jaywire
I am sad. I cannot seem to make a disk image from my laptop and then restore it into a VM. I'm pretty sure this technology can't restore things to a different disk. sad face.
too complicated, too many clicking on a terrible GUI, useless!
I understand that it's free and such. but this software reminds me of the 90's and why I hate Linux.