Console Partition Manager
I tried to make a terminal disk partition manager with GParted-like functionality
TUIParted is a console-based partition manager that provides GParted-like functionality in a terminal interface. It offers an intuitive TUI (Text User Interface) for managing disk partitions.
- 📊 Visual Partition Bar — Color-coded visualization of disk layout
- 💾 Multiple Filesystems — Support for ext2/3/4, btrfs, xfs, f2fs, ntfs, fat32, exfat, swap
- ✅ Safe Operations Queue — Preview changes before applying
- 🔧 Full Partition Management — Create, delete, resize, move, copy partitions
- 🔍 Filesystem Tools — Check (fsck), mount/unmount, automount configuration
- 🆘 Data Rescue — Attempt to recover data from damaged partitions
- 🌍 Multi-language — English, Russian. You can also add your own languages.
- ⌨️ Keyboard-driven — Fast navigation with hotkeys
- 📁 Extended/Logical partitions — Proper MBR hierarchy display
- Linux operating system
- Root privileges (for partition operations)
- Required packages:
parted,e2fsprogs,btrfs-progs,xfsprogs,rsync
# Make executable (first time only)
chmod +x tuiparted
# Run with root privileges
sudo ./tuiparted| Key | Action |
|---|---|
q |
Quit |
r |
Refresh disk data |
n |
Create new partition |
d |
Delete partition |
f |
Format partition |
s |
Resize partition |
t |
Create partition table |
c |
Check filesystem (fsck) |
i |
Show partition info |
l |
Select language |
Ctrl+A |
Apply pending operations |
Ctrl+Z |
Undo last operation |
←/→ |
Navigate partitions |
Enter |
Open action menu |
To add a new language:
- Create
locales/folder next to the binary - Create a JSON file (e.g.,
fr.json) — copy structure from existing translation - Restart the application
| Filesystem | Create | Format | Resize | Check |
|---|---|---|---|---|
| ext2/3/4 | ✅ | ✅ | ✅ | ✅ |
| btrfs | ✅ | ✅ | ✅ | ✅ |
| xfs | ✅ | ✅ | ✅ | ✅ |
| f2fs | ✅ | ✅ | ❌ | ✅ |
| ntfs | ✅ | ✅ | ✅ | ✅ |
| fat32/vfat | ✅ | ✅ | ✅ | ✅ |
| exfat | ✅ | ✅ | ❌ | ✅ |
| swap | ✅ | ✅ | ❌ | ❌ |
TUIParted performs low-level disk operations that can result in data loss. Always:
- ✅ Back up important data before modifying partitions
- ✅ Review pending operations carefully before applying
- ✅ Ensure the target partition is not mounted
USE AT YOUR OWN RISK.
This software is provided "as is", without warranty of any kind, express or implied. The author is not responsible for any damages, data loss, or system failures arising from the use of this software.
By using TUIParted, you understand and acknowledge that:
- You are solely responsible for any actions performed with this tool
- You have adequate backups of all important data
- Partition operations are inherently dangerous and can render your system inoperable
- The author assumes no responsibility for any consequences of using this software
Always test on systems without important data.
If you find this project useful, you can support development:
USDT (TRC20): TEKrG4B6UW6iAHFS9GdkUzYye7iGCRMc6K
MIT License
karamultuk