CertGrid CertGrid
Hands-on Lab·LPIC-1

Partitions, filesystems and fstab

Topic 104 is weight 15 and this is the spine of it: partition a real disk, put a filesystem on it, mount it by hand, then write the fstab line that mounts it at boot. The guide starts by identifying which disk is safe to destroy, because on this machine that is not the one the name suggests.

101: Devices and Filesystems Guide 11 of 33 Beginner

One Debian-family host with four spare 5 GB disks. Everything here happens on /dev/sda, which on this machine is a SPARE - the system disk is /dev/sde.
Server NameIP AddressOSRolesCPURAMHDD
LPIC1-A01192.168.0.76Ubuntu 26.04 LTSDebian-family host - dpkg and apt, which objective 102.4 names2 Core4 GB50 GB

This guide includes

Use this for the spine of topic 104. This matters because establishing which disk is the system disk comes before anything destructive - the one step that separates practice from an accident.

Before you start

  1. Find out which disk is the system disk

  2. A partition table and a partition

  3. A filesystem, and what it records about itself

  4. Mounting it by hand

  5. The fstab line, written with a UUID

Official sources