Cloning/Imaging Hard Disks with Clonezilla Live

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
[Music] hello again everybody I thought it would be fun to create an updated video on Clonezilla I've done a number of these in the past but every now and then it just makes sense to do an updated video and in this video I'm going to show you how to use Clonezilla live to take a backup image of your laptop or desktop and then I'm going to show you how to restore it this is great if you want to create a image of your computer with all your favorite applications or settings where maybe you want to create an image for deployment on multiple computers Clonezilla is an awesome solution for getting that done now before we get started I just want to mention that the method that I'm going to show you is going to be backing up and restoring images over the network which means you'll need a file share setup first and you could have a file server for example but you don't have to have one you could actually just use a another desktop or laptop as a server which basically just means it needs a shared folder you could use Windows and then create a shared folder on that system or if you have a Linux machine you could just create a Samba share now also what you'll need is a flash drive because again we'll be using Clonezilla live so I already have my flash drive prepared right here basically what you'll do is you'll download Clonezilla that comes in an ISO image and then you can use that ISO image to create a bootable flash drive using a tool such as etcher I'm not going to show you the process in this video because I already have a video that shows you how to create a bootable flash drive with that sure so go ahead and check that out if you don't already know how to do it so let's go ahead and get started I'm going to go ahead and open up my laptop here insert my flash drive and we should be good to go now here I'm running Windows on this laptop currently because I am setting up a Windows image so that anytime I show a dual boot video on my channel then I'll have a Windows image ready to go but it doesn't matter what type of operating system you are running on your computer it really shouldn't make a difference because Clonezilla can take an image of just about any so I'll go ahead and reboot you the flashdrive all right so basically what you do is you just access the boot menu on your device I'm actually recording this from real hardware this will not be recorded from a virtual machine and this is the boot menu on my computer right here and this second option right here is my flash drive I I don't know what that name means but I know it's my flash drive because I've gone over this process probably a hundred times now but you'll see your flash drive listed as something else you just basically choose that and press Enter Oh and then what you see here is the very first screen that you'll see when you boot from the Clonezilla flash drive now most of the time the first option is fine and if you don't press anything it will actually automatically choose that option for you one other option that I like a lot though is if you go down here to other modes of Clonezilla live and press enter the fourth option down allows you to start Clonezilla and copy the entire application to ram which means that you can actually remove the flash drive after it finishes copying which might be convenient to you just something I thought I would point out but I'll go ahead and go back and then I'll just choose the first option right here so what's going to happen is it's going to ask you several questions actually more than several as you go through here and I'm going to walk you through the process first of saving the image and then restoring it so the first screen is just basically asking you to choose your language so you just press enter on whichever one that is you can use the up and down arrow to make your selection my case it's defaulting to the u.s. keyboard layout and you could just basically press ENTER to accept that default or you could go down here and change your keyboard layout if you are using something else so now what we'll do is start Clonezilla now we get to choose what we actually want to do so on this screen we have several options now we're going to choose the first option which allows us to work with our disks and partitions using images just like it says another option worth noting is the second one we're here which basically gives you the option to copy from a disk directly to another disk this can be useful for example if you have a source disk that's set up exactly the way you'd like and then you have an empty disk that's plugged in for example another hard drive you could basically copy directly to that disk but we're going to choose the first option to work with images now here we have another selection screen if you haven't seen enough of those already the first option is worth pointing out because what that allows you to do is to use a local device like an external hard drive or another flash drive to use as the target to save the image on to that's very useful if you don't actually have a network share or the ability to create one you can even use SSH if you know how to do that which might be convenient but for us we are going to choose Samba server as the target for our images so I'll press Enter on that you so at this point it's asking me which network card I would like to use because Clonezilla knows that since I'm using a Samba server I'm going to need some sort of network connection to reach it now the first option is a standard Ethernet card and the second option refers to wireless now unfortunately in my experience Clonezilla doesn't handle wireless very well so I don't recommend that I always just reach for an Ethernet cable which is what I've done I actually plugged in an Ethernet cable into the laptop so we're going to choose the first option now you can get wireless working it's just overly complicated not very user friendly so I always feel like it's just better to go with the first option if you can so I'll press ENTER on that and then I'll choose DHCP and it should automatically get an address so at this point it needs to know what server or target machine is actually hosting the Samba share that we are going to be storing our images onto you can enter an IP address if you'd like but if you have DNS setup you can actually enter the name of the machine as well so what I'm going to do is back this out and my file server is just simply called storage I guess I wasn't very clever when I named it but that's what it's called now the reason why I'm able to put the name of the server here again is because I have a DNS server set up it knows which machine is called storage and will route me directly to that machine in your case either you could put the name here like I mentioned or the IP address of the target either way will work as long as it's a valid entry so I'll press enter now unless you are using some sort of Windows domain or something like that you probably don't need to put anything here so I'll just go ahead and bypass it and now it's basically asking me what the user account is for my file share if the target machine is using Windows you could just put in your Windows user name here and if you're using Samba on Linux you can just put in whatever the user name is for that now in my case I can put whatever username I want here because the file share the I'm going to use is completely wide-open so I'll just change it to something random to show you so I'll just say maybe I'm a Dalek whatever press ENTER now it wants to know what the target directory is for the Clonezilla image which is essentially the same as the shared name it defaults to images in my case I do have a file share named images this will work but if you name your file share something else just go ahead and put that name right here so I'll press enter and then for this I basically just press ENTER to accept the default and then I accept the default here as well by pressing enter now it's just giving you a heads up that you are about to be required to put in the password for the user that has access to that file share so I'll press enter and then here at the bottom it's asking me for the password now in my case like I mentioned my images share is wide open now it's not public and it is restricted by subnet and VLAN but for the purposes of this I don't actually need to press anything for the password I'll just press enter and in my case it was able to make a connection again the server name is storage in my case and the share name is images as you can see on the bottom of the screen and it shows that I have one point two terabytes available in that file share so I should have enough space to hold this image so I'll press enter now you can choose between beginner or expert mode I'm just going to choose beginner mode there's more options that you can do in expert mode but I'm not going to go over that right now I'm just going to choose beginner by pressing enter and then here what we want to do is choose the first option which is save disk now one thing that I want to point you in the direction of is the existence of this option right here which I'm not going to go over in this video but I wanted to give you a heads up that this is a possibility because what this option allows you to do is not only save an image but it allows you to create a zip file image that actually can be used to create a bootable Clonezilla that the image built-in so effectively you could create a bootable restored media for your computer that has Clonezilla and the image which allows you to skip pretty much most of these steps and just skip right to restoring the image which is actually pretty cool but I'm going to choose the first option to save the disk and now we'll give it a name so I'm just going to call mine Windows image you can call yours whatever you'd like I put an underscore there just because it's habit less Linux people we just seem to hate spaces for some reason but you can name your image whatever you'd like in a press Enter we'll get back to the video in just a moment but I wanted to take a minute to mention my sponsor and cloud infrastructure provider Linode Linode provides virtual servers that make it easy and affordable to host your own app site or project in the cloud whether you're a linux power user or just a beginner you can use Linode you can start from scratch and fully customize your server for any application or use the notes one-click apps to deploy game servers WordPress sites personal VPNs and much more you can even upload and run your own image Linode comes with amazing 100% human 24 by 7 customer support by phone or support ticket along with hundreds of Docs and guides to help you get started sign up to get $20 free on your new Linode account with the code learn Linux 19 or by signing up with a link in the description I really appreciate lynn Oates sponsorship of my channel they're awesome definitely check them out now let's get back to the video it's asking us which disk we would like to take an image of this computer only has one disk so I only have this one option and you'll notice that there is a star on the left side which basically means that that's the item that is selected again it's the only option but if you had multiple hard drives here you could use the up or down arrow to select which disks you would like to take an image from and then mark your selection by pressing space but I'll go ahead and press tab over to okay and then press Enter because this is the right choice I'm not going to go over this in any detail here but effectively if you can choose to run a file system checker on the source hard drive before you create the image if you'd like but in my case I'm just going to go ahead and press Enter now this first option here allows us to check the saved image I do recommend that you choose to do that yes it does add more time to the process of saving the image but what it'll actually do is after the image is saved it'll go back and it'll just double check that the image was saved correctly so at least you have the peace of mind to know that you have a valid image so I'll go ahead and choose that by pressing enter you can also encrypt your disk as well that's beyond the scope of this video I'll just press ENTER but I want to make you aware that this is actually an option at this screen it's asking us what we would like to do when the process is done we could tell it to automatically reboot when the image is saved or shut down I pretty much always choose the first option because I like to take a moment and just take a look at everything on the screen I don't want it to shutdown on me until I'm ready for it to do so so what the first option will do is just ask you after the image is saved what it is you'd like to do and then you can make your selection then so I'll press enter on the bottom it's basically saying press ENTER to continue so I'll press Enter you now it's basically just confirming that we do want to continue so I'll press apply and then enter and now it's saving the image you might see the progress bar go to a hundred percent more than once if you have more than one partition and having more than one partition is very common especially with Windows and some Linux distributions you'll probably have a recovery partition maybe a boot partition so it'll go to a hundred percent a couple of times before all is said and done you all right so at this point the image was saved successfully and now it's checking the image to make sure that it was saved properly so I'll go ahead and let this finish you all right so it looks like everything was successful near the top you can see the verbage all the images of partition or logical volume devices in this image we're checked and they are restorable and then it gets the name of the image so it looks like everything is all set so I'll press Enter so at this point it is giving us an option to power off or reboot the system now that saving the image was completed now what I'm going to do is choose the fourth option right here which will basically restart : Zilla and then I'll show you the process of restoring the image so essentially you would boot the computer from the flash drive again and then do what I'm about to show you to restore the image so I'll press ENTER on this and now we're back to the screen where we start Clonezilla so I'll press Enter just like last time we'll choose this first option right here to work with images again we'll choose Samba server and just like before we'll put in the IP address or the name of the server that is hosting our image files so I'll just back this out and put in storage because again that's my file server so I'll press Enter I don't have a domain so I'll skip that by pressing enter so on this screen it's asking again for the username that has access to the file share where your image was stored in my case it doesn't matter I could put whatever username I want so I'll just put in the doctor press Enter and again it needs the name of the file share it defaults to images like I mentioned earlier and that's true in my case I'll press enter enter again for the default version of the SMB protocol then enter again for security mode enter for this and then you put in the password of your user and in my case this is an invalid user doesn't matter the share is wide open anyway I'll press enter and again we have a successful connection enter again and just like before i'll choose beginner and where the process actually Forks or changes is right here because we want to restore the disk that we just saved so we'll choose the third option restore disk so here it's showing us all of the Clonezilla images that we have in our file share mine is the third one that's the one that I saved earlier so I'll press ENTER to restore that now it's asking us what the target disk is that will receive that image I only have one option anyway so I'll press ENTER now here it's asking us if we would like it to check the image before restoring and this could be a good option if you want to make sure the image is valid before you restore it in our case we did check the image when we saved it we should be fine so I'll go ahead and choose no and here it's asking us what we would like it to do when all is said and done and basically the first option again will just allow us to choose what to do after that so I'll just press Enter enter again you and it's asking us if we are sure that we'd like to continue because if we say yes here it will wipe out the disk in our computer and replace the contents of it with what's in the image and that shouldn't be a problem so long as you did actually choose the right drive but I'm leaving that up to you I'll press Y and then enter to continue it's giving us another disclaimer just to make sure that we really do truly want to do this so I'll press Y and then enter again to confirm you and here we go the image is restoring and again it will go to a hundred percent most likely a few times at least so just be patient and let the process continue I'll fast forward this and that I'll be back as soon as it's done you all right so it looks like everything is complete so let's go ahead and press ENTER and see if it actually boots so I'll choose the reboot option and let's see what happens you all right we have the weird windows swirly thing on the bottom of the screen so that's a good sign and there we go looks like this was a success so the process is all done you know I really love Clonezilla it basically allows you to set up your computer just the way you like it create an image and then you always have that image as a starting point containing all of your settings and favorite applications baked right in and then you just restore it if you ever need to couldn't be easier so I hope that was helpful for you guys and let me know what you think of Clonezilla and the comments below and I'll see you in the next video thanks for checking out my video I really appreciate it if you found it useful click that like button and if you haven't already done so make sure you subscribe so you'll see the latest content as soon as it becomes available if you want to help me out there's links down below for my patreon page as well as links for purchasing my Linux books and also my affiliate store which has a listing of linux compatible hardware that i've actually tested personally thanks again for watching and I'll see you in the next video
Info
Channel: Learn Linux TV
Views: 107,808
Rating: undefined out of 5
Keywords: LearnLinux, Linux, Tutorial, Review, Howto, Guide, Distro, Learn Linux, operating system, os, open-source, open source, gnu/linux, how to, clonezilla tutorial, disk cloning, hard drive, clone hard drive, how to clone hard drive, windows 7, windows 10, hard drive cloning software, clone ssd, how to clone ssd, how to copy hard drive, hard disk cloning, disk imaging, hard drive cloning, clonezilla, live, clonezilla live, deploy, clonezilla tutorial disk to image
Id: EW4_tqBaczw
Channel Id: undefined
Length: 23min 8sec (1388 seconds)
Published: Tue Jan 28 2020
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.