Creating a Live USB drive

LiveUSB

Introduction

Using a bootable Live USB device is perhaps the most popular way to install Calculate Linux. We suggest different software to create a Live USB with Calculate Linux on board, depending on the operating system you already have on your computer. A CL Live USB can be indeed created on Windows, Linux/BSD and, surprise, Calculate Linux. Learn how.

Note

To boot from a Live USB, you must select it from the Boot Device list when starting your computer.

Creating a Live USB on a Windows system

If you have been a Windows user, you can run the free Rufus software to create a Live USB. Go to https://rufus.akeo.ie/ to download the latest version of Rufus.

Now start Rufus and select your USB drive from the device list, with the following settings:

Rufus_1

Нажмите на кнопку выбора образа рядом с пунктом "Метод загрузки" и выберите ISO-образ Calculate Linux.

Once the ISO image selected, click on the "Start" button.

Then you will be prompted for the mode of writing to the media. Select "Write in ISO image mode"

Rufus_2

Writing will begin immediately.
Once this completed, your Live USB will be ready for boot-up.

Creating a Live USB on a Linux/UNIX system

The simplest way to burn a Live USB drive is to use the dd tool.

Insert the USB drive and check the name of the device:

lsblk -dp

NAME     MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
/dev/sda   8:0    0 111.8G  0 disk 
/dev/sdb   8:16   1  14.7G  0 disk 

If you do not know the device name, look at the SIZE column showing the size, and at RM, which shows whether the device is removable (1) or not (0). Your USB volume must be unmounted. Look at the MOUNTPOINT column to check it.
In the example below, the USB drive name is /dev/sdb.

Go to the directory where your Calculate Linux ISO is stored and run the following:

dd if=cldx-17.12.2-x86_64.iso of=/dev/sdb

Where:

  • cldx-17.12.2-x86_64.iso stands for the ISO image,
  • /dev/sdb stands for the device name.

Creating a Live USB on a Calculate Linux system

Besides dd, we cl-install-flash. Features:

  • The FAT32 filesystem is used.
  • Support for burning an image without formatting the USB drive

Using the Fat32 file system will allow you to add files to Flash, update the system image, provide for multiple boot.

First do the necessary partitioning. To do so, first run:

fdisk /dev/sdb
Welcome to fdisk (util-linux 2.30.2).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.

Command (m for help): n
Partition type
   p   primary (0 primary, 0 extended, 4 free)
   e   extended (container for logical partitions)
Select (default p):

Using default response p.
Partition number (1-4, default 1): 
First sector (2048-30871551, default 2048): 
Last sector +sectors or +size {K,M,G,T,P} (2048-30871551, default 30871551

Created a new partition 1 of type 'Linux' and of size 14.7 GiB.

Command (m for help): w
The partition table has been altered.
Calling ioctl() to re-read partition table.
Syncing disks.

To list all available devices, run:

cl-install-flash -d list

Installation disk:
[/dev/sda1]  /dev/sda1 (ATA KINGSTON SV300S3)
[/dev/sda2]  /dev/sda2 (ATA KINGSTON SV300S3)
[/dev/sda3]  /dev/sda3 (ATA KINGSTON SV300S3)
[/dev/sda4]  /dev/sda4 (ATA KINGSTON SV300S3)
[/dev/sda5]  /dev/sda5 (ATA KINGSTON SV300S3)
[/dev/sdb1]  /dev/sdb1 (UFD 3.0 Silicon-Power16G)

In the example above, /dev/sdb1 is the USB drive.

Now run the following command:

cl-install-flash --iso cldx-17.12.2-x86_64.iso -d /dev/sdb1 --format

Installing on Flash
* Installation image: Calculate Linux Desktop Xfce 17.12.2 x86_64 20180219
* Disk for installation: /dev/sdb1 (UFD 3.0 Silicon-Power16G)
* Format USB Flash: yes

Run process? (Yes/No): yes
* Formatting the partitions ...                                                                                            [ ok ]
* Unpacking the system image to the target ...                                                                               [ ok ]
* Configuring Flash installation...                                                                                   [ ok ]
* Preparing the system for reboot ...                                                                                [ ok ]
* Unmounting the target system volume ...                                                                           [ ok ]
* System successfully installed!