What are the linux partitioning tools?
Linux partitioning tools include: 1. GParted, the most popular disk partition manager; 2. KDE Partition Manager, which has all basic functions, such as creating, deleting and resizing partitions; 3. GNOME Disk, which provides It has all the basic functions such as deleting, adding new, resizing and adjusting partitions; 4. FDisk, pre-installed in every Linux-based distribution; 5. GNUparted, a command line utility.
#The operating environment of this article: linux5.18.14 system, dell g3 computer.
Partitions are first created in the Linux operating system during installation, but you can also add, delete, modify and resize partitions at any time after installation. Disk Partition Manager is especially useful for adding new drives or USB When you have a memory stick and have to change its file system, there are various GUI and command line based disk partition managers, we will discuss their usage below and help you choose the best option for you.
Linux partitioning tools are:
1. GParted
GParted is the most popular disk partition manager, it even Comes pre-installed on many Linux distributions, if it is not installed then search in your software center and you will find it, to install this application from the command line you can type the following command in the terminal, depending on your Distro:
For Ubuntu based distributions:
sudo apt install gparted
For Fedora Workstation:
sudo dnf install gparted
For Arch Linux and Arch based distros:
sudo pacman -S gparted
When it starts, it will prompt you for your sudo password for admin authentication , you can also try data rescue if you accidentally deleted some files. It also has a Live CD image that you can burn to disk and then modify your root partition from as well.
2. KDE Partition Manager
This application comes pre-installed in all distributions shipped with the KDE desktop environment, however, if for some reason it is not installed on your distribution, you can always install it from your distribution's software store. If you wish to install it on a distribution with DE other than KDE, just search for it in the Software Center or install it via the command line.
For Ubuntu-based distributions:
sudo apt install kde-partitionmanager
For Fedora Workstation:
sudo dnf install kde-partitionmanager
For Arch Linux and Arch-based Distro:
sudo pacman -S kde-partitionmanager
When you launch it it will ask you for your password to get administrative rights otherwise it will not work properly. It has all the basic functions like creating, deleting and resizing partitions.
3. GNOME Disk
This application is provided by default in the GNOME desktop environment and it provides all the basic functions such as delete, add new, resize and adjust Partition. You can even repair partitions or restore disk images using this application.
To install it on your distribution, you can look for GNOME Disk in the Software Center, or install it via the command line, using the following command:
On Ubuntu-based distributions:
sudo apt install baobab
For Arch Linux and Arch-based distributions:
sudo pacman -S baobab
For Fedora Workstation:
sudo dnf install baobab
4. FDisk
Fdisk comes pre-installed in every Linux-based distribution. To start it, you must specify the disk you want to manage and sudo permissions. For example:
sudo fdisk /dev/sda
命名要修改的设备时要小心。在使用“”运行fdisk命令之前仔细检查所有已安装的驱动器lsblk。
更多命令选项,按m或参考官方文档页面。但是,如果您不习惯使用命令行工具,您应该坚持使用GUI分区管理器。
5. GNUparted
它也是一个命令行实用程序,预装在所有Linux发行版中,要从终端启动它,请键入:
sudo parted
要了解如何使用GNUparted,您可以键入help然后按Enter。
总结
我们希望您已经弄清楚您将在方便时使用哪个分区管理器,建议初学者使用GUI工具,但如果您知道自己在做什么,那么CLI工具会更快。
The above is the detailed content of What are the linux partitioning tools?. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

VS Code system requirements: Operating system: Windows 10 and above, macOS 10.12 and above, Linux distribution processor: minimum 1.6 GHz, recommended 2.0 GHz and above memory: minimum 512 MB, recommended 4 GB and above storage space: minimum 250 MB, recommended 1 GB and above other requirements: stable network connection, Xorg/Wayland (Linux)

The five basic components of the Linux system are: 1. Kernel, 2. System library, 3. System utilities, 4. Graphical user interface, 5. Applications. The kernel manages hardware resources, the system library provides precompiled functions, system utilities are used for system management, the GUI provides visual interaction, and applications use these components to implement functions.

Although Notepad cannot run Java code directly, it can be achieved by using other tools: using the command line compiler (javac) to generate a bytecode file (filename.class). Use the Java interpreter (java) to interpret bytecode, execute the code, and output the result.

vscode built-in terminal is a development tool that allows running commands and scripts within the editor to simplify the development process. How to use vscode terminal: Open the terminal with the shortcut key (Ctrl/Cmd). Enter a command or run the script. Use hotkeys (such as Ctrl L to clear the terminal). Change the working directory (such as the cd command). Advanced features include debug mode, automatic code snippet completion, and interactive command history.

To view the Git repository address, perform the following steps: 1. Open the command line and navigate to the repository directory; 2. Run the "git remote -v" command; 3. View the repository name in the output and its corresponding address.

The reasons for the installation of VS Code extensions may be: network instability, insufficient permissions, system compatibility issues, VS Code version is too old, antivirus software or firewall interference. By checking network connections, permissions, log files, updating VS Code, disabling security software, and restarting VS Code or computers, you can gradually troubleshoot and resolve issues.

Writing code in Visual Studio Code (VSCode) is simple and easy to use. Just install VSCode, create a project, select a language, create a file, write code, save and run it. The advantages of VSCode include cross-platform, free and open source, powerful features, rich extensions, and lightweight and fast.

VS Code is available on Mac. It has powerful extensions, Git integration, terminal and debugger, and also offers a wealth of setup options. However, for particularly large projects or highly professional development, VS Code may have performance or functional limitations.