Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Manage Partitions with GParted How-to

You're reading from   Manage Partitions with GParted How-to A task-based, step-by-step guide that empowers you to use your disk space effectively with this book and ebook.

Arrow left icon
Product type Paperback
Published in Nov 2012
Publisher Packt
ISBN-13 9781849519823
Length 86 pages
Edition 1st Edition
Arrow right icon
Author (1):
Arrow left icon
Curtis Gedak Curtis Gedak
Author Profile Icon Curtis Gedak
Curtis Gedak
Arrow right icon
View More author details
Toc

Identifying partitions and actions available (Must know)


With the proper disk device selected, it is important to choose the correct partition. In the following steps we will discover how to identify partitions and the actions available.

Getting ready

Before picking a partition, it helps to know some background information about the primary types of file systems for each operating system. A brief summary of default file systems for operating systems is as follows:

Default File System

Operating System

EXT2/3/4

Linux

FAT16

Windows 95/NT/3.x, DOS

FAT32

Windows XP/ME/98

HFS+

Mac OS X

JFS

IBM AIX

NTFS

Windows 7/Vista/XP/2000/NT, Windows Server 2008/2003

UFS

BSD, SunOS/Solaris, HP-UX

XFS

SGI IRIX

Note that many operating systems support more than just the above listed default file systems. For example FAT16 and FAT32 are supported by many operating systems. As such, FAT16 and FAT32 are useful for sharing information between operating systems.

Typically drive letters in Windows and DOS correspond to partitions, except when the file system is not recognized by these operating systems.

With Windows and DOS, C: is often the first, and perhaps the only, partition on the disk device. Normally this partition is used in the boot process and has the boot flag set, as shown in the following screenshot. Note that only one partition on a disk device can have the boot flag set.

Many other partition layouts are possible. For example, some disk devices contain an Original Equipment Manufacturer (OEM) rescue partition at the start of the drive and hence the main operating system resides in a later partition.

How to do it...

  1. Select the partition you wish to modify.

  2. If the partition has a padlock icon, or key icon beside the partition entry, then the partition is in use. To be able to modify the partition, select the menu option, Partition | Unmount, to unmount the file system.

  3. Note that Linux swap and lvm2 physical volumes will display a different menu name. Specifically:

    • For linux-swap, the menu option is:

      Partition | Swapoff

    • For lvm2 pv, the menu option is:

      Partition | Deactivate

  4. If you wish to view the actions available for file systems, select the menu option, View | File System Support, which will open a window with details for the actions supported.

How it works...

When a partition is selected, the partition editing actions that are not available will be grayed out in the menus, and the corresponding buttons in the taskbar will be disabled.

Many partition editing actions require that the file system is not in use. Hence to be able to perform the widest range of editing actions, the file system must not be mounted, enabled as swap space, or in use in any other way.

There's more...

Operating systems, such as Linux, can use many different types of file systems and do not require the boot flag to be set to boot the computer.

Labeling the partitions

To make it easier to identify partitions in the future, you can set a label on the file system in the partition. The steps to set a label on a partition will be covered later under the Formatting a partition recipe.

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image