source: postlfs/filesystems/gptfdisk.xml@ 73c05ba

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 73c05ba was 73c05ba, checked in by Bruce Dubbs <bdubbs@…>, 7 years ago

Update gptfdisk dependencies and instructions

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

  • 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
8 "&sourceforge-repo;/project/gptfdisk/gptfdisk/&gptfdisk-version;/gptfdisk-&gptfdisk-version;.tar.gz">
9 <!ENTITY gptfdisk-download-ftp " ">
10 <!ENTITY gptfdisk-md5sum "d7f3d306b083123bcc6f5941efade586">
11 <!ENTITY gptfdisk-size "192 KB">
12 <!ENTITY gptfdisk-buildsize "2.2 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 &lfs80_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">Recommended</bridgehead>
77 <para role="recommended">
78 <xref linkend="popt"/> (required to build sgdisk)
79 </para>
80
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>
95 The <application>gptfdisk</application> package comes with a
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 &amp;&amp;
103make POPT=1</userinput></screen>
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
111<screen role="root"><userinput>make POPT=1 install</userinput></screen>
112 </sect2>
113
114 <sect2 role="commands">
115 <title>Command Explanations</title>
116
117 <para>
118 <option>ICU=1</option>: Adding this option to the <command>make</command>
119 command allows use of Unicode characters in partition names.
120 </para>
121
122 <para>
123 <option>POPT=1</option>: Adding this option to the <command>make</command>
124 command is required to build <command>sgdisk</command>. If used,
125 this option needs to be on both the <command>make</command> and the
126 <command>make install</command> line.
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>
152 <para>is an is a curses-based text-mode tool for
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>
163 <para>is an interactive text-mode tool
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
185 GPT partitions similar to <command>sfdisk</command>.</para>
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>
Note: See TracBrowser for help on using the repository browser.