分页: 1 / 1

分区教训

发表于 : 2015-07-30 22:23
自由建客
GPT,无论用 BIOS 还是 UEFI。开头都分一个小的分区,最小 1M,我给 10M,类型为 21686148-6449-6E6F-744E-656564454649,fdisk 中为 04 BIOS boot。
最后一个分区不要用完磁盘,末尾 1M 空出不要用,我空 10M。

Re: 分区教训

发表于 : 2015-07-30 22:29
onlylove
这是为何?

Re: 分区教训

发表于 : 2015-07-31 0:58
adagio
onlylove 写了:这是为何?
同问,难道还能兼容MBR不成?

Re: 分区教训

发表于 : 2015-07-31 1:18
primes
什么格式?fat32?

Re: 分区教训

发表于 : 2015-07-31 7:44
poloshiao
GPT
fdisk
1. Ubuntu 14.04 及 以前的 fdisk 不適用於 GPT 其結果 不正確 無參考價值
http://manpages.ubuntu.com/manpages/tru ... isk.8.html
fdisk does not understand GUID partition tables (GPTs) and it is not designed for large partitions. In these cases, use the more advanced GNU parted(8).
1-1. 請使用 gdisk 或 parted (圖形前端 gparted)

2. Ubuntu 14.10 及 以後的 fdisk 適用於 GPT
http://manpages.ubuntu.com/manpages/uto ... isk.8.html
fdisk is a dialog-driven program for creation and manipulation of partition tables. It understands GPT, MBR, Sun, SGI and BSD partition tables.

3. 如果不是 ubuntu 而是其他 作業系統 請查一下 fdisk 版本
fdisk -V # V 大寫

Re: 分区教训

发表于 : 2015-07-31 8:17
xfcy
poloshiao 写了:
GPT
fdisk
1. Ubuntu 14.04 及 以前的 fdisk 不適用於 GPT 其結果 不正確 無參考價值
http://manpages.ubuntu.com/manpages/tru ... isk.8.html
fdisk does not understand GUID partition tables (GPTs) and it is not designed for large partitions. In these cases, use the more advanced GNU parted(8).
1-1. 請使用 gdisk 或 parted (圖形前端 gparted)

2. Ubuntu 14.10 及 以後的 fdisk 適用於 GPT
http://manpages.ubuntu.com/manpages/uto ... isk.8.html
fdisk is a dialog-driven program for creation and manipulation of partition tables. It understands GPT, MBR, Sun, SGI and BSD partition tables.

3. 如果不是 ubuntu 而是其他 作業系統 請查一下 fdisk 版本
fdisk -V # V 大寫
也就是说kubuntu14.04也不支持GPT分区了?

Re: 分区教训

发表于 : 2015-07-31 8:27
poloshiao
也就是说kubuntu14.04也不支持GPT分区了?
1. 不是
上面只有說 fdisk 指令 不支持 GPT
可以使用 parted gparted gdisk 支持 GPT

2. 補充
kubuntu14.04
2-1. 如果 開機硬盤是 GPT
2-1-1. 開機韌體是 Legacy Bios
開機硬盤需要額外分割一個 BIOS Boot Partition 分割類型 bios_grub 不需掛載
參見
http://mcs.une.edu.au/doc/grub2-tools/g ... stallation
4.4 BIOS installation
GPT
2-1-2. 開機韌體是 UEFI
開機硬盤需要額外分割一個 efi system Partition 分割類型 FAT32 或 EFI boot partition 掛載 /boot/efi 參見
https://help.ubuntu.com/community/UEFI# ... _partition
2-2. 如果 非開機硬盤是 GPT
最多可以分割成 128 個主分割區
沒有特別要求跟 2-1 類似的 boot partition 或 system partition