[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 |
|
---|
| 7 | <!ENTITY gptfdisk-download-http
|
---|
| 8 | "&sourceforge-repo;/project/gptfdisk/gptfdisk/&gptfdisk-version;/gptfdisk-&gptfdisk-version;.tar.gz">
|
---|
| 9 | <!ENTITY gptfdisk-download-ftp " ">
|
---|
[3bb415b] | 10 | <!ENTITY gptfdisk-md5sum "07b625a583b66c8c5840be5923f3e3fe">
|
---|
| 11 | <!ENTITY gptfdisk-size "195 KB">
|
---|
| 12 | <!ENTITY gptfdisk-buildsize "3.1 MB">
|
---|
[810a2c6] | 13 | <!ENTITY gptfdisk-time "less than 0.1 SBU">
|
---|
| 14 | ]>
|
---|
| 15 |
|
---|
| 16 | <sect1 id="gptfdisk" xreflabel="gptfdisk-&gptfdisk-version;">
|
---|
| 17 | <?dbhtml filename="gptfdisk.html"?>
|
---|
| 18 |
|
---|
| 19 | <sect1info>
|
---|
| 20 | <othername>$LastChangedBy$</othername>
|
---|
| 21 | <date>$Date$</date>
|
---|
| 22 | </sect1info>
|
---|
| 23 |
|
---|
| 24 | <title>gptfdisk-&gptfdisk-version;</title>
|
---|
| 25 |
|
---|
| 26 | <indexterm zone="gptfdisk">
|
---|
| 27 | <primary sortas="a-gptfdisk">gptfdisk</primary>
|
---|
| 28 | </indexterm>
|
---|
| 29 |
|
---|
| 30 | <sect2 role="package">
|
---|
| 31 | <title>Introduction to gptfdisk</title>
|
---|
| 32 |
|
---|
| 33 | <para>
|
---|
| 34 | The <application>gptfdisk</application> package is a set of programs for
|
---|
| 35 | creation and maintenance of GUID Partition Table (GPT) disk drives. A
|
---|
| 36 | GPT partitioned disk is required for drives greater than 2 TB and is a
|
---|
[2cfb576b] | 37 | modern replacement for legacy PC-BIOS partitioned disk drives that use a
|
---|
[810a2c6] | 38 | Master Boot Record (MBR). The main program, <command>gdisk</command>,
|
---|
| 39 | has an inteface similar to the classic <command>fdisk</command> program.
|
---|
| 40 | </para>
|
---|
| 41 |
|
---|
[4ebade44] | 42 | &lfs80_checked;
|
---|
[810a2c6] | 43 |
|
---|
| 44 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 45 | <itemizedlist spacing="compact">
|
---|
| 46 | <listitem>
|
---|
| 47 | <para>Download (HTTP): <ulink url="&gptfdisk-download-http;"/></para>
|
---|
| 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
| 50 | <para>Download (FTP): <ulink url="&gptfdisk-download-ftp;"/></para>
|
---|
| 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>Download MD5 sum: &gptfdisk-md5sum;</para>
|
---|
| 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
| 56 | <para>Download size: &gptfdisk-size;</para>
|
---|
| 57 | </listitem>
|
---|
| 58 | <listitem>
|
---|
| 59 | <para>Estimated disk space required: &gptfdisk-buildsize;</para>
|
---|
| 60 | </listitem>
|
---|
| 61 | <listitem>
|
---|
| 62 | <para>Estimated build time: &gptfdisk-time;</para>
|
---|
| 63 | </listitem>
|
---|
| 64 | </itemizedlist>
|
---|
| 65 |
|
---|
| 66 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 67 | <itemizedlist spacing='compact'>
|
---|
| 68 | <listitem>
|
---|
[54f740f] | 69 | <para>Recommended patch: <ulink
|
---|
[810a2c6] | 70 | url="&patch-root;/gptfdisk-&gptfdisk-version;-convenience-1.patch"/></para>
|
---|
[0d7900a] | 71 | </listitem>
|
---|
[810a2c6] | 72 | </itemizedlist>
|
---|
| 73 |
|
---|
| 74 | <bridgehead renderas="sect3">gptfdisk Dependencies</bridgehead>
|
---|
| 75 |
|
---|
[73c05ba] | 76 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 77 | <para role="recommended">
|
---|
| 78 | <xref linkend="popt"/> (required to build sgdisk)
|
---|
| 79 | </para>
|
---|
| 80 |
|
---|
[810a2c6] | 81 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 82 | <para role="optional">
|
---|
| 83 | <xref linkend="icu"/> (for Unicode partition names)
|
---|
| 84 | </para>
|
---|
| 85 |
|
---|
| 86 | <para condition="html" role="usernotes">
|
---|
| 87 | User Notes: <ulink url="&blfs-wiki;/gptdisk"/>
|
---|
| 88 | </para>
|
---|
| 89 | </sect2>
|
---|
| 90 |
|
---|
| 91 | <sect2 role="installation">
|
---|
| 92 | <title>Installation of gptfdisk</title>
|
---|
| 93 |
|
---|
| 94 | <para>
|
---|
[0d7900a] | 95 | The <application>gptfdisk</application> package comes with a
|
---|
[810a2c6] | 96 | rudimentary <filename>Makefile</filename>. First we update it
|
---|
| 97 | to provide a simple build and install interface.
|
---|
| 98 | Install <application>gptfdisk</application> by running the following
|
---|
| 99 | commands:
|
---|
| 100 | </para>
|
---|
| 101 |
|
---|
| 102 | <screen><userinput>patch -Np1 -i ../gptfdisk-&gptfdisk-version;-convenience-1.patch &&
|
---|
[73c05ba] | 103 | make POPT=1</userinput></screen>
|
---|
[810a2c6] | 104 |
|
---|
| 105 | <para>This package does not come with a test suite.</para>
|
---|
| 106 |
|
---|
| 107 | <para>
|
---|
| 108 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 109 | </para>
|
---|
| 110 |
|
---|
[73c05ba] | 111 | <screen role="root"><userinput>make POPT=1 install</userinput></screen>
|
---|
[810a2c6] | 112 | </sect2>
|
---|
| 113 |
|
---|
| 114 | <sect2 role="commands">
|
---|
| 115 | <title>Command Explanations</title>
|
---|
| 116 |
|
---|
| 117 | <para>
|
---|
[3bb415b] | 118 | <parameter>POPT=1</parameter>: Adding this option to the
|
---|
| 119 | <command>make</command> command is required to build
|
---|
| 120 | <command>sgdisk</command>. If used, this option needs to be on both the
|
---|
| 121 | <command>make</command> and the <command>make install</command> line.
|
---|
[810a2c6] | 122 | </para>
|
---|
| 123 |
|
---|
| 124 | <para>
|
---|
[3bb415b] | 125 | <option>ICU=1</option>: Adding this option to the <command>make</command>
|
---|
| 126 | command allows use of Unicode characters in partition names.
|
---|
[810a2c6] | 127 | </para>
|
---|
| 128 |
|
---|
| 129 | </sect2>
|
---|
| 130 |
|
---|
| 131 | <sect2 role="content">
|
---|
| 132 | <title>Contents</title>
|
---|
| 133 |
|
---|
| 134 | <segmentedlist>
|
---|
| 135 | <segtitle>Installed Programs</segtitle>
|
---|
| 136 |
|
---|
| 137 | <seglistitem>
|
---|
| 138 | <seg>
|
---|
| 139 | cgdisk, gdisk, fixparts, and sgdisk
|
---|
| 140 | </seg>
|
---|
| 141 | </seglistitem>
|
---|
| 142 | </segmentedlist>
|
---|
| 143 |
|
---|
| 144 | <variablelist>
|
---|
| 145 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 146 | <?dbfo list-presentation="list"?>
|
---|
| 147 | <?dbhtml list-presentation="table"?>
|
---|
| 148 |
|
---|
| 149 | <varlistentry id="cgdisk">
|
---|
| 150 | <term><command>cgdisk</command></term>
|
---|
| 151 | <listitem>
|
---|
[0d7900a] | 152 | <para>is an is a curses-based text-mode tool for
|
---|
[810a2c6] | 153 | manipulating GPT partitions.</para>
|
---|
| 154 | <indexterm zone="gptfdisk cgdisk">
|
---|
| 155 | <primary sortas="b-cgdisk">cgdisk</primary>
|
---|
| 156 | </indexterm>
|
---|
| 157 | </listitem>
|
---|
| 158 | </varlistentry>
|
---|
| 159 |
|
---|
| 160 | <varlistentry id="gdisk">
|
---|
| 161 | <term><command>gdisk</command></term>
|
---|
| 162 | <listitem>
|
---|
[0d7900a] | 163 | <para>is an interactive text-mode tool
|
---|
[810a2c6] | 164 | for manipulating GPT partitions.</para>
|
---|
| 165 | <indexterm zone="gptfdisk gdisk">
|
---|
| 166 | <primary sortas="b-gdisk">gdisk</primary>
|
---|
| 167 | </indexterm>
|
---|
| 168 | </listitem>
|
---|
| 169 | </varlistentry>
|
---|
| 170 |
|
---|
| 171 | <varlistentry id="fixparts">
|
---|
| 172 | <term><command>fixparts</command></term>
|
---|
| 173 | <listitem>
|
---|
| 174 | <para>repairs mis-formatted MBR based disk partitions.</para>
|
---|
| 175 | <indexterm zone="gptfdisk fixparts">
|
---|
| 176 | <primary sortas="b-fixparts">fixparts</primary>
|
---|
| 177 | </indexterm>
|
---|
| 178 | </listitem>
|
---|
| 179 | </varlistentry>
|
---|
| 180 |
|
---|
| 181 | <varlistentry id="sgdisk">
|
---|
| 182 | <term><command>sgdisk</command></term>
|
---|
| 183 | <listitem>
|
---|
| 184 | <para>is a partition manipulation program for
|
---|
[e27e7bd] | 185 | GPT partitions similar to <command>sfdisk</command>.</para>
|
---|
[810a2c6] | 186 | <indexterm zone="gptfdisk sgdisk">
|
---|
| 187 | <primary sortas="b-sgdisk">sgdisk</primary>
|
---|
| 188 | </indexterm>
|
---|
| 189 | </listitem>
|
---|
| 190 | </varlistentry>
|
---|
| 191 |
|
---|
| 192 | </variablelist>
|
---|
| 193 | </sect2>
|
---|
| 194 | </sect1>
|
---|