debian:~# fdisk /dev/hdb
Device contains
neither a valid DOS partition table, nor Sun, SGI or OSF disklabel
Building a
new DOS disklabel with disk identifier 0xc10c960e.
Changes will remain in
memory only, until you decide to write them.
After that, of course, the
previous content won't be recoverable.
The number of cylinders for this disk is set to 39546.
There is
nothing wrong with that, but this is larger than 1024,
and could in certain
setups cause problems with:
1) software that runs at boot time (e.g., old
versions of LILO)
2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)
Warning: invalid flag 0x0000 of partition table
4 will be corrected by w(rite)
Command (m for help): n
Command
action
e extended
p primary partition
(1-4)
p
Partition number (1-4): 1
First cylinder (1-39546, default
1): 1
Last cylinder or +size or +sizeM or +sizeK (1-39546, default 39546):
39546
P를 입력하여 설정된 파티션 정보를
확인합니다.
Command (m for help): p
Disk /dev/hdb: 20.4 GB, 20409532416 bytes
16 heads, 63 sectors/track,
39546 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes
Disk
identifier: 0xc10c960e
Device Boot Start End Blocks Id
System
/dev/hdb1 1 39546 19931152+ 83 Linux
파티션 테이블을 기록합니다.
Command (m for help):
w
The partition table has been altered!
Calling ioctl() to re-read partition table.
Syncing disks.
'OS > Linux' 카테고리의 다른 글
데비안에서 APM 서버설치하기 (0) | 2012.10.21 |
---|---|
우분투 11.04 Server에 phpmyadmin 설치 (0) | 2012.10.21 |
mkfs - 리눅스 파일 시스템 만들기 (0) | 2012.10.21 |
리눅스에서 홈페이지나 특정 폴더 완벽 백업 방법 (0) | 2012.10.21 |
시스템에 설치된 장치의 문자 유형 (0) | 2012.10.21 |