gptfdisk-1.0.4

#### Beyond Linux® From Scratch (systemd Edition) - Version 9.0

### Chapter 5. File Systems and Disk Management

- Prev

  ntfs-3g-2017.3.23

- Next

  parted-3.2

- Up
- Home

# gptfdisk-1.0.4

## Introduction to gptfdisk

The gptfdisk package is a set of programs for creation and maintenance of GUID Partition Table (GPT) disk drives. A GPT partitioned disk is required for drives greater than 2 TB and is a modern replacement for legacy PC-BIOS partitioned disk drives that use a Master Boot Record (MBR). The main program, gdisk, has an inteface similar to the classic fdisk program.

This package is known to build and work properly using an LFS-9.0 platform.

### Package Information

- Download (HTTP): https://downloads.sourceforge.net/gptfdisk/gptfdisk-1.0.4.tar.gz

- Download MD5 sum: 5ecc3c44913bb6b53d3708d1ac7ac295

- Download size: 200 KB

- Estimated disk space required: 2.3 MB

- Estimated build time: less than 0.1 SBU

### Additional Downloads

- Recommended patch: http://www.linuxfromscratch.org/patches/blfs/9.0/gptfdisk-1.0.4-convenience-1.patch

### gptfdisk Dependencies

#### Required

popt-1.16

#### Optional

ICU-64.2

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/gptdisk

## Installation of gptfdisk

The gptfdisk package comes with a rudimentary `Makefile`. First we update it to provide a simple build and install interface. Install gptfdisk by running the following commands:

    patch -Np1 -i ../gptfdisk-1.0.4-convenience-1.patch &&
    make

To test the results, issue: make test.

Now, as the `root` user:

    make install

## Command Explanations

patch -Np1 ...: This patch modifies the `Makefile` file so that it provides an “install” target.

## Contents

Installed Programs: cgdisk, gdisk, fixparts, and sgdisk

### Short Descriptions

cgdisk | is an ncurses-based tool for manipulating GPT partitions.
gdisk | is an interactive text-mode tool for manipulating GPT partitions.
fixparts | repairs mis-formatted MBR based disk partitions.
sgdisk | is a partition manipulation program for GPT partitions similar to sfdisk.

Last updated on 2019-08-17 15:16:30 -0700

- Prev

  ntfs-3g-2017.3.23

- Next

  parted-3.2

- Up
- Home