<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh-Hans-CN">
	<id>https://wiki.riguz.com/index.php?action=history&amp;feed=atom&amp;title=Gentoo%3A%E4%BD%BF%E7%94%A8Gdisk%E5%88%86%E5%8C%BA</id>
	<title>Gentoo:使用Gdisk分区 - 版本历史</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.riguz.com/index.php?action=history&amp;feed=atom&amp;title=Gentoo%3A%E4%BD%BF%E7%94%A8Gdisk%E5%88%86%E5%8C%BA"/>
	<link rel="alternate" type="text/html" href="https://wiki.riguz.com/index.php?title=Gentoo:%E4%BD%BF%E7%94%A8Gdisk%E5%88%86%E5%8C%BA&amp;action=history"/>
	<updated>2026-06-02T23:55:12Z</updated>
	<subtitle>本wiki上该页面的版本历史</subtitle>
	<generator>MediaWiki 1.42.3</generator>
	<entry>
		<id>https://wiki.riguz.com/index.php?title=Gentoo:%E4%BD%BF%E7%94%A8Gdisk%E5%88%86%E5%8C%BA&amp;diff=1275&amp;oldid=prev</id>
		<title>imported&gt;Soleverlee：​以“fdisk不支持gpt分区，如果需要对GPT格式磁盘进行修改，可以使用gdisk(sys-apps/gptfdisk)。 &lt;pre&gt; gdisk /dev/sda  GPT fdisk (gdisk) version 0.8.6...”为内容创建页面</title>
		<link rel="alternate" type="text/html" href="https://wiki.riguz.com/index.php?title=Gentoo:%E4%BD%BF%E7%94%A8Gdisk%E5%88%86%E5%8C%BA&amp;diff=1275&amp;oldid=prev"/>
		<updated>2015-07-20T07:13:16Z</updated>

		<summary type="html">&lt;p&gt;以“fdisk不支持gpt分区，如果需要对GPT格式磁盘进行修改，可以使用gdisk(sys-apps/gptfdisk)。 &amp;lt;pre&amp;gt; gdisk /dev/sda  GPT fdisk (gdisk) version 0.8.6...”为内容创建页面&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;fdisk不支持gpt分区，如果需要对GPT格式磁盘进行修改，可以使用gdisk(sys-apps/gptfdisk)。&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
gdisk /dev/sda&lt;br /&gt;
&lt;br /&gt;
GPT fdisk (gdisk) version 0.8.6&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Partition table scan:&lt;br /&gt;
MBR: protective&lt;br /&gt;
BSD: not present&lt;br /&gt;
APM: not present&lt;br /&gt;
GPT: present&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Found valid GPT with protective MBR; using GPT.&lt;br /&gt;
Command (? for help): p&lt;br /&gt;
Disk /dev/sda: 500118192 sectors, 238.5 GiB&lt;br /&gt;
Logical sector size: 512 bytes&lt;br /&gt;
Disk identifier (GUID): C72786B7-C1FB-4A60-8F5F-216FA9097A98&lt;br /&gt;
Partition table holds up to 128 entries&lt;br /&gt;
First usable sector is 34, last usable sector is 500118158&lt;br /&gt;
Partitions will be aligned on 2048-sector boundaries&lt;br /&gt;
Total free space is 123357805 sectors (58.8 GiB)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Number  Start (sector)    End (sector)  Size       Code  Name&lt;br /&gt;
1            2048          616447   300.0 MiB   2700  Basic data partition&lt;br /&gt;
2          616448          821247   100.0 MiB   EF00  EFI system partition&lt;br /&gt;
3          821248         1083391   128.0 MiB   0C01  Microsoft reserved part&lt;br /&gt;
4         1083392       376762367   179.1 GiB   0700  Basic data partition&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Command (? for help): n&lt;br /&gt;
Partition number (5-128, default 5):&lt;br /&gt;
First sector (34-500118158, default = 376762368) or {+-}size{KMGTP}:&lt;br /&gt;
Last sector (376762368-500118158, default = 500118158) or {+-}size{KMGTP}: +100M&lt;br /&gt;
Current type is &amp;#039;Linux filesystem&amp;#039;&lt;br /&gt;
Hex code or GUID (L to show codes, Enter = 8300):&lt;br /&gt;
Changed type of partition to &amp;#039;Linux filesystem&amp;#039;&lt;br /&gt;
Entering GPTPart::SetName(const UnicodeString...)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Command (? for help): n&lt;br /&gt;
Partition number (6-128, default 6):&lt;br /&gt;
First sector (34-500118158, default = 376967168) or {+-}size{KMGTP}:&lt;br /&gt;
Last sector (376967168-500118158, default = 500118158) or {+-}size{KMGTP}: +1G&lt;br /&gt;
Current type is &amp;#039;Linux filesystem&amp;#039;&lt;br /&gt;
Hex code or GUID (L to show codes, Enter = 8300): 8200&lt;br /&gt;
Changed type of partition to &amp;#039;Linux swap&amp;#039;&lt;br /&gt;
Entering GPTPart::SetName(const UnicodeString...)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Command (? for help): n&lt;br /&gt;
Partition number (7-128, default 7):&lt;br /&gt;
First sector (34-500118158, default = 379064320) or {+-}size{KMGTP}:&lt;br /&gt;
Last sector (379064320-500118158, default = 500118158) or {+-}size{KMGTP}:&lt;br /&gt;
Current type is &amp;#039;Linux filesystem&amp;#039;&lt;br /&gt;
Hex code or GUID (L to show codes, Enter = 8300):&lt;br /&gt;
Changed type of partition to &amp;#039;Linux filesystem&amp;#039;&lt;br /&gt;
Entering GPTPart::SetName(const UnicodeString...)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Command (? for help): p&lt;br /&gt;
Disk /dev/sda: 500118192 sectors, 238.5 GiB&lt;br /&gt;
Logical sector size: 512 bytes&lt;br /&gt;
Disk identifier (GUID): C72786B7-C1FB-4A60-8F5F-216FA9097A98&lt;br /&gt;
Partition table holds up to 128 entries&lt;br /&gt;
First usable sector is 34, last usable sector is 500118158&lt;br /&gt;
Partitions will be aligned on 2048-sector boundaries&lt;br /&gt;
Total free space is 2014 sectors (1007.0 KiB)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Number  Start (sector)    End (sector)  Size       Code  Name&lt;br /&gt;
1            2048          616447   300.0 MiB   2700  Basic data partition&lt;br /&gt;
2          616448          821247   100.0 MiB   EF00  EFI system partition&lt;br /&gt;
3          821248         1083391   128.0 MiB   0C01  Microsoft reserved part&lt;br /&gt;
4         1083392       376762367   179.1 GiB   0700  Basic data partition&lt;br /&gt;
5       376762368       376967167   100.0 MiB   8300  Linux filesystem&lt;br /&gt;
6       376967168       379064319   1024.0 MiB  8200  Linux swap&lt;br /&gt;
7       379064320       500118158   57.7 GiB    8300  Linux filesystem&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Command (? for help): w&lt;br /&gt;
Final checks complete. About to write GPT data. THIS WILL OVERWRITE EXISTING&lt;br /&gt;
PARTITIONS!!&lt;br /&gt;
Do you want to proceed? (Y/N): y&lt;br /&gt;
OK; writing new GUID partition table (GPT) to /dev/sda.&lt;br /&gt;
The operation has completed successfully.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Linux/Unix]]&lt;/div&gt;</summary>
		<author><name>imported&gt;Soleverlee</name></author>
	</entry>
</feed>