Software

How to Clonezilla to Windows NFS share

Clonezilla is a great free utility to create and restore images for both Windows AND Linux computers and it works very well.  So it gives you the flexibility to work with images across many platforms, making it the tool of choice especially if it is anything other than a Windows environment and using the WADK or WAIK is not an option.   There may be confusion among some about how to setup your Windows NFS share and how to point your Clonezilla boot environment  to the Windows share as a target to store your image.  In the screenshots and instructions below we will detail how you go about doing this by setting up NFS on your Windows server and then booting from the CD and pointing Clonezilla to the NFS share you created.

Setting up your Windows Server for NFS

Note – Below we are using a test Windows Server 2012 R2 server to setup NFS, but the actual setup screens for the folder haven’t changed from what we can tell from Windows Server 2008 R2.

  • You have to add the server role for NFS.  It is found under your File Server Services in 2008 and 2012.

servernfs1

  • After setting up the NFS server role service, you will have a new tab called NFS Sharing.  This is where we will setup our share to work with Clonezilla.

 

 

servernfs2

  • Set the NFS Share name.  Uncheck everything referencing Kerberos and leave the No server authentication, and Enable unmapped user access.  Then click on Permissions.

servernfs3

  • Under the Permissions setup, we need to set the type of access to Read-Write and then check the box Allow root access to enable Clonezilla to work with the share.

servernfs4

Clonezilla Live Boot Screens

clonezilla1 

 

clonezilla2

 

clonezilla3

 

clonezilla4

 

clonezilla5

  • Here we are choosing the NFS server option

clonezilla6

  • The first selection and version is the one that we want

clonezilla7

  • Enter the IP address of the NFS server

clonezilla8

  • Here we enter the directory with the forware slash “/” and then the directory name.  Remember the directory name is case sensitive so be sure and include any and all capital letters.

clonezilla9

  • Here we see the successful directory listing on our server

clonezilla10

  • Beginner mode should be fine here unless you want to tweak any of the options, but it isn’t necessary if you are strictly just wanting to capture an image

clonezilla11

  • Here we want to do an entire disk image

clonezilla12

  • Here is your opportunity to name the destination image name.  Making it something that makes sense is always helpful

clonezilla13

  • Here we are leaving the source disk source as is

clonezilla14

  • We are skipping automatic disk checking here especially since we are just running the Clonezilla image creation for testing purposes, however, if you run into any issues with capturing the image, this is a good place to start as we have seen a failed image capture corrected by letting Clonezilla run the disk check first.

clonezilla15

  • Again since we are just testing here, we skipped the disk check, but in a production environment where you want to make doubly sure the image is good that you captured, you definitely want to verify your image.

clonezilla16

 

clonezilla17 clonezilla18

 

clonezilla19

  • The image creation process gets going here.  You will see the progress of the image creation process along the way and you should see a successful capture message at the end.

clonezilla20

Final Thoughts

Clonezilla is a great utility to capture and restore disk and partition images especially for free.  This is definitely a tool that system administrators want to leverage in their toolbox of utilities for their environment.  While not being an end all solution in every environment or circumstance, it can certainly be used when needed or when the situation calls for it.  Also as you can see above, the setup of NFS is very quick and straightforward but can be confusing but hopefully the tips above will help get you past the point of any problems with NFS and getting your Clonezilla capture or restore pointed to your NFS server.

Subscribe to VirtualizationHowto via Email 🔔

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Brandon Lee

Brandon Lee is the Senior Writer, Engineer and owner at Virtualizationhowto.com and has over two decades of experience in Information Technology. Having worked for numerous Fortune 500 companies as well as in various industries, Brandon has extensive experience in various IT segments and is a strong advocate for open source technologies. Brandon holds many industry certifications, loves the outdoors and spending time with family.

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.