Difference between revisions of "Install/GPT Partitioning/pt-br"

From Funtoo
Jump to navigation Jump to search
(Created page with "'''Crie a Partição 2''' (swap):")
(Created page with "'''Crie a partição 3''' (root):")
Line 42: Line 42:
}}
}}


'''Create Partition 3''' (root):
'''Crie a partição 3''' (root):


{{console|body=
{{console|body=

Revision as of 18:00, September 20, 2018

Other languages:
English • ‎español • ‎polski • ‎português do Brasil • ‎русский • ‎中文(中国大陆)‎

Guia de Instalação: Particionamento UEFI/GPT

Install Guide, Chapter 4 < Prev Next >

Método UEFI/GPT

   Note

Utilize este método se você estiver interessado em inicializar usando UEFI, e se o menu inicial de inicialização do System Rescue CD estiver preto e branco. Se estiver azul claro, esse método não funcionará! Em vez disso, use as instruções da seção anterior (BIOS/MBR) ou reinicialize o SystemRescueCD no modo UEFI primeiro.

Os comandos de gdisk para criar uma tabela de partição GPT são os seguintes. Adapte os tamanhos das partições de acordo com o necessário. Os valores padrão funcionam bem para a maioria dos usuários fazendo uma instalação simples. Execute o comando gdisk:

root # gdisk /dev/sda

Dentro da interface de gdisk, siga os seguintes passos:

Create a new empty partition table (This will erase all data on the disk when saved):

Command: o ↵
This option deletes all partitions and creates a new protective MBR.
Proceed? (Y/N): y ↵

Create Partition 1 (boot):

Command: n ↵
Partition Number: 1 ↵
First sector: 
Last sector: +500M ↵
Hex Code: EF00 ↵

Crie a Partição 2 (swap):

Command: n ↵
Partition Number: 2 ↵
First sector: 
Last sector: +4G ↵
Hex Code: 8200 ↵

Crie a partição 3 (root):

Command: n ↵
Partition Number: 3 ↵
First sector: 
Last sector:  (for rest of disk)
Hex Code: 

Along the way, you can type "p" and hit Enter to view your current partition table. If you make a mistake, you can type "d" to delete an existing partition that you created. When you are satisfied with your partition setup, type "w" to write your configuration to disk:

Write Partition Table To Disk:

Command: w ↵
Do you want to proceed? (Y/N): Y ↵

The partition table will now be written to the disk and gdisk will close.

Now, your GPT/GUID partitions have been created, and will show up as the following block devices under Linux:

  • /dev/sda1, which will be used to hold the /boot filesystem,
  • /dev/sda2, which will be used for swap space, and
  • /dev/sda3, which will hold your root filesystem.
   Tip

You can verify that the block devices above were correctly created by running the command lsblk.