Step 2: Sanitizing a Laptop

This section describes the second step, where you will learn how to sanitize a laptop and install the Labdoo's educational package. Keep reading by clicking on the menu below to discover how.

Creation of a Labtix Bootable USB

1. Download Labtix.iso

Start by downloading and installing the FileZilla FTP client application from this link: https://filezilla-project.org/

Then, open FileZilla and connect to the Labdoo FTP server using these parameters (see also Figure 1):

Host: sftp://ftp.labdoo.org (this link can only be open once in FileZilla)
User: labdoo
Password: labdoo
Port: 22


Figure 1. Use the parameters shown in this screenshot to connect to the Labdoo FTP server with FileZilla.

In the 'remote site' window of FileZilla, go to the folder /install-disk. In this folder, you will find the file Labtix.iso. Right-click on this file with your mouse and select the option 'Download'. That way the file Labtix.iso will be downloaded to your local computer.

2. Create a bootable USB with Labtix.iso

Download the Universal USB Installer from this link: https://www.pendrivelinux.com/universal-usb-installer-easy-as-1-2-3/

Run this application by double clicking on the downloaded file. You will see the following screen, where you will need to accept the license agreement:


Figure 2. Download and run the Universal USB Installer and accept the license agreement.

Next, insert a blank USB pendrive into one of the USB ports in your computer. We recommend to choose one with at least 2GB of storage. Note that all the data you had previously saved in the pendrive will be erased, so make sure to have a backup copy.

Then, fill in the fields in the next screen by using the parameters that appear in the next figure. As the screenshot shows, in the field Step 2 please select the Labtix.iso file previously downloaded and then select the corresponding USB pendrive in Step 3:


Figure 3. Use the parameters shown in this screenshot to create the bootable USB pendrive.

Continue by accepting every following screen as shown in the next figures:


Figure 4. Accept this screen.


Figure 5. Accept this screen as well.

That's it. Now you have a bootable USB pendrive with the Labtix ISO. Go to the next wiki page to continue with the sanitation process.

Downloading the Labdoo Images

Tags: 

In this step, you will need an external hard drive where you will be downloading one or more Labdoo images from the Labdoo FTP server. We recommend choosing a hard drive with at least 100GB, although one with a larger capacity (e.g., 200GB, 500GB or 1TB) would be even better in case you wanted to download some of the larger images.

Start by connecting again to the Labdoo's FTP server using FileZilla (see the previous section for a description on how to do this).

Then, go to '/'. In this location, you will find multiple directories of the form XX_images, where XX indicates the language of the image. Each of these directories contains multiple images organized by size. For instance, inside the English images directory 'EN_English_images', you will find the directory 'PAE64_20_04_LTS_EN_160'. The name of this directory lets us know that we are facing a (PAE) 64-bit image based on Ubuntu 20.04 LTS, with English as the default language and with a total of 160GB of educational content. The size of the file, 160GB in this case, corresponds to the minimum size that the hard drive must have in order to be able to store this image.

Make sure that, in the field 'Local site' , you select the external hard drive where you want to download the images.

Now go ahead and download the image that you are interested in. For instance, if you are interested in downloading the image 'PAE64_20_04_LTS_EN_160', the one we mentioned above, travel to the directory '/install-disk/EN_English_images/', right-click on the directory 'PAE64_20_04_LTS_EN_160' and select the option 'Download'. The image will be automatically downloaded to your external hard drive. Download as many images as you need, provided that you have enough space in your external hard drive. Note that the process of downloading one or more images could take a significant amount of time, depending on the speed of your connection.


Figure 1. Directory structure where you can find all the Labdoo images.

Installation of the Labdoo Image Using Labtix

Plug the Labtix Bootable pendrive into one of the USB ports of the computer that you want to sanitize. Start the computer and verify that the Labtix software boots correctly. If it does, the following screen will show up:


Figure 1. Initial Labtix screen when a computer is booted.

If you don't see the screen shown above, it most likely means that you need to modify the boot order to make sure the computer properly loads the Labtix software stored on the USB pendrive. In this case, please follow the instructions on this wiki page to change the boot order of the computer and ensure that the USB pendrive is selected as the first boot device. After doing this, reboot the computer and, if the screen shown in figure 1 finally appears, you will know that Labtix is correctly booted.

Upon reaching the screen in Figure 1, select the first option "antiX" and press enter. This will take you to the next screen:


Figure 2. Once in this view, double-click on the icon 'Labdoo installer'.

Note that in the upper-right corner of the screen you will see a summary of the key parameters extracted from the laptop. It includes the following information:

  • Vers: the version of the Labtix software that you are using. In Figure 2, this value is '1.01'.
  • CPU: the type of CPU (32-bit or 64-bit). In Figure 2, this value is '64 Bit'.
  • Boot: The name of the booting USB device where Labtix is running. In Figure 2, this value is 'sr0'.
  • RAM: The amount of memory in the laptop. In Figure 2, this value is '2703' MB.
  • Sdx: The name of the hard drive where the Labdoo image is to be installed and its size. In Figure 2, the name of the disk is 'sda' and it has '100GB' of storage.

In the screen shown in figure 2, make sure to enter the name of your computer's hard drive. This name is typically of the form Sdx (for instance, sda, sdb, sdc, etc.), but not necessarily; it depends on your computer. The actual name can be found in the 'Sdx' field located in the upper-right corner of the screen. For instance, in Figure 2, the name of the hard drive is 'sda'. To be sure that it is in fact the actual hard drive of your computer, you can double-click on the application GParted, which will show you all the drives attached to your computer.

Click on OK to go to the next screen:


Figure 3. Parameters needed to initiate the installation.

In this screen, you will need to specify the following parameters:

  • Shred: This option specifies the number of times the hard disk must be shredded prior to initiating the installation of the image. The operation of shredding consists in writing random zeros and ones everywhere in the hard drive to ensure any prior personal information is completely erased. Labdoo recommends setting this value to 3, so that three full shreds are carried out, ensuring that all existing information is erased.
  • Target disk: This corresponds to the name of the hard drive that you introduced in the previous screen (see Figure 2), which is the disk where the image will be installed.
  • Disk size: This field specifies the size of the chosen disk. This size will determine what image you can install, since you can't select an image larger than this value. For instance, in Figure 3, the size of the chosen disk (sda) is 100GB, so you need to make sure you don't install an image that is larger than 100GB.
  • Choose an image: In this step you will select the image to install. Click on this field, then select the option "Other...", and browse through the directory tree to select the image you want to install. In the directory tree, make sure you go to the external drive where you installed the images, and travel to the directory where you stored the image you want to use. Then, click "Open". This will populate the field "Choose an image": with the right path to your selected image. As mentioned in the previous parameter, make sure that the image you select is smaller than the size of the disk shown in the parameter "Disk size". By convention, the last value of the image name corresponds to its size. For instance, the image PAE64_20_04_LTS_EN_80 weighs 80GB, so you will need a disk with at least 80GB of storage.
  • Hostname:This field corresponds to the hostname that will be assigned to the computer after the image has been installed. By convention, please always choose a name of the form 'labdoo-XXXXXXXXX', where XXXXXXXXX is the 9-digit Labdoo ID of the computer you are sanitizing, which you had previously generated in the section 'Tagging a Laptop'.

After you have populated all the parameters above, click "OK" on all the following screens. Then the actual process of shredding and installation of the selected Labdoo image will initiate. Note that this process could take a while, even more than an hour, depending on the size of the disk and the size of the selected image.