이런 세상..

[LINUX] GTP 파티션을 ext3 로 파티셔닝 본문

> [IT]/>> Linux

[LINUX] GTP 파티션을 ext3 로 파티셔닝

GANWI 2016. 1. 15. 09:00

[LINUX] GTP 파티션을 ext3 로 파티셔닝


[1] GTP 파티션 경우

# fdisk -l

...생략...

WARNING: GPT (GUID Partition Table) detected on '/dev/sdc'! The util fdisk doesn't support GPT. Use GNU Parted.

 

Disk /dev/sdc: 1000.2 GB, 1000204886016 bytes

255 heads, 63 sectors/track, 121601 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk identifier: 0x000b2d1d

 

   Device Boot      Start         End      Blocks   Id  System

/dev/sdc1               1  1953525167  976761560+  ee  GPT

 


[2] ext3 로 파티셔닝

# parted /dev/sdc

 GNU Parted 2.3

Using /dev/sdc

Welcome to GNU Parted! Type 'help' to view a list of commands.

(parted) print                                                          

Model: ATA WDC WD1003FBYZ-0 (scsi)

Disk /dev/sda: 1000GB

Sector size (logical/physical): 512B/512B 

Partition Table: gpt

 

Number  Start   End    Size   Type   File system   Flags

 1      1049kB  1000GB  1000GB  primary   msftres

 

(parted) mklabel msdos                        // msdos 로 변경

(parted) rm                                           // 이미 파티션이 있다면 삭제

Partition number? 1                                                      

(parted) mkpart

Partition type?  primary/extended? p                                     

File system type?  [ext2]? ext3                                           

Start? 1                                                        // 시작

End? -1                                                        // 끝


(parted) print  

Model: ATA WDC WD1003FBYX-0 (scsi)

Disk /dev/sdc: 1000GB

Sector size (logical/physical): 512B/512B

Partition Table: msdos


Number  Start   End     Size    Type     File system  Flags

 1      1049kB  1000GB  1000GB  primary  ext3 

 

(parted) quit

 

 

[3] 변경 완료

# fdisk -l /dev/sdc


Disk /dev/sdc: 1000.2 GB, 1000204886016 bytes

60 heads, 63 sectors/track, 516805 cylinders, total 1953525168 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 identifier: 0x4c30be25


   Device Boot      Start         End      Blocks   Id  System

/dev/sdc1            2048  1953525167   976761560   83  Linux 

Comments