Particionando o disco do sistema no gabinete
Use estas informações quando configurar as partições de disco do sistema.
Antes de criar um sistema de arquivos, particione o disco
usando o utilitário fdisk. Deve-se especificar o arquivo de dispositivo especial do disco que você deseja particionar ao executar fdisk. A Figura 1 mostra um exemplo das
diferentes opções do utilitário fdisk.
Nota: Se estiver usando o
Driver de dispositivo do subsistema (SDD), seu caminho no exemplo é
/dev/vpathb em vez de /dev/sdb.# fdisk /dev/sdb
Command (m for help): m
Command action
a toggle a bootable flag
b edit bsd disklabel
c toggle the dos compatibility flag
d delete a partition
l list known partition types
m print this menu
n add a new partition
o create a new empty DOS partition table
p print the partition table
q quit without saving changes
s create a new empty Oracle disklabel
t change a partitions system id
u change display/entry units
v verify the partition table
w write table to disk and exit
x extra functionality (experts only)
Figura 2 mostra um exemplo de uma partição primária no disco /dev/sdb.
Nota: Se estiver usando o
SDD, seu caminho no exemplo é
/dev/vpathb em vez de /dev/sdb.Command (m for help): n
Command action
e extended
p primary partition (1-4)
p
Partition number (1-4): 1
First cylinder (1-953, default 1): Enter
Using default value 1
Last cylinder or +size or +sizeM or +sizeK (1-953, default 953): Enter
Using default value 953
Command (m for help): p
Disk /dev/sdb: 64 heads, 32 sectors, 953 cylinders
Units = cylinders of 2048 * 512 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 1 953 975856 83 Linux