Skip to content

Creating an Image of a Linux Environment

The .img extension is used for binary files that store raw disk images; this can be thought of as a snapshot of a drive, system, or environment at a specific moment in time. At the emd of the day, it's all just bytes stored either in memory (RAM) or storgae (SSD or HDD).

Types of images RAW (.img) qcow2 ISO?

Use lsblk Use fdisk to inspect a disk (do not use the w command within fdisk unless you're sure) fdisk -l /dev/nvme0n1 for example will list the details of the nvme0n1 disk and then exit

Tool stack dd + parted + mkfs.

This article is incomplete

ADDITIONAL RESOURCES