source: postlfs/filesystems/gptfdisk.xml@ bc38b45

10.1 11.0 ken/refactor-virt lazarus qt5new trunk xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since bc38b45 was bc38b45, checked in by Pierre Labastie <pieere@…>, 10 months ago

tk-8.6.11.1
mesa-20.3.3
gptfdisk-1.0.6
cmake-3.19.3
Mako-1.1.4 (python module)
elogind-249.6.2

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@24115 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 6.1 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 "68da8921f0df2f1aa559f360de9c86dd">
10 <!ENTITY gptfdisk-size "202 KB">
11 <!ENTITY gptfdisk-buildsize "3.3 MB">
12 <!ENTITY gptfdisk-time "less than 0.1 SBU (0.2 SBU for tests)">
13]>
14
15<sect1 id="gptfdisk" xreflabel="gptfdisk-&gptfdisk-version;">
16 <?dbhtml filename="gptfdisk.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>gptfdisk-&gptfdisk-version;</title>
24
25 <indexterm zone="gptfdisk">
26 <primary sortas="a-gptfdisk">gptfdisk</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to gptfdisk</title>
31
32 <para>
33 The <application>gptfdisk</application> package is a set of programs for
34 creation and maintenance of GUID Partition Table (GPT) disk drives. A
35 GPT partitioned disk is required for drives greater than 2 TB and is a
36 modern replacement for legacy PC-BIOS partitioned disk drives that use a
37 Master Boot Record (MBR). The main program, <command>gdisk</command>,
38 has an inteface similar to the classic <command>fdisk</command> program.
39 </para>
40
41 &lfs10_checked;
42
43 <bridgehead renderas="sect3">Package Information</bridgehead>
44 <itemizedlist spacing="compact">
45 <listitem>
46 <para>
47 Download (HTTP): <ulink url="&gptfdisk-download-http;"/>
48 </para>
49 </listitem>
50 <listitem>
51 <para>
52 Download (FTP): <ulink url="&gptfdisk-download-ftp;"/>
53 </para>
54 </listitem>
55 <listitem>
56 <para>
57 Download MD5 sum: &gptfdisk-md5sum;
58 </para>
59 </listitem>
60 <listitem>
61 <para>
62 Download size: &gptfdisk-size;
63 </para>
64 </listitem>
65 <listitem>
66 <para>
67 Estimated disk space required: &gptfdisk-buildsize;
68 </para>
69 </listitem>
70 <listitem>
71 <para>
72 Estimated build time: &gptfdisk-time;
73 </para>
74 </listitem>
75 </itemizedlist>
76
77 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
78 <itemizedlist spacing='compact'>
79 <listitem>
80 <para>
81 Recommended patch: <ulink url=
82 "&patch-root;/gptfdisk-&gptfdisk-version;-convenience-1.patch"/>
83 </para>
84 </listitem>
85 </itemizedlist>
86
87 <bridgehead renderas="sect3">gptfdisk Dependencies</bridgehead>
88
89 <bridgehead renderas="sect4">Required</bridgehead>
90 <para role="required">
91 <xref linkend="popt"/>
92 </para>
93
94 <bridgehead renderas="sect4">Optional</bridgehead>
95 <para role="optional">
96 <xref linkend="icu"/>
97 </para>
98
99 <para condition="html" role="usernotes">
100 User Notes: <ulink url="&blfs-wiki;/gptdisk"/>
101 </para>
102 </sect2>
103
104 <sect2 role="installation">
105 <title>Installation of gptfdisk</title>
106
107 <para>
108 The <application>gptfdisk</application> package comes with a
109 rudimentary <filename>Makefile</filename>. First we update it
110 to provide a simple build and install interface and fix the
111 location of a header file.
112 Install <application>gptfdisk</application> by running the following
113 commands:
114 </para>
115
116<screen><userinput>patch -Np1 -i ../gptfdisk-&gptfdisk-version;-convenience-1.patch &amp;&amp;
117sed -i 's|ncursesw/||' gptcurses.cc &amp;&amp;
118
119make</userinput></screen>
120
121 <para>
122 To test the results, issue: <command>make test</command>.
123 </para>
124
125 <para>
126 Now, as the <systemitem class="username">root</systemitem> user:
127 </para>
128
129<screen role="root"><userinput>make install</userinput></screen>
130 </sect2>
131
132 <sect2 role="commands">
133 <title>Command Explanations</title>
134
135 <para>
136 <command>patch -Np1 ...</command>: This patch modifies the
137 <filename>Makefile</filename> file so that it provides an
138 <quote>install</quote> target.
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>
164 <para>
165 is an ncurses-based tool for manipulating GPT partitions.
166 </para>
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>
176 <para>
177 is an interactive text-mode tool for manipulating GPT partitions.
178 </para>
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>
188 <para>
189 repairs mis-formatted MBR based disk partitions.
190 </para>
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>
200 <para>
201 is a partition manipulation program for
202 GPT partitions similar to <command>sfdisk</command>.
203 </para>
204 <indexterm zone="gptfdisk sgdisk">
205 <primary sortas="b-sgdisk">sgdisk</primary>
206 </indexterm>
207 </listitem>
208 </varlistentry>
209
210 </variablelist>
211 </sect2>
212</sect1>
Note: See TracBrowser for help on using the repository browser.