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
- OSUbuntu 26.04 LTS
- Kernel7.0.0-30-generic
- systemd259
- TimeAbout 20 min
| Server Name | IP Address | OS | Roles | CPU | RAM | HDD |
|---|---|---|---|---|---|---|
| LPIC1-A01 | 192.168.0.76 | Ubuntu 26.04 LTS | Debian-family host - dpkg and apt, which objective 102.4 names | 2 Core | 4 GB | 50 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.
- identifying the system disk before doing anything destructive
- writing a partition table and a partition
- making a filesystem, and reading what it records about itself
- mounting it by hand
- writing the fstab line with a UUID, and testing it with
mount -a
Before you start
-
Find out which disk is the system disk
-
A partition table and a partition
-
A filesystem, and what it records about itself
-
Mounting it by hand
-
The fstab line, written with a UUID