Install/MBR Partitioning/es

From Funtoo
< Install
Revision as of 04:14, March 7, 2020 by Ad76 (talk | contribs)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Other languages:

Guia de instalacion : Particionado MBR

Install Guide, Chapter 3 < Prev Next >

Método para BIOS/MBR

   Note

Utilice este método si está iniciando con su BIOS y si el menú de inicio del "System Rescue CD" fue de color azul claro. Si va a utilizar el formato de disco UEFI / GPT, continúe con la siguiente sección.

Primero, es buena idea asegurarse de haber encontrado el disco duro correcto para la partición. Pruebe este comando y verifique que /dev/sdX es el disco que desea particionar:

root # fdisk -l /dev/sdX

Disk /dev/sdX: 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

Ahora, se recomienda que borre la tabla de partición MBR o GPT existente en el disco, para evitar confundir el BIOS del sistema en el momento del arranque. Use el comando sgdisk para logar esto:

Template:Advertencia

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

Crear nuevas entradas GPT.
Estructuras de datos GPT destruidas! Ahora puede particionar el disco usando fdisk u
Otras utilidades.

Esta salida no es algo de lo que deba preocuparse, ya que el comando tuvo éxito:

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

Ahora vamos a usar fdisk para crear la tabla de partición MBR y las particiones:

root # fdisk /dev/sda

Dentro de gdisk, siga los siguientes pasos:

Vaciar la tabla de particiones:

Command (m for help): o ↵

Crear la Partición 1 (boot):

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

Crear la Partición 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 ↵

Crear la partición de root:

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

Verificar la tabla de particiones:

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

Escribir la tabla de particiones al disco:

Command (m for help): w

Su nueva tabla de particiones MBR se escribirá ahora en su disco del sistema.

   Note

¡Ya terminó con las particiones! Ahora, vaya a Crear el sistema de archivos.

Install Guide, Chapter 3 < Prev Next >