Burn ISO to USB in Linux

Burn ISO to USB in Linux

The purpose of this tutorial is to show how to burn an ISO file to a USB drive. USB drives have recently overtaken CDs and DVDs as the primary media of physically distributed software. It is now a common task for system administrators and normal users to install operating systems and software via USB.

Read more

USB token authentication on Linux

USB token authentication on Linux

This article describes a method how to use a USB memory device as an authentication token to log in into a Linux system instead of traditional password. This can be accomplished by use of Pluggable Authentication Modules ( PAM ) and some sort of USB storage device such as USB memory stick of Mobile phone with SD card attached.

Read more

USB stick encryption using Linux

USB stick encryption using Linux

If you were to ever lose your USB stick, all data stored on it will be lost. More importantly, your USB stick may end up in the hands of some other person, which will have access to your private files, and use that information in any way they please. This is one of many fears of USB stick users. One of the simplest solutions to this dilemma is to keep only non-private information on the USB stick. Obviously, this would defeat a primary purpose for the storage device.

Another solution is to encrypt your USB stick so it will be accessible only to those users who possess the correct password which will fit to decrypt the USB stick’s encryption. This article will deal with the second solution and that is encryption of a USB stick device. Although encrypting an USB stick seems to be the best and easiest solution, it must be said that it also comes with number of disadvantages. The first disadvantage is that decryption of the USB key must be done using a Linux system that has the dm-crypt module installed.

In other words, you cannot use your encrypted USB stick on any Windows machine and UNIX-like system with older kernels. Therefore, to encrypt only a part of the USB stick which holds only private information seems to be a good solution. In this article, we will go through the step by step instructions of encrypting part of a USB device on Linux. Read on to see how it’s done.

In this tutorial you will learn:

  • How to install cryptsetup on major Linux distros
  • How to partition a USB stick
  • How to encrypt a USB stick partition
  • How to mount encrypted partition

Read more

Writing Fedora ISO file to bootable USB key

How to create a Fedora Linux Live bootable USB key

A great feature of many Linux distributions is that you can create a live USB (or CD/DVD) key and boot directly into it. This allows you to try out an operating system, troubleshoot an existing installation, or install Linux onto the system’s hard drive.

Fedora is one of those distributions of Linux that allows us to boot into a usable environment directly from USB. In order to do that, we just need to write the Fedora installation file (.ISO format) to the USB thumb drive.

In this guide, we’ll go over the step by step instructions to create a Fedora bootable USB key via either command line or GUI. Follow along with us to get your USB key setup through Fedora’s Media Writer tool or the ddrescue command utility.

In this tutorial you will learn:

  • How to download Fedora and Fedora Media Writer
  • How to create Fedora bootable USB with Media Writer (GUI method)
  • How to create Fedora bootable USB with ddrescue (command line method)

Read more

OS Installation on USB drive with VirtualBox

VirtualBox virtualization software allows you to install any operation system directly to any attached block device such as USB stick/drive etc. This is actually a cool way to create you personalized Live Linux USB stick. This short “howto” describes how it works.
For the sake of this tutorial we will be using block device file name /dev/sdb to refer to our attached USB drive. First we need to create a raw vmdk virtual file disk linked to our /dev/sdb USB drive. As a privileged user execute the below command:

# vboxmanage internalcommands createrawvmdk -filename linux-live.vmdk -rawdisk /dev/sdb

Read more

How to shrink USB clone DD file image output

This article we discuss a procedure on how to shrink USB image made by dd command. Here is the example scenario. You have made four partitions with a total disk space of 3GB:

# sfdisk -l -uM ubuntu_USB.img
sfdisk: Disk ubuntu_USB.img: cannot get geometry


Disk ubuntu_USB.img: 950 cylinders, 255 heads, 63 sectors/track
Units: 1MiB = 1024*1024 bytes, blocks of 1024 bytes, counting from 0

   Device Boot Start   End    MiB    #blocks   Id  System
ubuntu_USB.img1         1     50     50      51200    b  W95 FAT32
ubuntu_USB.img2        51    150    100     102400    b  W95 FAT32
ubuntu_USB.img3   *   151   2650   2500    2560000    b  W95 FAT32
ubuntu_USB.img4      2651   3000    350     358400    b  W95 FAT32

Read more

Installing Manjaro Architect Edition

Install Manjaro Architect edition

When you download Manjaro, you can choose from quite a few different desktop environments, such as XFCE, KDE, GNOME, etc. But it’s also possible to forego a desktop environment altogether and install to disk from the command line version of Manjaro, which is known as the Architect edition. This will give the operating system a much closer feel to its ancestor, Arch Linux, which only has a command line installer available. You’ll still get to choose a GUI during the installation, if you’d like.

The main advantage of the Architect edition of Manjaro is that it gives users a lot more control over the installation process. You get to choose the best download mirrors, which drivers to install (free or proprietary), a desktop environment, shell, and more granular control over other options not normally available in the typical installers of some Linux distributions. It’s also a much smaller ISO file, since packages are downloaded from the internet during installation rather than being extracted from the ISO file as they are on GUI editions of Manjaro. This also means you get the latest packages available and your ISO file never becomes outdated.

In this tutorial, we’ll guide you through the process of installing Manjaro Architect edition. This guide assumes that you’ve already obtained the Architect ISO file and created a bootable USB drive or other form of installation media.

In this tutorial you will learn:

  • How to install Manjaro Architect edition

Read more

ventoy_logo

How to create a multiboot USB with Ventoy

An USB stick able to store, and let us boot from several Linux distributions images is a very handy tool to have at our disposal. In a previous article we saw how to manually setup and create it from scratch; however, since such operation can quickly become tedious, in this tutorial we will see how to use Ventoy, a tool able to make all the dirty work for us.

In this tutorial you will learn:

  • How to download Ventoy
  • How to use Ventoy to setup a multiboot USB stick
  • How to test the multiboot device without rebooting with Qemu

Read more