source: postlfs/filesystems/gptfdisk.xml@ 209472f4

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 209472f4 was 3f2db3a6, checked in by Pierre Labastie <pierre.labastie@…>, 19 months ago

Remove sect1info tags

They only contain a date tag that is nowhere used.

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