- Top 6 Partition Managers (CLI + GUI) for Linux
- 1. Fdisk
- 2. GNU Parted
- 3. Gparted
- 4. GNOME Disks a.k.a ( GNOME Disks Utility)
- 5. KDE Partition Manager
- 6. Qtparted
- If You Appreciate What We Do Here On TecMint, You Should Consider:
- Разметка дисков¶
- Диски и разделы в Linux¶
- Отдельный раздел /home¶
- Partitioning¶
- Disks and partitions under Linux¶
- Dedicated /home partition¶
- 5 бесплатных программ для разметки разделов диска в Linux
- GParted
- GNOME Disks
- KDE Partition Manager
- Fdisk [Command Line]
- GNU Parted [Command Line]
- Заключение
- Linux Mint Forums
- Disk Partitions — Best Practice ?
- Disk Partitions — Best Practice ?
- Re: Disk Partitions — Best Practice ?
- Re: Disk Partitions — Best Practice ?
- Re: Disk Partitions — Best Practice ?
- Re: Disk Partitions — Best Practice ?
- Re: Disk Partitions — Best Practice ?
- Re: Disk Partitions — Best Practice ?
- Re: Disk Partitions — Best Practice ?
- Re: Disk Partitions — Best Practice ?
- Re: Disk Partitions — Best Practice ?
Top 6 Partition Managers (CLI + GUI) for Linux
Are you looking to tweak or manage your disks partitions in Linux? In this article, we will review some of the best tools that help Linux users partition and manage their disks. We will see both command line utilities as well as GUI applications for managing disk partitions in Linux.
I favor the command line over GUI (graphical user interface), I will start by describing the text based utilities and then GUI applications as follows.
1. Fdisk
fdisk is a powerful and popular command line tool used for creating and manipulating disk partition tables. It supports multiple partition tables formats, including MS-DOS and GPT. It provides a user-friendly, text based and menu driven interface to display, create, resize, delete, modify, copy and move partitions on disks.
Fdisk Partition Tool
2. GNU Parted
Parted is a popular command line tool for managing hard disk partitions. It supports multiple partition table formats, including MS-DOS, GPT, BSD and many more. With it, you can add, delete, shrink and extend disk partitions along with the file systems located on them.
Parted Partition Program
It can help you create space for installing new operating systems, reorganizing disk usage, and move data to new hard disks.
3. Gparted
GParted is a free, cross platform and advanced graphical disk partition manager that works on Linux operating systems, Mac OS X and Windows.
GParted Partition Manager and Editor
It is used to resize, copy, move, label, check or delete partitions without data loss, enabling you to grow or shrink root partition, create space for new operating systems and attempt data rescue from lost partitions. It can be used to manipulate file systems including EXT2/3/4.
4. GNOME Disks a.k.a ( GNOME Disks Utility)
GNOME Disks is a core system utility used for disk partition management and S.M.A.R.T monitoring. It is used to format and create partition on drives, mount and unmount partitions. It ships in with the well known GNOME desktop environment.
Gnome Disks
Lately, it’s been gaining features for advanced usage. The latest version (at the time of this writing) has a new feature for adding, resizing partitions, checking filesystems for any damages and repairing them.
5. KDE Partition Manager
KDE partition manager is a useful graphical utility for managing disk devices, partitions and file systems on your computer. It comes with the KDE desktop environment.
KDE Partition Manager
Most of its underlying work is performed by programs. It can be used to easily create, copy, move, delete, resize without losing data, backup and restore partitions. It supports various including EXT2/3/4, BTRFS NTFS, FAT16/32, XFS, and more.
6. Qtparted
In addition, you can also use Qtparted, is a Partition Magic (proprietary software for Windows) clone and Qt front-end to GNU Parted. Note that it still in development and you may likely experience any kind of problem with latest release. In that case try to use the CVS version or a previous stable version.
QTParted Partition Magic
It may not be one of the best options now but you can give it a try. More features are yet being added to it.
You might also like to read these following related articles.
These are the best partition managers and editors available for Linux operating systems. Which tool do you use? Let us know via the comment section below. Also let us know of any other partition managers for Linux, missing in the list above.
If You Appreciate What We Do Here On TecMint, You Should Consider:
TecMint is the fastest growing and most trusted community site for any kind of Linux Articles, Guides and Books on the web. Millions of people visit TecMint! to search or browse the thousands of published articles available FREELY to all.
If you like what you are reading, please consider buying us a coffee ( or 2 ) as a token of appreciation.
We are thankful for your never ending support.
Источник
Разметка дисков¶
Диски и разделы в Linux¶
Если вы не знакомы со схемой именования устройств и разделов в Linux, а также понятием файловых систем и точек монтирования, прочтите:
Отдельный раздел /home¶
В Linux каталог /home используется для хранения данных и настроек пользователя.
Этот каталог содержит по одному подкаталогу для каждой учётной записи пользователя. Например, если ваше имя пользователя john , то ваш домашний каталог будет /home/john , каталог загрузок — /home/john/Downloads , документов — /home/john/Documents , а закладки Firefox будут храниться где-то в /home/john/.mozilla и так далее…
Выделив для /home отдельный раздел, вы сможете отделить пользовательские данные от остальных данных операционной системы.
Преимущество такого подхода заключается в том, что в дальнейшем вы сможете удалить операционную систему и заменить её на другую, сохранив в целости пользовательские данные.
При установке Linux Mint:
- Назначьте точку монтирования / разделу для операционной системы и укажите программе установки выполнить его форматирование.
- Назначьте точку монтирования /home разделу для пользовательских данных и, если в нём уже содержатся данные, убедитесь, что вы указали программе установки не форматировать этот раздел.
Это не рекомендуется начинающим пользователям. Ошибочные действия во время установки могут привести к уничтожению всех ваших данных. Всегда делайте резервные копии, убедитесь в правильном выборе разделов и внимательно проверьте, что вы форматируете только те разделы, для которых это необходимо.
Операционная система Linux Mint занимает примерно 15 ГБ на диске, и этот объём увеличивается при установке дополнительных приложений. Если на диске хватает места, выделите для неё 100 ГБ. Оставьте также достаточно свободного пространства для раздела home. Данные пользователя (загрузки, видео, изображения) обычно занимают гораздо больше места, чем сама система.
© Copyright 2017, Linux Mint Revision 11740971 .
Источник
Partitioning¶
Disks and partitions under Linux¶
If you are not familiar with the Linux naming scheme for devices and partitions, or the concept of filesystems and mount points, read:
Dedicated /home partition¶
In Linux, the /home directory is used to store user data and preferences.
This directory contains one subdirectoy for each user account. Say your username is john , your home directory is /home/john , your downloads are in /home/john/Downloads , your documents in /home/john/Documents , your Firefox bookmarks somewhere in /home/john/.mozilla and so on…
By giving /home its own dedicated partition, you separate the user data from the rest of the operating system.
The advantage is that you can wipe the operating system and replace it without affecting the user data.
When installing Linux Mint:
- Assign the / mount point to the partition dedicated to the operating system, and tell the installer to format it.
- Assign the /home mount point to the partition dedicated to the user data, and if it contains user data already, make sure to tell the installer not to format it.
This is not recommended for novice users. A misstep during the installation could wipe all your data. Always make backups, make sure to select the right partitions and to carefully review formatting options.
A Linux Mint operating system takes about 15GB and grows as you install additional software. If you can spare the size, give it 100GB. Keep most of your free space for the home partition. User data (downloads, videos, pictures) takes a lot more space.
© Copyright 2017, Linux Mint Revision 11740971 .
Источник
5 бесплатных программ для разметки разделов диска в Linux
Представляем вам наш рекомендуемый список утилит для разметки жесткого диска в дистрибутивах Linux, которые позволят вам удалять, добавлять, настраивать или изменять размеры разделов диска.
Обычно вы изменяете разделы диска при установке ОС. Но что делать, если вам нужно изменить разделы через некоторое время после установки. Вы не сможете уже вернуться к экрану настройки. Именно здесь вам пригодятся менеджеры разделов (или, точнее, менеджеры разделов дисков).
В большинстве случаев нет необходимости отдельно устанавливать менеджер разделов, поскольку он обычно предустановлен в системе. Также стоит отметить, что вы можете выбрать либо менеджер разделов на базе команд терминала, либо что-то с графическим интерфейсом пользователя.
Внимание! Играть с разметкой диска — рискованная задача. Не делайте этого без особой необходимости. Если вы используете инструмент разметки из терминала, вам необходимо сначала изучить конкретные команды. Иначе можно запросто просто стереть весь диск.
GParted
Возможно, это самый популярный менеджер разделов на основе графического интерфейса пользователя, доступный для дистрибутивов Linux. Возможно, вы уже устанавливали его в некоторых дистрибутивах, но если вы этого не делали, просто найдите его в программном центре и установите.
При запуске программе необходима аутентификация с правами root. Таким образом вам нет необходимости здесь использовать терминал. После успешной аутентификации выполняется анализ устройств, а затем производится настройка разделов диска. Также в программе есть функция «Попробовать восстановить данные», используемая в случае потери данных или случайного удаления файлов.
GNOME Disks
Менеджер разделов с графическим интерфейсом, который поставляется в комплекте с Ubuntu или любыми дистрибутивами на базе Ubuntu, такими как Zorin OS.
Позволяет удалять, добавлять, изменять размер и настраивать разделы. Также поможет вам в форматировании USB в Ubuntu, если есть какая-то проблема с носителем.
С помощью этого инструмента можно даже попытаться восстановить раздел. Параметры также включают редактирование файловой системы, создание образа раздела, восстановление образа и тестирование раздела.
KDE Partition Manager
KDE Partition Manager должна быть предварительно установлена на дистрибутивы Linux на базе KDE. Но если ее там нет, установите из центра приложений.
В случае, если она не предустановлена вы можете получить уведомление о необходимости получения прав администратора при запуске. Без прав ничего не удастся сделать, поэтому лучше запускайте ее такой командой:
После запуска программа сканирует устройства, затем вы сможете перемещать, копировать, удалять и изменять разделы. Также есть возможность импорта/экспорта таблицы разделов и другие функции.
Fdisk [Command Line]
Fdisk — утилита командной строки, которая используется во всех Unix-подобных ОС. Не волнуйтесь, хотя и требуется от вас запуск терминала и ввод команд — это не так уж и сложно. Однако, если вы слишком запутались при использовании текстовой утилиты, вам следует придерживаться упомянутых выше приложений с графическим интерфейсом пользователя. Они все делают одно и то же.
Чтобы запустить fdisk, вы должны обладать правами root пользователя и указать устройство для управления разделами. Вот пример команды:
Вы можете подробнее ознакомиться со списком команд на соответствующем ресурсе.
GNU Parted [Command Line]
Еще одна утилита командной строки, которую вы можете найти предустановленной на вашем дистрибутиве Linux. Для начала достаточно ввести следующую команду:
Заключение
Я бы не забыл упомянуть QtParted в качестве одной из альтернатив списку менеджеров разделов. Однако она не поддерживается уже много лет, поэтому я не рекомендую ее использовать.
А что вы думаете о менеджерах разделов, упомянутых здесь? Я пропустил какую-нибудь из ваших любимых? Дайте мне знать, и я обновлю этот список менеджеров разделов для Linux с вашими предложениями.
Источник
Linux Mint Forums
Welcome to the Linux Mint forums!
Disk Partitions — Best Practice ?
Disk Partitions — Best Practice ?
Post by mike acker » Thu Feb 11, 2016 6:48 pm
any suggestions for a Best Practice for Disk Partitions?
should there be 1 Primary partition with 3 extended partitions?
1 — /
2 — /home
and
3 — /swap
evidently about 30 GB is enough for 1 and 3;
2 could be whatever — let’s say we split up a 1TB drive — make /home = 400 GB,—
this would leave space for a second primary partition — which could be 500 GB for a Windows install
there seem to be as many views on this as there are essays so I was hoping we have a recomendation for a Best Practice to get started on
Re: Disk Partitions — Best Practice ?
Post by Fred Barclay » Thu Feb 11, 2016 7:38 pm
That looks pretty good to me.
My setup:
24 GB /
84 GB /home
5 GB swap
/ and swap add up to 29 GB; just 1 GB short of your value.
I use GPT so extended/logical partitions are not a worry for me, but considering your scenario, keeping Mint inside an extended partition makes sense. That is—your disk used the MBR scheme, right?
Re: Disk Partitions — Best Practice ?
Post by austin.texas » Thu Feb 11, 2016 8:19 pm
mike acker wrote: any suggestions for a Best Practice for Disk Partitions?
should there be 1 Primary partition with 3 extended partitions?
Re: Disk Partitions — Best Practice ?
Post by Pierre » Fri Feb 12, 2016 3:18 am
under win-xp — you could do the whole lot with just primary partitions,
but with win-7 — that sometimes wants a boot partition as well,
and that now needs Five partitions — unless you don’t use a separate /home — that is.
the actual size(s) does really depend on the size of your HDD.
but — above mentioned size is quite reasonable.
my HDDs traditionally are quite small, and so are usually sized at about half of those mentioned.
Re: Disk Partitions — Best Practice ?
Post by BigEasy » Fri Feb 12, 2016 3:32 am
Re: Disk Partitions — Best Practice ?
Post by Pjotr » Fri Feb 12, 2016 5:40 am
Opinions differ and will continue to differ. I hereby predict that no consensus will be reached on a «best practice».
My take: just two partitions. One for root and one for swap. Root preferably on a primary partition; only on a logical one when unavoidable.
1. I consider a separate /home to be an unnecessary complication, because you need *external* backups of your documents anyway. Granted, it makes re-installing a bit easier, but how often do you have to re-install?
Furthermore, a separate /home causes less than optimal disk space allocation, which is especially annoying on small drives.
2. In my opinion a separate swap partition is needed because a. I think it’s useful when my system can swap under extreme duress and b. I don’t want the junk in the swap polluting my root partition (so I don’t want the swap to be a file on my root partition, like in Windows).
Re: Disk Partitions — Best Practice ?
Post by BigEasy » Fri Feb 12, 2016 6:09 am
Re: Disk Partitions — Best Practice ?
Post by Moem » Fri Feb 12, 2016 6:31 am
If your issue is solved, kindly indicate that by editing the first post in the topic, and adding [SOLVED] to the title. Thanks!
Re: Disk Partitions — Best Practice ?
Post by mike acker » Fri Feb 12, 2016 7:42 am
thanks for all the notes and input guys!
failing a «Best Practice» perhaps a Beginners’ Recommendation could be possible ?
the reason I ask is: when my Win7 box died I replaced the Hard Drive with a 1TB WD and installed a fresh copy of LMDE(2),— hoping to run Epson Perfection V500 scanner and Canon DPP using WINE . Neither of these worked out . I replaced the LMDE(2) with a regular dist. of MINT 17.3 — and, using WINE plus the PlayonLinux WINE-front end — I got closer — but no Cigar . My guess the usual trouble — a non supported Window call.
My last effort then was to install a Win8.1 OEM — and of course this reformatted the disk as NTFS . the Win8.1 OEM failed as I couldn’t get the proper support for the monitor installed . I had started with an HP 1440×900 which my wife discarded — and which works perfect in Linux — but the Win8.1 OEM did not offer the 1440×900 resolution as an option . So,— I went and bought a nice Samsung 1920×1080 monitor — which is basically the standard monitor these days — and the Win8.1 OEM didn’t offer that resolution for that monitor either. A messed up match on resolution would be totally unacceptable for the Canon DPP application,—
probably I should not have bought the OEM dist. dunno but this whole Win mess feels a lot like throwing good money after bad.
so, I went back to re-install LMDE(2)
however: the LMDE(2) installer doesn’t partition the disk automatically like the std. dist. does and left me looking at the partition screen feeling pretty dumb ( and needing to learn how to partition a disk )
I’ve since re-loaded the main Dist. of MINT 17.3 — which is running great — but leaves me with a bad feeling about Windows apps,—
I now have one Windows system running — my wife’s Win7 — and — the MSFT/maintenace process could knock that one out — just as it did mine . which would leave one critical program,— that being Turbotax.
I’ll try Turbotax under WINE today. If that works I think I can live with work-arounds on the other two .
Re: Disk Partitions — Best Practice ?
Post by srq2625 » Fri Feb 12, 2016 7:43 am
This is one of the most religious questions in the Linux world. Given (n) responders, you are likely to get at least (n+1) answers. So, let me add mine to the mess:
Considerations:
- Is this a laptop or desktop computer?
- If a desktop, there will be much less need for hibernation which, in turn, greatly decreases the need for a swap partition/file.
- Will you want to hibernate the computer anyway? No — see previous
- If a laptop and you want to hibernate, then a swap partition/file will be required
- If you don’t want to hibernate then the amount of installed RAM enters into the question of whether a swap partition/file is needed. The more installed RAM on the computer, the less the need for swap. I have 16GB installed in my desktop computer and when I did install with a /swap partition I NEVER made use of the /swap. On an older laptop with just 2GB, I have, once in a great while, needed the /swap.
- The use to which you will be putting the computer. Things like editing of video/audio/photos require much more RAM resources and may cause computer to go looking for swap. If you don’t do these things, the need for swap is greatly reduced. I’ve two computers with 8GB or more RAM on which I do photo editing and I’ve never needed swap; on my last re-install (when I moved to LM), I decided to skip the /swap completely and have yet to have a problem.
Given the stated desire to dual-boot with Windows (the version of Windows, as was pointed out above, does impact on things):
- If Windows 7 (or later), first partition of approx. 100MB, else . skip this
- Windows install partition — at least 50GB, better if at least 100GB as Windows is space hungry and more so as one moves from Win7 to Win8 to Win10
- /swap — if desired (see above)
- / (also, sometimes mistakenly called the «root» partition) this is where the Linux system is installed. LM can be installed in something under 9GB (IIRC), but it’s happiest if you give it some breathing room. I typically give it at least 20GB — space is cheap and undersizing this partition leads to all kinds of headaches.
- If, as a result of the above decisions, you still have only 3 partitions defined . you can either create a partition for your personal data or for another Linux distro or just leave it unallocated for later use.
Источник