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 " ">
|
---|
10 | <!ENTITY gptfdisk-md5sum "2061f917af084215898d4fea04d8388f">
|
---|
11 | <!ENTITY gptfdisk-size "192 KB">
|
---|
12 | <!ENTITY gptfdisk-buildsize "2.1 MB">
|
---|
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
|
---|
37 | modern replacement for legacy PC-BIOS partitioned disk drives that use a
|
---|
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 |
|
---|
42 | &lfs77_checked;
|
---|
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>
|
---|
69 | <para>Recommended patch: <ulink
|
---|
70 | url="&patch-root;/gptfdisk-&gptfdisk-version;-convenience-1.patch"/></para>
|
---|
71 | </listitem>
|
---|
72 | </itemizedlist>
|
---|
73 |
|
---|
74 | <bridgehead renderas="sect3">gptfdisk Dependencies</bridgehead>
|
---|
75 |
|
---|
76 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
77 | <para role="optional">
|
---|
78 | <xref linkend="popt"/> (required to build sgdisk) and
|
---|
79 | <xref linkend="icu"/> (for Unicode partition names)
|
---|
80 | </para>
|
---|
81 |
|
---|
82 | <para condition="html" role="usernotes">
|
---|
83 | User Notes: <ulink url="&blfs-wiki;/gptdisk"/>
|
---|
84 | </para>
|
---|
85 | </sect2>
|
---|
86 |
|
---|
87 | <sect2 role="installation">
|
---|
88 | <title>Installation of gptfdisk</title>
|
---|
89 |
|
---|
90 | <para>
|
---|
91 | The <application>gptfdisk</application> package comes with a
|
---|
92 | rudimentary <filename>Makefile</filename>. First we update it
|
---|
93 | to provide a simple build and install interface.
|
---|
94 | Install <application>gptfdisk</application> by running the following
|
---|
95 | commands:
|
---|
96 | </para>
|
---|
97 |
|
---|
98 | <screen><userinput>patch -Np1 -i ../gptfdisk-&gptfdisk-version;-convenience-1.patch &&
|
---|
99 | make</userinput></screen>
|
---|
100 |
|
---|
101 | <para>This package does not come with a test suite.</para>
|
---|
102 |
|
---|
103 | <para>
|
---|
104 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
105 | </para>
|
---|
106 |
|
---|
107 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
108 | </sect2>
|
---|
109 |
|
---|
110 | <sect2 role="commands">
|
---|
111 | <title>Command Explanations</title>
|
---|
112 |
|
---|
113 | <para>
|
---|
114 | <option>ICU=1</option>: Adding this option to the <command>make</command>
|
---|
115 | command allows use of Unicode characters in partition names.
|
---|
116 | </para>
|
---|
117 |
|
---|
118 | <para>
|
---|
119 | <option>POPT=1</option>: Adding this option to the <command>make</command>
|
---|
120 | command is required to build <command>sgdisk</command>. If used,
|
---|
121 | this option needs to be on both the <command>make</command> and the
|
---|
122 | <command>make install</command> line.
|
---|
123 | </para>
|
---|
124 |
|
---|
125 | </sect2>
|
---|
126 |
|
---|
127 | <sect2 role="content">
|
---|
128 | <title>Contents</title>
|
---|
129 |
|
---|
130 | <segmentedlist>
|
---|
131 | <segtitle>Installed Programs</segtitle>
|
---|
132 |
|
---|
133 | <seglistitem>
|
---|
134 | <seg>
|
---|
135 | cgdisk, gdisk, fixparts, and sgdisk
|
---|
136 | </seg>
|
---|
137 | </seglistitem>
|
---|
138 | </segmentedlist>
|
---|
139 |
|
---|
140 | <variablelist>
|
---|
141 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
142 | <?dbfo list-presentation="list"?>
|
---|
143 | <?dbhtml list-presentation="table"?>
|
---|
144 |
|
---|
145 | <varlistentry id="cgdisk">
|
---|
146 | <term><command>cgdisk</command></term>
|
---|
147 | <listitem>
|
---|
148 | <para>is an is a curses-based text-mode tool for
|
---|
149 | manipulating GPT partitions.</para>
|
---|
150 | <indexterm zone="gptfdisk cgdisk">
|
---|
151 | <primary sortas="b-cgdisk">cgdisk</primary>
|
---|
152 | </indexterm>
|
---|
153 | </listitem>
|
---|
154 | </varlistentry>
|
---|
155 |
|
---|
156 | <varlistentry id="gdisk">
|
---|
157 | <term><command>gdisk</command></term>
|
---|
158 | <listitem>
|
---|
159 | <para>is an interactive text-mode tool
|
---|
160 | for manipulating GPT partitions.</para>
|
---|
161 | <indexterm zone="gptfdisk gdisk">
|
---|
162 | <primary sortas="b-gdisk">gdisk</primary>
|
---|
163 | </indexterm>
|
---|
164 | </listitem>
|
---|
165 | </varlistentry>
|
---|
166 |
|
---|
167 | <varlistentry id="fixparts">
|
---|
168 | <term><command>fixparts</command></term>
|
---|
169 | <listitem>
|
---|
170 | <para>repairs mis-formatted MBR based disk partitions.</para>
|
---|
171 | <indexterm zone="gptfdisk fixparts">
|
---|
172 | <primary sortas="b-fixparts">fixparts</primary>
|
---|
173 | </indexterm>
|
---|
174 | </listitem>
|
---|
175 | </varlistentry>
|
---|
176 |
|
---|
177 | <varlistentry id="sgdisk">
|
---|
178 | <term><command>sgdisk</command></term>
|
---|
179 | <listitem>
|
---|
180 | <para>is a partition manipulation program for
|
---|
181 | GPT partitions similar to <command>sfdisk</command>.</para>
|
---|
182 | <indexterm zone="gptfdisk sgdisk">
|
---|
183 | <primary sortas="b-sgdisk">sgdisk</primary>
|
---|
184 | </indexterm>
|
---|
185 | </listitem>
|
---|
186 | </varlistentry>
|
---|
187 |
|
---|
188 | </variablelist>
|
---|
189 | </sect2>
|
---|
190 | </sect1>
|
---|