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

From Funtoo
Jump to navigation Jump to search
(Created page with "<includeonly> == MBR Partitioning == </includeonly><noinclude><languages/> = Guia de Instalação: Particionamento MBR =")
 
(27 intermediate revisions by 2 users not shown)
Line 6: Line 6:
{{InstallNavigation|num=3|prev=Prepare Disk|next=GPT Partitioning}}</noinclude>
{{InstallNavigation|num=3|prev=Prepare Disk|next=GPT Partitioning}}</noinclude>


==== Legacy (BIOS/MBR) Method ====  
==== Método Legado (BIOS/MBR) ====  


{{Note|Use this method if you are booting using your BIOS, and if your System Rescue CD initial boot menu was light blue. If you're going to use the UEFI/GPT disk format, then please proceed to the next section.}}
{{Note | Use este método se você estiver inicializando um computador que possui uma BIOS legada. Se você for usar o formato de particionamento de disco UEFI/GPT, vá para a próxima seção.}}


First, it's a good idea to make sure that you've found the correct hard disk to partition. Try this command and verify that {{f|/dev/sda}} is the disk that you want to partition:
Primeiramente, é uma boa ideia certificar-se de que você encontrou o disco rígido correto para particionamento. Tente este comando e verifique se {{f|/dev/sda}} é o disco que você deseja particionar:


{{console|body=
{{console|body=
Line 21: Line 21:
Disk label type: gpt
Disk label type: gpt


#        Start          End    Size  Type            Name
\#        Start          End    Size  Type            Name
  1        2048  1250263694  596.2G  Linux filesyste Linux filesystem
  1        2048  1250263694  596.2G  Linux filesyste Linux filesystem
}}
}}


Now, it is recommended that you erase any existing MBR or GPT partition tables on the disk, which could confuse the system's BIOS at boot time. We accomplish this using {{c|sgdisk}}:
Para uma instalação LIMPA, é recomendável apagar quaisquer tabelas de partição MBR ou GPT existentes no disco, o que pode confundir o BIOS do sistema no momento da inicialização. Realizamos isso usando o {{c | sgdisk}}:


{{Warning|This will make any existing partitions inaccessible! You are '''strongly''' cautioned and advised to backup any critical data before proceeding.}}
{{Warning|O comando a seguir tornará '''TODAS''' as partições existentes anteriormente inacessíveis! Você está sendo '''fortemente advertido''' para não prosseguir caso não possua cópia de segurança (backup) de quaisquer dados críticos existentes neste disco antes de prosseguir. Novamente! '''TODOS''' os sistemas operacionais e TODOS os dados existentes no disco serão apagados com esse comando. Se você está fazendo uma instalação paralela (dual-boot) '''JAMAIS''' execute o comando a seguir!}}


{{console|body=
{{console|body=
Line 37: Line 37:
}}
}}


This output is also nothing to worry about, as the command still succeeded:
Esta saída também não é nada para se preocupar, pois o comando ainda teve sucesso:


{{console|body=
{{console|body=
Line 46: Line 46:
}}
}}


Now we will use {{c|fdisk}} to create the MBR partition table and partitions:
Agora vamos usar o comando {{c|fdisk}} para criar a tabela de partições MBR e as partições dentro dela:


{{console|body=
{{console|body=
Line 52: Line 52:
}}
}}


Within {{c|fdisk}}, follow these steps:
Utilizando o utilitário {{c|fdisk}}, siga estas etapas:


'''Empty the partition table''':
'''Esvaziar a tabela de partição''':


{{console|body=
{{console|body=
Line 60: Line 60:
}}
}}


'''Create Partition 1''' (boot):
'''Criar Partição 1''' (boot):


{{console|body=
{{console|body=
Line 70: Line 70:
}}
}}


'''Create Partition 2''' (swap):
'''Criar Partição 2''' (swap):


{{console|body=
{{console|body=
Line 83: Line 83:
}}
}}


'''Create the root partition:'''
'''Criar a partição raiz:'''


{{console|body=
{{console|body=
Line 93: Line 93:
}}
}}


'''Verify the partition table:'''
'''Verificar a tabela de partição:'''


{{console|body=
{{console|body=
Line 111: Line 111:
}}
}}


'''Write the partition table to disk:'''
'''Gravar a tabela de partição no disco:'''


{{console|body=Command (m for help): ##i##w}}
{{console|body=Command (m for help): ##i##w}}


Your new MBR partition table will now be written to your system disk.
Sua nova tabela de partição MBR agora será gravada no disco.


{{Note|You're done with partitioning! Now, jump over to [[{{BASEPAGENAME}}#Creating filesystems|Creating filesystems]].}}
{{Note|Você concluiu o particionamento! Agora, pule para a seção # [[Install/Creating_Filesystems/pt-br|Criando Sistemas de Arquivos]]}}
 
<noinclude>{{InstallNavigation|num=3|prev=Prepare Disk|next=GPT Partitioning|align=right}}</noinclude>

Revision as of 18:52, November 13, 2019

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

Guia de Instalação: Particionamento MBR

Install Guide, Chapter 3 < Prev Next >

Método Legado (BIOS/MBR)

   Note
Use este método se você estiver inicializando um computador que possui uma BIOS legada. Se você for usar o formato de particionamento de disco UEFI/GPT, vá para a próxima seção.

Primeiramente, é uma boa ideia certificar-se de que você encontrou o disco rígido correto para particionamento. Tente este comando e verifique se /dev/sda é o disco que você deseja particionar:

root # fdisk -l /dev/sda

Disk /dev/sda: 640.1 GB, 640135028736 bytes, 1250263728 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: gpt

#         Start          End    Size  Type            Name
 1         2048   1250263694  596.2G  Linux filesyste Linux filesystem

Para uma instalação LIMPA, é recomendável apagar quaisquer tabelas de partição MBR ou GPT existentes no disco, o que pode confundir o BIOS do sistema no momento da inicialização. Realizamos isso usando o sgdisk:

   Warning

O comando a seguir tornará TODAS as partições existentes anteriormente inacessíveis! Você está sendo fortemente advertido para não prosseguir caso não possua cópia de segurança (backup) de quaisquer dados críticos existentes neste disco antes de prosseguir. Novamente! TODOS os sistemas operacionais e TODOS os dados existentes no disco serão apagados com esse comando. Se você está fazendo uma instalação paralela (dual-boot) JAMAIS execute o comando a seguir!

root # sgdisk --zap-all /dev/sda

Creating new GPT entries.
GPT data structures destroyed! You may now partition the disk using fdisk or
other utilities.

Esta saída também não é nada para se preocupar, pois o comando ainda teve sucesso:

***************************************************************
Found invalid GPT and valid MBR; converting MBR to GPT format
in memory. 
***************************************************************

Agora vamos usar o comando fdisk para criar a tabela de partições MBR e as partições dentro dela:

root # fdisk /dev/sda

Utilizando o utilitário fdisk, siga estas etapas:

Esvaziar a tabela de partição:

Command (m for help): o ↵

Criar Partição 1 (boot):

Command (m for help): n ↵
Partition type (default p): 
Partition number (1-4, default 1): 
First sector: 
Last sector: +128M ↵

Criar Partição 2 (swap):

Command (m for help): n ↵
Partition type (default p): 
Partition number (2-4, default 2): 
First sector: 
Last sector: +2G ↵
Command (m for help): t ↵ 
Partition number (1,2, default 2): 
Hex code (type L to list all codes): 82 ↵

Criar a partição raiz:

Command (m for help): n ↵
Partition type (default p): 
Partition number (3,4, default 3): 
First sector: 
Last sector: 

Verificar a tabela de partição:

Command (m for help): p

Disk /dev/sda: 298.1 GiB, 320072933376 bytes, 625142448 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x82abc9a6

Device    Boot     Start       End    Blocks  Id System
/dev/sda1           2048    264191    131072  83 Linux
/dev/sda2         264192   4458495   2097152  82 Linux swap / Solaris
/dev/sda3        4458496 625142447 310341976  83 Linux

Gravar a tabela de partição no disco:

Command (m for help): w

Sua nova tabela de partição MBR agora será gravada no disco.

   Note

Você concluiu o particionamento! Agora, pule para a seção # Criando Sistemas de Arquivos

Install Guide, Chapter 3 < Prev Next >