2. cfdisk


2.1. cfdiskÀÇ Ä¿¸àµå¿¡ ´ëÇØ

root·Î ·Î±×ÀÎÇÑ ÈÄ, cfdisk¿Í ÀÔ·ÂÇØ, µð½ºÅ©ÀÇ ÆÄƼ¼î´×À» ½Ç½ÃÇÕ´Ï´Ù.

                                  cfdisk 2.11w



                              Disk Drive: /dev/hda

                        Size: 61492838400 bytes, 61.4 GB

              Heads: 255  Sectors per Track: 63  Cylinders: 7476



    Name        Flags       Part Type  FS Type          [Lable]       Size (MB)

 ------------------------------------------------------------------------------

                            Pri/Log   Free Space                       61492.20

























    [  Help  ]  [  New  ]  [ Print  ]  [  Quit  ]  [ Units ]

    [ Write  ]



                             Print help screen

ÆÄƼ¼î´×Àº, ¸Þ´º·ÎºÎÅÍ ¼±ÅÃÇØ ½Ç½ÃÇÏ´Â °ÍÀÌ °¡´ÉÇÕ´Ï´Ù¸¸, Á÷Á¢ Ä¿¸àµå¸¦ ¹Ú¾Æµµ Á¶ÀÛÀÌ °¡´ÉÇÕ´Ï´Ù.
Ä¿¸àµå¿¡ ´ëÇØ¼­´Â, Help¸¦ ¼±ÅÃÇÑ´Ù°í ¾Æ·¡¿Í °°ÀÌ È­¸é°ú °°ÀÌ ÂüÁ¶ÇÏ´Â °ÍÀÌ °¡´ÉÇÕ´Ï´Ù.

Help Screen for cfdisk                                                         



This is cfdisk, a curses based disk partitioning program, which

allows you to create, delete and modify partitions of your hard

disk drive.



Copyright (C) 1994-1999 Kevin E. Martin & aeb



Command      Meaning

-------      -------

 b           Toggle bootable for flag of the current partition

 d           Delete the current partition

 g           Change cylinders, heads, sectors-per-track parameters

             WARNING: This option should only be used by people who

             know what they are doing.

 h           Print this screen

 m           Maximize disk usage of the current partition

             Note: This may make the partition incompatible with

             DOS, OS/2, ...











                           Press a key to continue                             

 n           Create new partition from free space

 p           Print partition table to the screen or to a file

             There are several different formats for the partition

             that you can choose from:

                r - Raw data (exactly what would be written to disk)

                s - Table ordered by sectors

                t - Table in raw format

 q           Quit program without writing partition table

 t           Change the filesystem type

 u           Change units of the partition size display

             Rotates through MB, sectors and cylinders

 W           Write partition table to disk (must enter upper case W)

             Since this might destroy data on the disk, you must

             either confirm or deny the write by entering 'yes' or

             'no'

Up Arrow     Move cursor to the previous partition

Down Arrow   Move cursor to the next partition

CTRL-L       Redraws the screen

 ?           Print this screen











                           Press a key to continue                             

                                                                               

Note: All of the commands can be entered with either upper or lower

case letters (except for Writes).











































                           Press a key to continue                             

2.2. ÆÄƼ¼î´×

Ä¿¼­ Ű(¡æ)·Î New¸¦ ¼±ÅÃÇØ, Enter ۸¦ ´©¸¨´Ï´Ù.

                                  cfdisk 2.11w



                              Disk Drive: /dev/hda

                        Size: 61492838400 bytes, 61.4 GB

              Heads: 255  Sectors per Track: 63  Cylinders: 7476



    Name        Flags       Part Type  FS Type          [Lable]       Size (MB)

 ------------------------------------------------------------------------------

                            Pri/Log   Free Space                       61492.20

























    [  Help  ]  [  New  ]  [ Print  ]  [  Quit  ]  [ Units ]

    [ Write  ]



                    Create new partition from free space

ÁÖ ÆÄƼ¼Ç(Primary)À¸·Î¼­ ÀÛ¼ºÇÒ±î ³í¸®Àû ÆÄÆ®¼Ç(Logical)À¸·Î¼­ ÀÛ¼ºÇÏ´ÂÁö¸¦ ¼±ÅÃÇÕ´Ï´Ù.
ºÎÆ® ¾÷¿ëÀÇ ÆÄƼ¼ÇÀ» ÀÛ¼ºÇϹǷÎ, Primary¸¦ ¼±ÅÃÇÕ´Ï´Ù.

                                  cfdisk 2.11w



                              Disk Drive: /dev/hda

                        Size: 61492838400 bytes, 61.4 GB

              Heads: 255  Sectors per Track: 63  Cylinders: 7476



    Name        Flags       Part Type  FS Type          [Lable]       Size (MB)

 ------------------------------------------------------------------------------

                            Pri/Log   Free Space                       61492.20

























    [Primary]  [Logical]  [Cancel }





                    Create new partition from free space

ÆÄƼ¼ÇÀÇ »çÀÌÁ MB´ÜÀ§·Î ÀÔ·ÂÇÕ´Ï´Ù.
Backspace Ű·Î ¼ýÀÚ¸¦ Áö¿ö, ÀÓÀÇÀÇ »çÀÌÁ MB´ÜÀ§·Î ÀÔ·ÂÇÕ´Ï´Ù.

                                  cfdisk 2.11w



                              Disk Drive: /dev/hda

                        Size: 61492838400 bytes, 61.4 GB

              Heads: 255  Sectors per Track: 63  Cylinders: 7476



    Name        Flags       Part Type  FS Type          [Lable]       Size (MB)

 ------------------------------------------------------------------------------

                            Pri/Log   Free Space                       61492.20

























    Size (in MB): 61492.19







ÆÄƼ¼ÇÀ» µð½ºÅ©ÀÇ ¼±µÎ(Beginning)·ÎºÎÅÍ ¸ò Â÷´ÂÁö, ±×·¸Áö ¾ÊÀ¸¸é µÚ(End)·ÎºÎÅÍ ¸ò Â÷´ÂÁö¸¦ ¼±ÅÃÇÕ´Ï´Ù.
ºÎÆ® ¾÷ÀÇ ÆÄƼ¼ÇÀ̹ǷΠ¼±µÎ(Beginning)·ÎºÎÅÍ ¸ò.

                                  cfdisk 2.11w



                              Disk Drive: /dev/hda

                        Size: 61492838400 bytes, 61.4 GB

              Heads: 255  Sectors per Track: 63  Cylinders: 7476



    Name        Flags       Part Type  FS Type          [Lable]       Size (MB)

 ------------------------------------------------------------------------------

                            Pri/Log   Free Space                       61492.20

























    [Beginning]  [   End   ]  [ Cancel  }





                    Create new partition from free space

±×·¯ÀÚ(¸é), ¾Æ·¡¿Í °°Àº È­¸éÀÌ µË´Ï´Ù.
»õ·Ó°Ô, Bootable¶ó°í ÇÏ´Â ¸Þ´º°¡ Ç¥½ÃµË´Ï´Ù.
ÀÌ ÆÄƼ¼ÇÀ¸·ÎºÎÅÍ ºÎÆ® ¿Ã¶ó°¥ ¼ö ÀÖµµ·Ï(µíÀÌ), Bootable°¡ ¼±Åõǰí ÀÖ´Â °ÍÀ» È®ÀÎÇØ, Enter ۸¦ ´©¸¨´Ï´Ù.

                                  cfdisk 2.11w



                              Disk Drive: /dev/hda

                        Size: 61492838400 bytes, 61.4 GB

              Heads: 255  Sectors per Track: 63  Cylinders: 7476



    Name        Flags       Part Type  FS Type          [Lable]       Size (MB)

 ------------------------------------------------------------------------------

    hda1                    Primary   Linux                               32.91

                            Pri/Log   Free Space                       61492.20























    [Bootable]  [ Delete ]  [  Help  ]  [Maximize]  [ Print  ]

    [  Quit  ]  [  Type  ]  [ Units  ]  [ Write  ]



                Toggle bootable flag of the current partition_

È­¸é¾ÈÀÇ FlagsÀÇ °÷¿¡ Boot¶ó°í Ç¥½ÃµÇ¾î ÀÌ ÆÄƼ¼Ç(hda1)À¸·ÎºÎÅÍ ºÎÆ® ¿Ã¶ó°¥ ¼ö ÀÖ°Ô µÇ¾ú½À´Ï´Ù.

                                  cfdisk 2.11w



                              Disk Drive: /dev/hda

                        Size: 61492838400 bytes, 61.4 GB

              Heads: 255  Sectors per Track: 63  Cylinders: 7476



    Name        Flags       Part Type  FS Type          [Lable]       Size (MB)

 ------------------------------------------------------------------------------

    hda1        Boot        Primary   Linux                               32.91

                            Pri/Log   Free Space                       61492.20























    [Bootable]  [ Delete ]  [  Help  ]  [Maximize]  [ Print  ]

    [  Quit  ]  [  Type  ]  [ Units  ]  [ Write  ]



                Toggle bootable flag of the current partition_

2.3. Swap¿ë ÆÄƼ¼Ç

Linux¿¡¼­´Â, Swap¿ëÀÇ ÆÄƼ¼ÇÀ» µ¶¸³ÇØ 1°³°¡Áú Çʿ䰡 ÀÖ½À´Ï´Ù.
(MicrosoftÀÇ Windows¿¡¼­´Â, Swap ¿µ¿ªÀ» ÆÄƼ¼ÇÀ¸·Î¼­°¡ ¾Æ´Ï°í, ÆÄÀϷμ­ °¡Áö°í ÀÖ½À´Ï´Ù.)
À̹ø ¿¹¿¡¼­´Â, ºÎÆ® ¾÷¿ëÀÇ ÆÄƼ¼ÇÀ» ÁÖ ÆÄƼ¼Ç(Primary)À¸·Î¼­ ¸òÀÚ¸®¼ö ÈÄ¿¡, /usr, /var, /homeÀÇ ¿µ¿ªÀ» ³í¸®Àû ÆÄÆ®¼Ç(Logical)À¸·Î¼­ ¸ò, ¸¶Áö¸·¿¡ Swap¿ëÀÇ ÆÄƼ¼ÇÀ» ÁÖ ÆÄƼ¼Ç(Primary)À¸·Î¼­ ¸òÇß´Ù.

                                  cfdisk 2.11w



                              Disk Drive: /dev/hda

                        Size: 61492838400 bytes, 61.4 GB

              Heads: 255  Sectors per Track: 63  Cylinders: 7476



    Name        Flags       Part Type  FS Type          [Lable]       Size (MB)

 ------------------------------------------------------------------------------

    hda1        Boot        Primary   Linux                               32.91

    hda5                    Logical   Linux                             1003.49

    hda6                    Logical   Linux                            10001.95

    hda7                    Logical   Linux                            10001.95

    hda8                    Logical   Linux                            40320.33

    hda3                    Primary   Linux                              131.61















    [Bootable]  [ Delete ]  [  Help  ]  [Maximize]  [ Print  ]

    [  Quit  ]  [  Type  ]  [ Units  ]  [ Write  ]



                Toggle bootable flag of the current partition_

FS Type¶ó°í ÇÏ´Â °÷(Áß)À» ºÁ ÁÖ¼¼¿ä.
±×·¯ÀÚ(¸é), ¸ðµÎ Linux¶ó°í Çϴ ǥ½Ã°¡ µÇ¾î ÀÖ½À´Ï´Ù.
Swap¿ëÀÇ ÆÄƼ¼ÇÀº, Linux Swap¶ó°í ÇÏ´Â ÆÄÀÏ ½Ã½ºÅÛÀ¸·Î¼­ ÀνĽÃų Çʿ䰡 ÀÖ½À´Ï´Ù.
°Å±â¼­ Ä¿¼­ Ű(¡é)·Î Swap¿ëÀ¸·Î¼­ ¸òÀÚ¸®¼ö hda3¸¦ ¼±ÅÃÇØ, Ä¿¼­ Ű(¡æ)·Î ¸Þ´º·ÎºÎÅÍ Type¸¦ ¼±ÅÃÇØ, Enter ۸¦ ´©¸¨´Ï´Ù.

                                  cfdisk 2.11w



                              Disk Drive: /dev/hda

                        Size: 61492838400 bytes, 61.4 GB

              Heads: 255  Sectors per Track: 63  Cylinders: 7476



    Name        Flags       Part Type  FS Type          [Lable]       Size (MB)

 ------------------------------------------------------------------------------

    hda1        Boot        Primary   Linux                               32.91

    hda5                    Logical   Linux                             1003.49

    hda6                    Logical   Linux                            10001.95

    hda7                    Logical   Linux                            10001.95

    hda8                    Logical   Linux                            40320.33

    hda3                    Primary   Linux                              131.61















    [Bootable]  [ Delete ]  [  Help  ]  [Maximize]  [ Print  ]

    [  Quit  ]  [  Type  ]  [ Units  ]  [ Write  ]



           Change the filesystem type (DOS, Linux, OS/2, and so on)_

±×·¯ÀÚ(¸é), ÆÄÀÏ ½Ã½ºÅÛÀÇ IDÀÇ À϶÷ÀÌ ¾Æ·¡¿Í °°ÀÌ¿¡ Ç¥½ÃµË´Ï´Ù.

 01 FAT12                  4E QNX4.x 2nd part      A7 NeXTSTEP

 02 XENIX root             4F QNX4.x 3rd part      A8 Darwin UFS

 03 XENIX usr              50 OnTrack DM           A9 NetBSD

 04 FAT16 <32M             51 OnTrack DM6 Aux1     AB Darwin boot

 05 Extended               52 CP/M                 B7 BSDI fs

 06 FAT16                  53 OnTrack DM6 Aux3     B8 BSDI swap

 07 HPFS/NTFS              54 OnTrackDM6           BB Boot Wizard hidden

 08 AIX                    55 EZ-Drive             BE Solaris boot

 09 AIX bootable           56 Golden Bow           C1 DRDOS/sec (FAT-12)

 0A OS/2 Boot Manager      5C Priam Edisk          C4 DRDOS/sec (FAT-16 <

 0B Win95 FAT32            61 SpeedStor            C6 DRDOS/sec (FAT-16)

 0C Win95 FAT32(LBA)       63 GNU HURD or SysV     C7 Syrinx

 0E Win95 FAT16(LBA)       64 Novell Netware 286   DA Non-FS data

 0F Win95 Ext'd(LBA)       65 Novell Netware 386   DB CP/M / CTOS / ...

 10 OPUS                   70 DiskSecure Multi-Boo DE Dell Utility

 11 Hidden FAT12           75 PC/IX                DF BootIt

 12 Compaq diagnostics     80 Old Minix            E1 DOS access

 14 Hidden FAT16 <32M      81 Minix / old Linux    E3 DOS R/O

 16 Hidden FAT16           82 Linux swap           E4 SpeedStar











                            Press a key to continue_                           

Linux SwapÀÇ ID´Â 82À̹ǷÎ, 82·Î ÀÔ·ÂÇØ Enter ۸¦ ´©¸¨´Ï´Ù.

 17 Hidden HPFS/NTFS       83 Linux                EB BeOS fs

 18 AST SmartSleep         84 OS/2 hidden C: drive EE EFI GPT

 1B Hidden Win95 FAT32     85 Linux extended       EF EFI (FAT-12/16/32)

 1C Hidden Win95 FAT32 (   86 NTFS volume set      F0 Linux/PA-RISC boot

 1E Hidden Win95 FAT16 (   87 NTFS volume set      F1 SpeedStor

 24 NEC DOS                8E Linux LVM            F4 SpeedStor

 39 Plan9                  93 Amoeba               F2 DOS secondary

 3C PartitionMagic recov   94 Amoeba BBT           FD Linux raid autodetec

 40 Venix 80286            9F BSD/OS               FE LANsetp

 41 PPC PReP Boot          A0 IBM Thinkpad hiberna FF BBT

 42 SFS                    A5 FreeBSD

 4D QNX4.x                 A6 OpenBSD

                                                                               























   Enter filesystem type: 82

±×·¯ÀÚ(¸é), hda3ÀÇ FS Type°¡ Linux swap¶ó°í Ç¥½ÃµË´Ï´Ù.

                                  cfdisk 2.11w



                              Disk Drive: /dev/hda

                        Size: 61492838400 bytes, 61.4 GB

              Heads: 255  Sectors per Track: 63  Cylinders: 7476



    Name        Flags       Part Type  FS Type          [Lable]       Size (MB)

 ------------------------------------------------------------------------------

    hda1        Boot        Primary   Linux                               32.91

    hda5                    Logical   Linux                             1003.49

    hda6                    Logical   Linux                            10001.95

    hda7                    Logical   Linux                            10001.95

    hda8                    Logical   Linux                            40320.33

    hda3                    Primary   Linux swap                         131.61















    [Bootable]  [ Delete ]  [  Help  ]  [Maximize]  [ Print  ]

    [  Quit  ]  [  Type  ]  [ Units  ]  [ Write  ]



                Toggle bootable flag of the current partition_

2.4. ÆÄƼ¼î´×ÀÇ ¹Ý¿µ

Áö±Ý±îÁö °£ ÆÄƼ¼î´×ÀÇ Á¶ÀÛÀº ½ÇÁ¦·Î´Â HDD¿¡ ¾ÆÁ÷ ¹Ý¿µµÇ°í ÀÖÁö ¾Ê½À´Ï´Ù.
°Å±â¼­, ÀÌ·¯ÇÑ Á¶ÀÛÀ» ¹Ý¿µ½Ã۱â À§Çؼ­(¶§¹®¿¡), ¸Þ´º·ÎºÎÅÍ Ä¿¼­ Ű(¡æ)·Î Write¸¦ ¼±ÅÃÇØ Enter ۸¦ ´©¸¨´Ï´Ù.

                                  cfdisk 2.11w



                              Disk Drive: /dev/hda

                        Size: 61492838400 bytes, 61.4 GB

              Heads: 255  Sectors per Track: 63  Cylinders: 7476



    Name        Flags       Part Type  FS Type          [Lable]       Size (MB)

 ------------------------------------------------------------------------------

    hda1        Boot        Primary   Linux                               32.91

    hda5                    Logical   Linux                             1003.49

    hda6                    Logical   Linux                            10001.95

    hda7                    Logical   Linux                            10001.95

    hda8                    Logical   Linux                            40320.33

    hda3                    Primary   Linux swap                         131.61















    [Bootable]  [ Delete ]  [  Help  ]  [Maximize]  [ Print  ]

    [  Quit  ]  [  Type  ]  [ Units  ]  [ Write  ]



          Write partition table to disk (this might destroy data)_

Á¤¸»·Î HDD¿¡ ±âÀÔÇÏ´ÂÁö¸¦ È®ÀÎÇØ ¿À±â ¶§¹®¿¡, yes¿Í ÀÔ·ÂÇØ ±âÀÔÀ» ÁøÇà½Ãŵ´Ï´Ù.

                                  cfdisk 2.11w



                              Disk Drive: /dev/hda

                        Size: 61492838400 bytes, 61.4 GB

              Heads: 255  Sectors per Track: 63  Cylinders: 7476



    Name        Flags       Part Type  FS Type          [Lable]       Size (MB)

 ------------------------------------------------------------------------------

    hda1        Boot        Primary   Linux                               32.91

    hda5                    Logical   Linux                             1003.49

    hda6                    Logical   Linux                            10001.95

    hda7                    Logical   Linux                            10001.95

    hda8                    Logical   Linux                            40320.33

    hda3                    Primary   Linux swap                         131.61

















   Are you sure you want write the partition table to disk? (yes or no); _



               Warning!! This may destroy data on your disk!

±×·¯ÀÚ(¸é), HDD¿¡ ±âÀÔÀ» ½Ç½ÃÇØ...

                                  cfdisk 2.11w



                              Disk Drive: /dev/hda

                        Size: 61492838400 bytes, 61.4 GB

              Heads: 255  Sectors per Track: 63  Cylinders: 7476



    Name        Flags       Part Type  FS Type          [Lable]       Size (MB)

 ------------------------------------------------------------------------------

    hda1        Boot        Primary   Linux                               32.91

    hda5                    Logical   Linux                             1003.49

    hda6                    Logical   Linux                            10001.95

    hda7                    Logical   Linux                            10001.95

    hda8                    Logical   Linux                            40320.33

    hda3                    Primary   Linux swap                         131.61

















   Are you sure you want write the partition table to disk? (yes or no); yes



                     Writing partition table to disk...

HDD¿¡ ÆÄƼ¼î´× Á¶ÀÛÀÌ ¹Ý¿µµË´Ï´Ù.

                                  cfdisk 2.11w



                              Disk Drive: /dev/hda

                        Size: 61492838400 bytes, 61.4 GB

              Heads: 255  Sectors per Track: 63  Cylinders: 7476



    Name        Flags       Part Type  FS Type          [Lable]       Size (MB)

 ------------------------------------------------------------------------------

    hda1        Boot        Primary   Linux                               32.91

    hda5                    Logical   Linux                             1003.49

    hda6                    Logical   Linux                            10001.95

    hda7                    Logical   Linux                            10001.95

    hda8                    Logical   Linux                            40320.33

    hda3                    Primary   Linux swap                         131.61















    [Bootable]  [ Delete ]  [  Help  ]  [Maximize]  [ Print  ]

    [  Quit  ]  [  Type  ]  [ Units  ]  [ Write  ]

                        Wrote partition table to disk

                Toggle bootable flag of the current partition_

¸Þ´º·ÎºÎÅÍ Ä¿¼­ Ű(¡æ)·Î Quit¸¦ ¼±ÅÃÇØ, cfdisk¸¦ Á¾·áÇÕ´Ï´Ù.

                                  cfdisk 2.11w



                              Disk Drive: /dev/hda

                        Size: 61492838400 bytes, 61.4 GB

              Heads: 255  Sectors per Track: 63  Cylinders: 7476



    Name        Flags       Part Type  FS Type          [Lable]       Size (MB)

 ------------------------------------------------------------------------------

    hda1        Boot        Primary   Linux                               32.91

    hda5                    Logical   Linux                             1003.49

    hda6                    Logical   Linux                            10001.95

    hda7                    Logical   Linux                            10001.95

    hda8                    Logical   Linux                            40320.33

    hda3                    Primary   Linux swap                         131.61















    [Bootable]  [ Delete ]  [  Help  ]  [Maximize]  [ Print  ]

    [  Quit  ]  [  Type  ]  [ Units  ]  [ Write  ]



                Quit program without writing partition table_

 ------------------------------------------------------------------------------

    hda1        Boot        Primary   Linux                               32.91

    hda5                    Logical   Linux                             1003.49

    hda6                    Logical   Linux                            10001.95

    hda7                    Logical   Linux                            10001.95

    hda8                    Logical   Linux                            40320.33

    hda3                    Primary   Linux swap                         131.61















    [Bootable]  [ Delete ]  [  Help  ]  [Maximize]  [ Print ]

    [  Quit  ]  [  Type  ]  [ Units  ]  [ Write  ]



Disk has been changed. program without writing partition table

Reboot the system to ensure the partition table is correctly updated.



WARNING: If you have created or modified any

DOS 6.x partitions, please see the cfdisk manual

page for additional information.



root@slackware:/# _


Top Page·Î µ¹¾Æ¿Â´Ù

ÁýÇÊÀÚÁ×µ¿¿ä¿ìÀÌÄ¡·Î¿ì
E-mail:takehora@firstandfast.net

japan.empas.com