Replay a previously exported partition layout.
Section: Partitions and Labels
Restore a partition table dump
bash
bash
sudo sfdisk /dev/sdb < sdb.partitionsExplanation
Replay a previously exported partition layout.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Partitions and Labels
Dump partition table to a file
Useful for backups and repeatable partition layouts.
List partition tables
Show disks, sector sizes, partition tables, and partitions.
Edit a disk with fdisk
Interactive MBR/GPT partitioning for a specific disk.
Print partition layout with parted
Display partition table details using parted.