Está en la página 1de 7

Inhoudsopgave

1 Creating a bootable USB-drive........................................................................2

1.1 Downloading the CloneZilla files..............................................................2

1.2 Creating the bootable USB-drive..............................................................2

2 Creating the image......................................................................................... 4

2.1 Using the Clonezilla software...................................................................4

2.2 (Temporarily) removing the root password...............................................4


1 Creating a bootable USB-drive
In this part of the document you will find an explanation/description of how to
install CloneZilla on a bootable USB-driveso we can use it on the UP-board.
1.1 Downloading the CloneZilla files
To start off, you will need to download the files that are necessary to use the
program CloneZilla. You can find these on their website:
http://clonezilla.org/downloads.php
Always pick the stable version because the beta versions might be unstable.
Make sure you save these files in an easily accessible location. After the
download has finished you will have a .zip file in which the software is
compressed. Use a compression tool like WinRAR, 7-zip or WinZip to extract these
files. I personally recommend the use of 7-zip. Make sure you choose the
option Extract to *filename* or Extract to... otherwise you will have a
lot of separate files.
In my experience I unpacked the clonezilla-live-2.5.0-25-amd64.zip file into the
clonezilla-live-2.5.0-25-amd64 folder. Once the program is done unpacking you
will have all the files stored neatly into a folder.
1.2 Creating the bootable USB-drive
Afterwards, its necessary to create a bootable usb-drive that can be recognized
by the UP-board.
CloneZilla is about ~200mb in size so any USB-drive should/will do.
Things to look out for:
- The USB-drive HAS to be formatted to the FAT32 file system, otherwise it
will NOT be recognized.
To create the bootable usb-drive you will have to copy all of the files you have
unpacked previously onto the USB-drive. Pay attention: Whats meant here is
that you have to copy all of the files INSIDE the folder you extracted
earlier, NOT the folder itself.
Once the system is done copying all of the files to the USB-drive you need to
navigate to the utils folder that is located inside the USB-drive followed by
either the win32 or win64 folder, based on your operating system.
Within this folder you will find three different files:
- Makeboot64.bat
- Syslinux64.exe
- VERSION.txt
Right click the Makeboot64.bat file and Run as administrator.
!!!AT THIS POINT MAKE SURE YOU OPENED THE FOLDER THATS
LOCATED ON THE USB-DRIVE!!!
Accept the UAC prompt and you will open up a CMDlet that shows you a couple of
warnings. Simply keep pressing enter until it says the USB-drive is now bootable.
2 Creating the image
2.1 Using the Clonezilla software
Using the bootable USB-drive we have created earlier in this tutorial you can now
boot Clonezilla on the system which has the image you would like to clone. To
actually create an image you can follow the steps on the officia Clonezilla website
which you can find here:
http://clonezilla.org/show-live-doc-content.php?topic=clonezilla-
live/doc/01_Save_disk_image
Some things to look out for:
Important: Make sure there is NO root-password set on your up-board
during the creation of the image. Steps to temporarily remove this
password are found in Paragraph 3.2.
- To save an image on a USB drive you will have to insert a second USB-drive
which is also formatted to the FAT32 file system.
- Make sure the USB-drive that should contain the image is atleast 16GB in
size for a typical UP-board.
- After the step where you have to choose local_dev you need to point
towards the Repository of the images. In our case this would be the
second usb-drive

If youve followed all of the steps that are written down on the clonezilla website
tot he letter you will now have a cloned image of your UP-board thats saved on
the second USB-drive. This is the image you will use later on for any new up-
boards or back-up purposes.
So make sure you put this somewhere SAFE.
2.2 (Temporarily) removing the root password
To remove the root password you will need to login as an Administrator on the
linux installation. Afterwards you have to enter the root account by entering the
following command:
sudo su
This command will tell you to enter the root password so make sure you do this.
After that you have to type the following command:
Sudo visudo
What this does is open a text-file which specifies all of the sudo-users. In here
you will find a couple of text lines in which you have to change the following line
in order to remove the root password:
#Allow members of group sudo to execute any command
#sudo ALL=(ALL:ALL) ALL
Change this line to this:
#Allow members of group sudo to execute any command
#sudo ALL=(ALL:ALL) NOPASSWD: ALL
Now save this file by pressing CTRL+O and then close it by pressing CTRL+X.
With these steps the root password should not be asked anymore when trying to
become root.
To change this back to the original state you simply have to remove the text
NOPASSWD: out of the file, save it and exit.