[810a2c6] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[8dfc5c3] | 7 | <!ENTITY gptfdisk-download-http "&sourceforge-dl;/gptfdisk/gptfdisk-&gptfdisk-version;.tar.gz">
|
---|
[810a2c6] | 8 | <!ENTITY gptfdisk-download-ftp " ">
|
---|
[5c2571e3] | 9 | <!ENTITY gptfdisk-md5sum "74684c4eb0e6d5a1839e4bb0bba36fa2">
|
---|
| 10 | <!ENTITY gptfdisk-size "208 KB">
|
---|
| 11 | <!ENTITY gptfdisk-buildsize "2.5 MB">
|
---|
[bc38b45] | 12 | <!ENTITY gptfdisk-time "less than 0.1 SBU (0.2 SBU for tests)">
|
---|
[810a2c6] | 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="gptfdisk" xreflabel="gptfdisk-&gptfdisk-version;">
|
---|
| 16 | <?dbhtml filename="gptfdisk.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <date>$Date$</date>
|
---|
| 20 | </sect1info>
|
---|
| 21 |
|
---|
| 22 | <title>gptfdisk-&gptfdisk-version;</title>
|
---|
| 23 |
|
---|
| 24 | <indexterm zone="gptfdisk">
|
---|
| 25 | <primary sortas="a-gptfdisk">gptfdisk</primary>
|
---|
| 26 | </indexterm>
|
---|
| 27 |
|
---|
| 28 | <sect2 role="package">
|
---|
| 29 | <title>Introduction to gptfdisk</title>
|
---|
| 30 |
|
---|
| 31 | <para>
|
---|
| 32 | The <application>gptfdisk</application> package is a set of programs for
|
---|
| 33 | creation and maintenance of GUID Partition Table (GPT) disk drives. A
|
---|
| 34 | GPT partitioned disk is required for drives greater than 2 TB and is a
|
---|
[2cfb576b] | 35 | modern replacement for legacy PC-BIOS partitioned disk drives that use a
|
---|
[810a2c6] | 36 | Master Boot Record (MBR). The main program, <command>gdisk</command>,
|
---|
| 37 | has an inteface similar to the classic <command>fdisk</command> program.
|
---|
| 38 | </para>
|
---|
| 39 |
|
---|
[20a35ab] | 40 | &lfs110a_checked;
|
---|
[810a2c6] | 41 |
|
---|
| 42 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 43 | <itemizedlist spacing="compact">
|
---|
| 44 | <listitem>
|
---|
[29244b7] | 45 | <para>
|
---|
| 46 | Download (HTTP): <ulink url="&gptfdisk-download-http;"/>
|
---|
| 47 | </para>
|
---|
[810a2c6] | 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
[29244b7] | 50 | <para>
|
---|
| 51 | Download (FTP): <ulink url="&gptfdisk-download-ftp;"/>
|
---|
| 52 | </para>
|
---|
[810a2c6] | 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
[29244b7] | 55 | <para>
|
---|
| 56 | Download MD5 sum: &gptfdisk-md5sum;
|
---|
| 57 | </para>
|
---|
[810a2c6] | 58 | </listitem>
|
---|
| 59 | <listitem>
|
---|
[29244b7] | 60 | <para>
|
---|
| 61 | Download size: &gptfdisk-size;
|
---|
| 62 | </para>
|
---|
[810a2c6] | 63 | </listitem>
|
---|
| 64 | <listitem>
|
---|
[29244b7] | 65 | <para>
|
---|
| 66 | Estimated disk space required: &gptfdisk-buildsize;
|
---|
| 67 | </para>
|
---|
[810a2c6] | 68 | </listitem>
|
---|
| 69 | <listitem>
|
---|
[29244b7] | 70 | <para>
|
---|
| 71 | Estimated build time: &gptfdisk-time;
|
---|
| 72 | </para>
|
---|
[810a2c6] | 73 | </listitem>
|
---|
| 74 | </itemizedlist>
|
---|
| 75 |
|
---|
| 76 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 77 | <itemizedlist spacing='compact'>
|
---|
| 78 | <listitem>
|
---|
[29244b7] | 79 | <para>
|
---|
| 80 | Recommended patch: <ulink url=
|
---|
| 81 | "&patch-root;/gptfdisk-&gptfdisk-version;-convenience-1.patch"/>
|
---|
| 82 | </para>
|
---|
[0d7900a] | 83 | </listitem>
|
---|
[810a2c6] | 84 | </itemizedlist>
|
---|
| 85 |
|
---|
| 86 | <bridgehead renderas="sect3">gptfdisk Dependencies</bridgehead>
|
---|
| 87 |
|
---|
[9a94bef] | 88 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 89 | <para role="required">
|
---|
| 90 | <xref linkend="popt"/>
|
---|
[73c05ba] | 91 | </para>
|
---|
| 92 |
|
---|
[810a2c6] | 93 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 94 | <para role="optional">
|
---|
[9a94bef] | 95 | <xref linkend="icu"/>
|
---|
[810a2c6] | 96 | </para>
|
---|
| 97 |
|
---|
| 98 | <para condition="html" role="usernotes">
|
---|
| 99 | User Notes: <ulink url="&blfs-wiki;/gptdisk"/>
|
---|
| 100 | </para>
|
---|
| 101 | </sect2>
|
---|
| 102 |
|
---|
| 103 | <sect2 role="installation">
|
---|
| 104 | <title>Installation of gptfdisk</title>
|
---|
| 105 |
|
---|
| 106 | <para>
|
---|
[0d7900a] | 107 | The <application>gptfdisk</application> package comes with a
|
---|
[810a2c6] | 108 | rudimentary <filename>Makefile</filename>. First we update it
|
---|
[8558044] | 109 | to provide a simple build and install interface and fix the
|
---|
[90c883f] | 110 | location of a header file.
|
---|
[810a2c6] | 111 | Install <application>gptfdisk</application> by running the following
|
---|
| 112 | commands:
|
---|
| 113 | </para>
|
---|
| 114 |
|
---|
[aca449e3] | 115 | <screen><userinput>patch -Np1 -i ../gptfdisk-&gptfdisk-version;-convenience-1.patch &&
|
---|
[90c883f] | 116 | sed -i 's|ncursesw/||' gptcurses.cc &&
|
---|
[a740c95] | 117 | sed -i 's|sbin|usr/sbin|' Makefile &&
|
---|
[90c883f] | 118 |
|
---|
[9a94bef] | 119 | make</userinput></screen>
|
---|
[810a2c6] | 120 |
|
---|
[c434186] | 121 | <para>
|
---|
| 122 | To test the results, issue: <command>make test</command>.
|
---|
| 123 | </para>
|
---|
[810a2c6] | 124 |
|
---|
| 125 | <para>
|
---|
| 126 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 127 | </para>
|
---|
| 128 |
|
---|
[9a94bef] | 129 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[810a2c6] | 130 | </sect2>
|
---|
| 131 |
|
---|
| 132 | <sect2 role="commands">
|
---|
| 133 | <title>Command Explanations</title>
|
---|
| 134 |
|
---|
| 135 | <para>
|
---|
[9a94bef] | 136 | <command>patch -Np1 ...</command>: This patch modifies the
|
---|
| 137 | <filename>Makefile</filename> file so that it provides an
|
---|
| 138 | <quote>install</quote> target.
|
---|
[810a2c6] | 139 | </para>
|
---|
| 140 |
|
---|
| 141 | </sect2>
|
---|
| 142 |
|
---|
| 143 | <sect2 role="content">
|
---|
| 144 | <title>Contents</title>
|
---|
| 145 |
|
---|
| 146 | <segmentedlist>
|
---|
| 147 | <segtitle>Installed Programs</segtitle>
|
---|
| 148 |
|
---|
| 149 | <seglistitem>
|
---|
| 150 | <seg>
|
---|
| 151 | cgdisk, gdisk, fixparts, and sgdisk
|
---|
| 152 | </seg>
|
---|
| 153 | </seglistitem>
|
---|
| 154 | </segmentedlist>
|
---|
| 155 |
|
---|
| 156 | <variablelist>
|
---|
| 157 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 158 | <?dbfo list-presentation="list"?>
|
---|
| 159 | <?dbhtml list-presentation="table"?>
|
---|
| 160 |
|
---|
| 161 | <varlistentry id="cgdisk">
|
---|
| 162 | <term><command>cgdisk</command></term>
|
---|
| 163 | <listitem>
|
---|
[29244b7] | 164 | <para>
|
---|
[4c24eb0a] | 165 | is an ncurses-based tool for manipulating GPT partitions
|
---|
[29244b7] | 166 | </para>
|
---|
[810a2c6] | 167 | <indexterm zone="gptfdisk cgdisk">
|
---|
| 168 | <primary sortas="b-cgdisk">cgdisk</primary>
|
---|
| 169 | </indexterm>
|
---|
| 170 | </listitem>
|
---|
| 171 | </varlistentry>
|
---|
| 172 |
|
---|
| 173 | <varlistentry id="gdisk">
|
---|
| 174 | <term><command>gdisk</command></term>
|
---|
| 175 | <listitem>
|
---|
[29244b7] | 176 | <para>
|
---|
[4c24eb0a] | 177 | is an interactive text-mode tool for manipulating GPT partitions
|
---|
[29244b7] | 178 | </para>
|
---|
[810a2c6] | 179 | <indexterm zone="gptfdisk gdisk">
|
---|
| 180 | <primary sortas="b-gdisk">gdisk</primary>
|
---|
| 181 | </indexterm>
|
---|
| 182 | </listitem>
|
---|
| 183 | </varlistentry>
|
---|
| 184 |
|
---|
| 185 | <varlistentry id="fixparts">
|
---|
| 186 | <term><command>fixparts</command></term>
|
---|
| 187 | <listitem>
|
---|
[29244b7] | 188 | <para>
|
---|
[4c24eb0a] | 189 | repairs mis-formatted MBR based disk partitions
|
---|
[29244b7] | 190 | </para>
|
---|
[810a2c6] | 191 | <indexterm zone="gptfdisk fixparts">
|
---|
| 192 | <primary sortas="b-fixparts">fixparts</primary>
|
---|
| 193 | </indexterm>
|
---|
| 194 | </listitem>
|
---|
| 195 | </varlistentry>
|
---|
| 196 |
|
---|
| 197 | <varlistentry id="sgdisk">
|
---|
| 198 | <term><command>sgdisk</command></term>
|
---|
| 199 | <listitem>
|
---|
[29244b7] | 200 | <para>
|
---|
| 201 | is a partition manipulation program for
|
---|
[4c24eb0a] | 202 | GPT partitions similar to <command>sfdisk</command>
|
---|
[29244b7] | 203 | </para>
|
---|
[810a2c6] | 204 | <indexterm zone="gptfdisk sgdisk">
|
---|
| 205 | <primary sortas="b-sgdisk">sgdisk</primary>
|
---|
| 206 | </indexterm>
|
---|
| 207 | </listitem>
|
---|
| 208 | </varlistentry>
|
---|
| 209 |
|
---|
| 210 | </variablelist>
|
---|
| 211 | </sect2>
|
---|
[4c24eb0a] | 212 |
|
---|
[810a2c6] | 213 | </sect1>
|
---|