What are the linux partitioning tools?
Jun 09, 2023 pm 05:56 PMLinux 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
命名要修改的設(shè)備時(shí)要小心。在使用“”運(yùn)行fdisk命令之前仔細(xì)檢查所有已安裝的驅(qū)動(dòng)器lsblk。
更多命令選項(xiàng),按m或參考官方文檔頁(yè)面。但是,如果您不習(xí)慣使用命令行工具,您應(yīng)該堅(jiān)持使用GUI分區(qū)管理器。
5. GNUparted
它也是一個(gè)命令行實(shí)用程序,預(yù)裝在所有Linux發(fā)行版中,要從終端啟動(dòng)它,請(qǐng)鍵入:
sudo?parted
要了解如何使用GNUparted,您可以鍵入help然后按Enter。
總結(jié)
我們希望您已經(jīng)弄清楚您將在方便時(shí)使用哪個(gè)分區(qū)管理器,建議初學(xué)者使用GUI工具,但如果您知道自己在做什么,那么CLI工具會(huì)更快。
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

Undress AI Tool
Undress images for free

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

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

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)

The key to installing dual systems in Linux and Windows is partitioning and boot settings. 1. Preparation includes backing up data and compressing existing partitions to make space; 2. Use Ventoy or Rufus to make Linux boot USB disk, recommend Ubuntu; 3. Select "Coexist with other systems" or manually partition during installation (/at least 20GB, /home remaining space, swap optional); 4. Check the installation of third-party drivers to avoid hardware problems; 5. If you do not enter the Grub boot menu after installation, you can use boot-repair to repair the boot or adjust the BIOS startup sequence. As long as the steps are clear and the operation is done properly, the whole process is not complicated.

Newbie users should first clarify their usage requirements when choosing a Linux distribution. 1. Choose Ubuntu or LinuxMint for daily use; programming and development are suitable for Manjaro or Fedora; use Lubuntu and other lightweight systems for old devices; recommend CentOSStream or Debian to learn the underlying principles. 2. Stability is preferred for UbuntuLTS or Debian; you can choose Arch or Manjaro to pursue new features. 3. In terms of community support, Ubuntu and LinuxMint are rich in resources, and Arch documents are technically oriented. 4. In terms of installation difficulty, Ubuntu and LinuxMint are relatively simple, and Arch is suitable for those with basic needs. It is recommended to try it first and then decide.

The steps to add a new hard disk to the Linux system are as follows: 1. Confirm that the hard disk is recognized and use lsblk or fdisk-l to check; 2. Use fdisk or parted partitions, such as fdisk/dev/sdb and create and save; 3. Format the partition to a file system, such as mkfs.ext4/dev/sdb1; 4. Use the mount command for temporary mounts, such as mount/dev/sdb1/mnt/data; 5. Modify /etc/fstab to achieve automatic mount on the computer, and test the mount first to ensure correctness. Be sure to confirm data security before operation to avoid hardware connection problems.

Logs in Linux systems are usually stored in the /var/log directory, which contains a variety of key log files, such as syslog or messages (record system logs), auth.log (record authentication events), kern.log (record kernel messages), dpkg.log or yum.log (record package operations), boot.log (record startup information); log content can be viewed through cat, tail-f or journalctl commands; application logs are often located in subdirectories under /var/log, such as Apache's apache2 or httpd directory, MySQL log files, etc.; at the same time, it is necessary to note that log permissions usually require s

Have problems uploading files in Google Chrome? This may be annoying, right? Whether you are attaching documents to emails, sharing images on social media, or submitting important files for work or school, a smooth file upload process is crucial. So, it can be frustrating if your file uploads continue to fail in Chrome on Windows PC. If you're not ready to give up your favorite browser, here are some tips for fixes that can't upload files on Windows Google Chrome 1. Start with Universal Repair Before we learn about any advanced troubleshooting tips, it's best to try some of the basic solutions mentioned below. Troubleshooting Internet connection issues: Internet connection

sudo stands for "substituteuserdo" or "superuserdo", allowing users to run commands with permissions of other users (usually root). Its core uses include: 1. Perform system-level operations such as installing software or editing system files; 2. Accessing protected directories or logs; 3. Manage services such as restarting nginx; 4. Modify global settings such as /etc/hosts. When using it, the system will check the /etc/sudoers configuration and verify the user password, provide temporary permissions instead of continuously logging in as root, ensuring security. Best practices include: only when necessary, avoid blindly executing network commands, editing sudoers files with visudo, and considering continuous operations.

To manage Linux user groups, you need to master the operation of viewing, creating, deleting, modifying, and user attribute adjustment. To view user group information, you can use cat/etc/group or getentgroup, use groups [username] or id [username] to view the group to which the user belongs; use groupadd to create a group, and use groupdel to specify the GID; use groupdel to delete empty groups; use usermod-aG to add users to the group, and use usermod-g to modify the main group; use usermod-g to remove users from the group by editing /etc/group or using the vigr command; use groupmod-n (change name) or groupmod-g (change GID) to modify group properties, and remember to update the permissions of relevant files.

In Linux systems, 1. Use ipa or hostname-I command to view private IP; 2. Use curlifconfig.me or curlipinfo.io/ip to obtain public IP; 3. The desktop version can view private IP through system settings, and the browser can access specific websites to view public IP; 4. Common commands can be set as aliases for quick call. These methods are simple and practical, suitable for IP viewing needs in different scenarios.