Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
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 Book
Published in Nov 2012
Publisher Packt
ISBN-13 9781849519823
Pages 86 pages
Edition 1st Edition
Languages
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

Preparing a new disk device for use (Become an expert)


Often, a brand new disk device has no partition table. In this recipe we will write a partition table to the disk device. A partition table is required to be able to divide a disk device into distinct areas known as partitions.

Getting ready

Connect a new disk device to your computer.

If you wish to write a new partition table to an existing device, be sure to first backup the data on the device because you will lose the partitions and the data.

For disk devices larger than 2 TB, you should consider using gpt instead of the default msdos partition table. More information on gpt and msdos partition tables can be found later in this recipe.

How to do it...

  1. Select the new disk device using the Gparted | Devices | [your-new-disk-device] menu option and the new device is displayed in the main window:

  2. Check to see that the new device is shown as entirely unallocated, and check under the Partition column for an exclamation mark inside a triangle beside unallocated.

  3. Double-click on the unallocated disk device to display Information about unallocated:

  4. Confirm that the warning message reads unrecognised disk label to ensure that the disk device does not contain an existing partition table, also known as a disk label.

    Note

    This check helps to avoid accidentally overwriting an existing partition table and hence erasing all the partitions and data on the disk device.

  5. Click on Close.

  6. Choose the Device | Create Partition Table menu option and a Create partition table window is displayed:

  7. Optionally, click on Advanced and select a different type of partition table, such as gpt:

  8. Click on Apply to write the partition table to the disk device.

  9. Choose the View | Device Information menu option to toggle on the device information panel display:

  10. Confirm that the Partition table is the type you selected (for example, msdos or gpt).

How it works...

In this example we confirm that the disk device is missing a partition table, also known as a disk label. Then we write a new partition table to the disk device. At this point the disk device is now ready for new partitions to be created.

There's more...

GParted supports many more types of partition tables. While the gpt and msdos partition tables are commonly used, others are also supported such as mac for MacIntosh computers, and amiga for Amiga computers. Note that Mac OS X uses a hybrid gpt and msdos partition table which is described later in the appendix at the end of this book.

MSDOS partition table 2 tebibyte limit

On devices with a 512 byte sector size, the maximum size of a partition in an MSDOS partition table is about 2 tebibytes (2,199,023,255,040 bytes, or one sector less than 2 TiB). The partition must also start within the first 2 tebibytes of the disk device. Hence if you have a larger disk device, you will need to use a different partition table, such as a GUID Partition Table (GPT), to be able to access the all of the available disk space.

Booting from GPT disk device

Operating systems such as GNU/Linux and Mac OS X are able to boot from disk devices with GPT on Personal Computer/Basic Input Output System (PC/BIOS) hardware and newer Extensible Firmware Interface (EFI) firmware.

Only the newer 64-bit Windows Vista SP1, Windows 7, Windows Server 2008, and higher can boot from disk devices with GPT on newer EFI firmware. Other versions of Windows, including 32-bit versions, cannot boot from a GPT Disk and must boot from an MSDOS partition table on PC/BIOS hardware.

References

The partition table name mdsos dates back to 1983 when support for partitioned media was introduced with IBM PC DOS 2.0. IBM PC DOS was a rebranded version of Microsoft MS DOS.

For more information on disk partitioning, the msdos partition table—also known as Master Boot Record (MBR), the GUID partition table, PC/BIOS, and EFI, see:

You have been reading a chapter from
Manage Partitions with GParted How-to
Published in: Nov 2012
Publisher: Packt
ISBN-13: 9781849519823
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