source: postlfs/filesystems/gptfdisk.xml@ f59d30d0

11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/xf86-video-removal
Last change on this file since f59d30d0 was f59d30d0, checked in by Bruce Dubbs <bdubbs@…>, 19 months ago

Make gptfdisk work properly with util-linux-2.38.

  • Property mode set to 100644
File size: 6.2 KB
Line 
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 "&sourceforge-dl;/gptfdisk/gptfdisk-&gptfdisk-version;.tar.gz">
8 <!ENTITY gptfdisk-download-ftp " ">
9 <!ENTITY gptfdisk-md5sum "01c11ecfa454096543562e3068530e01">
10 <!ENTITY gptfdisk-size "212 KB">
11 <!ENTITY gptfdisk-buildsize "2.3 MB">
12 <!ENTITY gptfdisk-time "less than 0.1 SBU (add 0.2 SBU for tests)">
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
35 modern replacement for legacy PC-BIOS partitioned disk drives that use a
36 Master Boot Record (MBR). The main program, <command>gdisk</command>,
37 has an interface similar to the classic <command>fdisk</command> program.
38 </para>
39
40 &lfs112_checked;
41
42 <bridgehead renderas="sect3">Package Information</bridgehead>
43 <itemizedlist spacing="compact">
44 <listitem>
45 <para>
46 Download (HTTP): <ulink url="&gptfdisk-download-http;"/>
47 </para>
48 </listitem>
49 <listitem>
50 <para>
51 Download (FTP): <ulink url="&gptfdisk-download-ftp;"/>
52 </para>
53 </listitem>
54 <listitem>
55 <para>
56 Download MD5 sum: &gptfdisk-md5sum;
57 </para>
58 </listitem>
59 <listitem>
60 <para>
61 Download size: &gptfdisk-size;
62 </para>
63 </listitem>
64 <listitem>
65 <para>
66 Estimated disk space required: &gptfdisk-buildsize;
67 </para>
68 </listitem>
69 <listitem>
70 <para>
71 Estimated build time: &gptfdisk-time;
72 </para>
73 </listitem>
74 </itemizedlist>
75
76 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
77 <itemizedlist spacing='compact'>
78 <listitem>
79 <para>
80 Recommended patch: <ulink url=
81 "&patch-root;/gptfdisk-&gptfdisk-version;-convenience-1.patch"/>
82 </para>
83 </listitem>
84 </itemizedlist>
85
86 <bridgehead renderas="sect3">gptfdisk Dependencies</bridgehead>
87
88 <bridgehead renderas="sect4">Required</bridgehead>
89 <para role="required">
90 <xref linkend="popt"/>
91 </para>
92
93 <bridgehead renderas="sect4">Optional</bridgehead>
94 <para role="optional">
95 <xref linkend="icu"/>
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>
107 The <application>gptfdisk</application> package comes with a
108 rudimentary <filename>Makefile</filename>. First we update it
109 to provide a simple build and install interface and fix the
110 location of a header file.
111 Install <application>gptfdisk</application> by running the following
112 commands:
113 </para>
114
115<screen><userinput>patch -Np1 -i ../gptfdisk-&gptfdisk-version;-convenience-1.patch &amp;&amp;
116sed -i 's|ncursesw/||' gptcurses.cc &amp;&amp;
117sed -i 's|sbin|usr/sbin|' Makefile &amp;&amp;
118sed -i '/UUID_H/s/^.*$/#if defined (_UUID_UUID_H) || defined (_UL_LIBUUID_UUID_H)/' guid.cc &amp;&amp;
119
120make</userinput></screen>
121
122 <para>
123 To test the results, issue: <command>make test</command>.
124 </para>
125
126 <para>
127 Now, as the <systemitem class="username">root</systemitem> user:
128 </para>
129
130<screen role="root"><userinput>make install</userinput></screen>
131 </sect2>
132
133 <sect2 role="commands">
134 <title>Command Explanations</title>
135
136 <para>
137 <command>patch -Np1 ...</command>: This patch modifies the
138 <filename>Makefile</filename> file so that it provides an
139 <quote>install</quote> target.
140 </para>
141
142 </sect2>
143
144 <sect2 role="content">
145 <title>Contents</title>
146
147 <segmentedlist>
148 <segtitle>Installed Programs</segtitle>
149
150 <seglistitem>
151 <seg>
152 cgdisk, gdisk, fixparts, and sgdisk
153 </seg>
154 </seglistitem>
155 </segmentedlist>
156
157 <variablelist>
158 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
159 <?dbfo list-presentation="list"?>
160 <?dbhtml list-presentation="table"?>
161
162 <varlistentry id="cgdisk">
163 <term><command>cgdisk</command></term>
164 <listitem>
165 <para>
166 is an ncurses-based tool for manipulating GPT partitions
167 </para>
168 <indexterm zone="gptfdisk cgdisk">
169 <primary sortas="b-cgdisk">cgdisk</primary>
170 </indexterm>
171 </listitem>
172 </varlistentry>
173
174 <varlistentry id="gdisk">
175 <term><command>gdisk</command></term>
176 <listitem>
177 <para>
178 is an interactive text-mode tool for manipulating GPT partitions
179 </para>
180 <indexterm zone="gptfdisk gdisk">
181 <primary sortas="b-gdisk">gdisk</primary>
182 </indexterm>
183 </listitem>
184 </varlistentry>
185
186 <varlistentry id="fixparts">
187 <term><command>fixparts</command></term>
188 <listitem>
189 <para>
190 repairs mis-formatted MBR based disk partitions
191 </para>
192 <indexterm zone="gptfdisk fixparts">
193 <primary sortas="b-fixparts">fixparts</primary>
194 </indexterm>
195 </listitem>
196 </varlistentry>
197
198 <varlistentry id="sgdisk">
199 <term><command>sgdisk</command></term>
200 <listitem>
201 <para>
202 is a partition manipulation program for
203 GPT partitions similar to <command>sfdisk</command>
204 </para>
205 <indexterm zone="gptfdisk sgdisk">
206 <primary sortas="b-sgdisk">sgdisk</primary>
207 </indexterm>
208 </listitem>
209 </varlistentry>
210
211 </variablelist>
212 </sect2>
213
214</sect1>
Note: See TracBrowser for help on using the repository browser.