Labthrift Labthrift What to buy. What to skip. Why.

Written 2 Sep 2026. This is a how-to, not a product card. Buy links are not tagged yet.

Peek at leftover-box partition layout with parted

After fdisk -l shows the partition table, a look-only parted -l printout shows sizes and filesystem hints. Nothing is created, resized, or rewritten.

parted is another Linux tool that can list or edit how a disk is sliced. Tonight you only list on the leftover box. You do not open the interactive prompt, make a new slice, resize one, or wipe a disk.

Skip until SSH works

If you cannot log in from the couch yet, stop. That is SSH from the couch. Partition layout does not help a login that fails.

If you only need the friendly disk tree, that is see disks and USB sticks on the leftover box (lsblk). If you only need the classic fdisk table, that is peek at leftover-box partition tables with fdisk (fdisk -l).

What this is

parted can both list and edit partitions. The list switch is -l (the letter L). That is the only mode you use tonight.

fdisk -l prints a technical map with start and end sectors. parted -l prints a similar map in parted's own style. It often has human-readable sizes and a filesystem column when it can guess. Same leftover box, second look-only printout. Still no write, format, or wipe.

Practice: list the layout (look only)

SSH into the leftover box from the couch.

Then ask for the list:

parted -l

If the leftover box says permission denied, try once with admin rights (still look-only):

sudo parted -l

If the leftover box says command not found, install the usual package, then try again:

sudo apt install parted

Debian and Ubuntu Server often already have it. That install is not a reason to buy a disk app or a NAS.

You should see blocks of text, one per disk. A block names the device (often /dev/sda or /dev/nvme0n1), the disk size, the partition table type (often gpt or msdos), and a table of slices. Parted is reading the map that already lives on the disk. It is not drawing a new one.

Optional: limit the printout to one disk you already trust from lsblk:

sudo parted /dev/sda print

Swap /dev/sda for the name on your leftover box. Do not invent one. print here means show the layout, not send to a printer. Home-safe look only on the leftover box. Do not type interactive verbs like mkpart, resizepart, rm, or mklabel. Do not format, wipe, remount, or edit fstab tonight.

Optional: after you plug in a USB for backup

Plug the stick into the leftover box.

Run lsblk so you know today's letter.

Then run sudo parted -l (or sudo parted /dev/sdb print on that whole-disk name, not a slice like sdb1).

You should see a small table for the stick. Compare with fdisk -l if you want the classic sector-style map. The backup job, once a path is live, is a backup of the leftover-box folder.

Useful extras, still a look

Skip interactive parted (no bare parted /dev/… prompt where you type commands). Skip mkpart, resizepart, rm, mklabel, and rescue as the lesson. Night one is -l (or one-disk print) only.

Skip cfdisk, sfdisk, gdisk, mount, umount, dd, shred, format, and rewriting fstab. Those are not this note.

Skip buying a NAS because a gpt line or a filesystem hint looks unfamiliar. Free room is see if the leftover box still has room. For the kernel's plain list, see peek at leftover-box partitions via /proc/partitions.

Skip screen, tmux, and port 22 forwarding. Keep SSH on the house network: keep the leftover box on the house network.

What this is not

This is not leftover-box fdisk -l. That is peek at leftover-box partition tables with fdisk. It is not leftover-box lsblk. That is see disks and USB sticks on the leftover box. It is not leftover-box /proc/partitions. That is peek at leftover-box partitions via /proc/partitions.

What next

Need the kernel's plain partition list? Peek at leftover-box partitions via /proc/partitions. Need the classic fdisk table first? Peek at leftover-box partition tables with fdisk.

Skip

Sources

Debian: parted(8). Ubuntu: parted(8). Official pages only. For the classic fdisk table, see peek at leftover-box partition tables with fdisk. For udev properties, see peek at leftover-box disk details with udevadm. For printed labels and UUIDs, see read leftover-box disk labels and UUIDs. For the disk-name list, see see disks and USB sticks on the leftover box. For the mount map, see see which leftover-box folders are already attached. For free room, see see if the leftover box still has room. For a second copy once a USB path is live, see a backup of the leftover-box folder. For the login, see SSH from the couch.

Also on this topic

SSH from the couchType commands on the leftover box from your laptop, on the house network. Password login first. Do not open this to the internet. Peek at leftover-box partition tables with fdiskAfter udevadm shows disk properties, use fdisk -l (look-only) so you see the partition table layout — sizes and slice names — without creating, deleting, or rewriting anything. See disks and USB sticks on the leftover boxAfter SSH works (and before you blame a missing USB backup), list disks and USB sticks with lsblk so you see names like sda and sdb without opening a disk app. See which leftover-box folders are already attachedAfter you can list disks with lsblk (and before you blame a missing USB backup), use findmnt to see which folders are already attached (mounted) so you know what is live as / or a USB path. Read leftover-box disk labels and UUIDsAfter you can list disks with lsblk and see which folders are attached with findmnt, use blkid to read labels, UUIDs, and filesystem types on disk slices so you can tell which stick or slice is which. Peek at leftover-box disk details with udevadmAfter by-id shows hardware-style fixed names, use udevadm info (look-only) on a disk path so you see the properties udev already knows — without mounting or rewriting anything. See if the leftover box still has roomAfter the house folder is working, check that the leftover box is not filling up. Photos stop copying when the disk is full. You do not need a NAS for this look. See how big the leftover box disk already isBefore you buy a tiny computer or a NAS, check how big the leftover box disk already is. See if the USB backup disk showed upBefore you trust the weekly copy, confirm the leftover box can see the USB disk. A backup of the leftover-box folderA second copy of the house folder, on a USB disk you already have, or on another leftover computer. You do not need a NAS for this. Keep the leftover box on the house networkSSH and Pi-hole belong on the house network. Skip this if you never opened the router settings. Do not forward port 22.