gpt+文件系统+linux,用gdisk整合gpt/ext4分区大小

[root@tanghuimin ~]# gdisk /dev/sda

GPT fdisk (gdisk) version 0.8.10

Partition table scan:

MBR: protective

BSD: not present

APM: not present

GPT: present

Found valid GPT with protective MBR; using GPT.

Command (? for help): p

Disk /dev/sda: 976773168 sectors, 465.8 GiB

Logical sector size: 512 bytes

Disk identifier (GUID): FB42D8BC-9B54-4B3B-A16C-A39A39B902FF

Partition table holds up to 128 entries

First usable sector is 34, last usable sector is 976773134

Partitions will be aligned on 2048-sector boundaries

Total free space is 2029 sectors (1014.5 KiB)

Number Start (sector) End (sector) Size Code Name

1 2048 907141119 432.6 GiB 0700

2 907141120 948101119 19.5 GiB 0700

3 948101120 968581119 9.8 GiB EF00

4 968581120 976773119 3.9 GiB 8200

Command (?

for help): d

Partition number (1-4): 1

Command (? for help): p

Disk /dev/sda: 976773168 sectors, 465.8 GiB

Logical sector size: 512 bytes

Disk identifier (GUID): FB42D8BC-9B54-4B3B-A16C-A39A39B902FF

Partition table holds up to 128 entries

First usable sector is 34, last usable sector is 976773134

Partitions will be aligned on 2048-sector boundaries

Total free space is 907141101 sectors (432.6 GiB)

Number Start (sector) End (sector) Size Code Name

2 907141120 948101119 19.5 GiB 0700

3 948101120 968581119 9.8 GiB EF00

4 968581120 976773119 3.9 GiB 8200

Command (?

for help): n

Partition number (1-128, default 1):

First sector (34-976773134, default = 2048) or {+-}size{KMGTP}:

Last sector (2048-907141119, default = 907141119) or

{+-}size{KMGTP}: 326G

Current type is 'Linux filesystem'

Hex code or GUID (L to show codes, Enter = 8300):

Changed type of partition to 'Linux filesystem'

Command

(? for help): w

Final checks complete. About to write GPT data. THIS WILL

OVERWRITE EXISTING

PARTITIONS!!

Do you want to proceed? (Y/N): y

OK; writing new GUID partition table (GPT) to /dev/sda.

Warning: The kernel is still using the old partition table.

The new table will be used at the next reboot.

The operation has completed successfully.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值