· KLDP.org · KLDP.net · KLDP Wiki · KLDP BBS ·
Linuxdoc Sgml/Partition-Rescue-mini-HOWTO

Partition Rescue mini HOWTO

Partition Rescue mini HOWTO

Jean-Daniel Dodin

july 27, 2000 - do005722_partition_03¿ªÀÚ : ÀÌÈ£¿¬ mailto:guru2k@kldp.org, ±èÁ¤Áß mailto:justi@kldp.org
Çä ! ³» µð½ºÅ©°¡ ºñ¾î ÀÖ´Ù ! ³» ¸®´ª½º°¡ ¾ø¾îÁ³´Ù ! ÀÌ¿Í °°Àº ¹®Á¦°¡ »ý°å´Ù¸é, ÀÌ ¹®¼­¸¦ Àоî¶ó...

1. ¾È¿¡ ÀÖ´Â °Í

ÀÌ ¹Ì´Ï ÇÏ¿ìÅõ´Â "ÀÒ¾î¹ö¸° ÆÄƼ¼Ç Å×À̺í" ¹®Á¦¿¡ °üÇؼ­¸¸ ¼³¸íÇÏ¸ç ´ÙÀ½ÀÇ °æ¿ì¿¡ »ç¿ëÇÒ ¼ö ÀÖ´Ù :

  • "¿î¿µÃ¼Á¦°¡ ¾ø´Ù"´Â ¸Þ½ÃÁö¸¦ º¸À̸ç, ÄÄÇ»ÅÍ¿¡ Á¢±ÙÇÒ ¼ö ¾øÀ» ¶§,
  • ´ç½ÅÀÌ »õ·Î¿î ½Ã½ºÅÛÀ» ¼³Ä¡Çß°í ¸®´ª½º·Î ´õ ÀÌ»ó µé¾î°¡Áö ¸øÇϸç, À©µµ¿ì°¡ µð½ºÅ©ÀÇ ¸ðµç ¿ë·®À» Èí¼ö ÇßÀ» ¶§.

¿©±â¼­´Â ¿ÇÀº ¹æ¹ýÀ» ¾Ë°í ÀÖÀ¸¸ç ±×·¸°Ô ÇÑ´Ù¸é, ¸®´ª½º´Â ÀÌ·¯ÇÑ °Íµé·ÎºÎÅÍ º¸Åë ¾ÈÀüÇÏ´Ù´Â °ÍÀ» ¾Ë°ÔµÉ °ÍÀÌ´Ù. À©µµ¿ìµµ ¿î ÁÁ°Ô °¡´ÉÇÏ´Ù.

¿ì¸®´Â ¹®Á¦¸¦ ½±°Ô ÇØ°áÇϱâ À§Çؼ­ ¸ÕÀú ¹®Á¦ ¹«¾ùÀ» ÇؾßÇÒÁö¿Í º¹±¸ ÈÄ ¹«¾ùÀ» ÇØ¾ß ÇÏ´ÂÁö ¾Ë°Ô µÉ °ÍÀÌ´Ù. µð½ºÅ©°¡ Áö¿öÁö´Â °ÍÀ» ¸·±â À§ÇØ ÇÒ ÀÏÀÌ Á¶±Ý ÀÖ´Ù. º¸Åë ÇÁ·Î±×·¥ ȤÀº »ç¿ëÀÚÀÇ ½Ç¼öÀÇ ÇൿÀ¸·Î ÀÚµ¿ÀûÀÎ À©µµ¿ì ȤÀº ¸®´ª½º ¼³Ä¡¿¡ ÀÇÇØ µÈ´Ù - Á¶½É¼ºÀ» Á¦¿ÜÇÏ°í´Â ÀÌ °ÍÀ» ¸·´Â °ÍÀº ¾Æ¹« °Íµµ ¾ø´Ù. ±×·¯³ª ´ç½ÅÀº ÀÌ¹Ì Á¶½É½º·¯¿ï °ÍÀÌ´Ù.

ÀÌ °ÍÀº MSDOS/Windows fdiskÀÇ »ç¿ëÀ¸·Î ÇÒ ¼ö ÀÖ´Ù. ´ç½ÅÀÌ ÇÒ ¼ö ÀÖ´Â ÃÖ´ëÇÑ ÀÌ °ÍÀ» ÇÇÇ϶ó. ±×·¯³ª ´ç½ÅÀº ¾Æ¸¶ ÇÒ ¼ö ¾øÀ» °ÍÀÌ´Ù.

³ª´Â ¿©·¯¹ø ÀÌ °ÍÀ» Çß°í, ³ªÀÇ ÄÄÇ»ÅÍ¿Í ´Ù¸¥ »ç¶÷ ÄÄÇ»ÅÍÀÇ ¸®´ª½º¿Í À©µµ¿ì¸¦ °¡²û º¹±Í¸¦ ½ÃÄ×´Ù. Çà¿îÀ» ºó´Ù !

2. Áö±Ý ´çÀå ÇÒ °ÍÀº ¹«¾ùÀΰ¡ ?

ÀÌ ¹®¼­¸¦ È£±â½É ȤÀº Á¤º¸¸¦ ã±â À§Çؼ­ ÀÐÀ¸¸ç ¸®´ª½º ½Ã½ºÅÛÀ» ¿î¿µÇÏ°í ÀÖ´Ù¸é, Áï½Ã ¾Æ·¡ÀÇ »çÇ×´ë·Î Ç϶ó :

  • ·çÆ® Å͹̳ΠȤÀº xtermÀ» ¿­¾î¶ó,
  • "/sbin/fdisk -l"

ÄÄÇ»ÅÍÀÇ ¸ðµç µð½ºÅ©¿¡ ÀÖ´Â ÇöÀçÀÇ ¸ðµç ÆÄƼ¼ÇÀÇ ¸®½ºÆ®¿¡ ¸¸Á·ÇÒ °ÍÀÌ´Ù.

  • Á¾ÀÌ¿¡ ÀÌ °ÍÀ» ¾²¶ó ( ȤÀº ÀÌ °ÍÀ» ÇÁ¸°Æ® Çϱâ À§ÇØ "/sbin/fdisk -l | lpr" À» Ç϶ó ) ±×¸®°í ¹Ì·¡¿¡ ¾²±â À§Çؼ­ ¾ÈÀüÇÑ Àå¼Ò¿¡ º¸°üÇصֶó.

½Ã½ºÅÛ °ü¸®ÀÚ°¡ ¾Æ´Ï¶ó¸é, ±× ¹®Á¦¿¡ °üÇÏ¿© °ÆÁ¤ÇÒ ÇÊ¿ä°¡ ¾ø°í ÀÌ ¹®¼­¸¦ ±×¸¸ Àо µÈ´Ù.

3. Legal stuff

This mini-HOWTO is Copyright (c) 2000 by Jean-Daniel Dodin. All rights reserved. You may do (almost) whatever you want with it. I don't care. Just be sure to keep my name intact. I just hope it becomes useful for any person in the Linux community.

I am not responsible of any damage on any computer as a result of anyone reading this HOWTO. If you do any damage, _it is YOUR fault, NOT MINE !_ Be careful when partitioning disks, and don't make any mistakes, because it can be fatal ! Backup all your important data and check that everything you do is correct ! What is described here worked on my computer, but it may or may not work on your computer. Although it should work for everyone, I can't guarantee anything. This is the last warning you get : _BACKUP IMPORTANT DATA !_ Or, to put it short: Use at your own risk !

4. Áö±Ý ´çÀå ¾Ë¾Æ¾ß ÇÒ °ÍÀº ¹«¾ùÀΰ¡ ?

´ç½ÅÀÇ ÇÏµå µð½ºÅ©ÀÇ ¾î¶°ÇÑ ¹®Á¦°¡ »ý±â¸é, ´ç½ÅÀº ¾²±â ¸ðµå·Î »ç¿ëÇÏ´Â °ÍÀ» Áß´Ü Çؾ߸¸ ÇÑ´Ù. Àû¾îµµ ÀϾ ÀÏÀ» ÀÌÇØÇϱâ À§Çؼ­´Â ½Ã°£ÀÌ ÇÊ¿äÇÏ´Ù.

¾î´À³¯ ¾Æħ, ÀϾÀ»¶§, ´ç½ÅÀÇ ÄÄÇ»ÅÍ°¡ "ÀûÀçÇÒ ¼ö ¾ø½À´Ï´Ù, ½Ã½ºÅÛÀÌ ¼³Ä¡µÇÁö ¾Ê¾Ò½À´Ï´Ù" ¶ó´Â ¸Þ½ÃÁö¸¦ º¸ÀÌ´õ¶óµµ, ´ç½ÅÀº ¸ðµç ÇÁ·Î±×·¥À» ´Ù½Ã ¼³Ä¡ÇÏ¸é ¾ÈµÈ´Ù.

´ç½ÅÀÌ À©µµ¿ì¸¦ ¼³Ä¡ÇßÀ¸¸é, ´ç½ÅÀÇ µ¥ÀÌÅ͸¦ º¹±¸ ÇÒ¼ö ÀÖ´Ù°í ¾à¼ÓÇÏÁö´Â ¸øÇÏ°ÚÁö¸¸ ´ç½ÅÀÇ ¸®´ª½º ÇÁ·Î±×·¥ÀÇ ÀüºÎ¸¦ º¹±¸ÇÒ ¼ö ÀÖÀ» °Í °°´Ù. ÀÌ °ÍÀº µð½ºÅ© ±¸Á¶ÀÇ ³Ê¹« ³·Àº °÷¿¡ À§Ä¡ÇØ ÀÖÁö ¾Ê±â ¶§¹®ÀÌ´Ù. ¸î¸î À©µµ¿ì ¹ÙÀÌ·¯½º´Â µð½ºÅ© ½Ç¸°´õ¸¦ ¸ÕÀú Áö¿ì±â ¶§¹®ÀÌ´Ù. ±×·¸Áö¸¸ ³ª´Â ÀÌ·¯ÇÑ ¹ÙÀÌ·¯½º ½ÇÇèÀ» ÇÏÁö ¾Ê¾Ò°í È®½ÇÇÏ´Ù°í´Â ¸»ÇÏÁö ¾Ê°Ú´Ù. ¾î·µç º¹±¸Çغ¸·Á°í ³ë·ÂÇغ¸¶ó.

´ç½ÅÀº ¶ÇÇÑ ³»°¡ ÁÖ´Â ¸ðµç Á¤º¸¸¦ ¾Ë¾Æ¾ß¸¸ ÇÑ´Ù. ³ªµµ ´Ù¸¥ »ç¶÷µµ ¾Æ´ÏÁö¸¸ ´ç½ÅÀº ÀÌ Á¤º¸¸¦ ¾µ ¼ö ÀÖ´Â µ¥ÀÌÅÍ¿¡ °üÇÑ ¾î¶°ÇÑ ¹®Á¦¿¡ Ã¥ÀÓÀÌ µû¸¥´Ù. ¼¼°è¿¡´Â ¸Å¿ì ¸¹Àº ´Ù¸¥ Á¾·ùÀÇ ½Ã½ºÅÛÀÌ ÀÖ´Ù. ³ª´Â ¿ÀÁ÷ ´ç½Å¿¡¿¡ Çà¿îÀ» Àֱ⸦ ¹Ù¶ó¸ç, µ¥ÀÌÅ͸¦ º¹±¸½ÃÅ°¸é ÇູÇØÁú °ÍÀÌ´Ù.

5. µð½ºÅ©

ÇÏµå µð½ºÅ©´Â 0¿¡¼­ºÎÅÍ ÃÖ´ë °ª±îÁöÀÇ ¼½ÅÍ ³Ñ¹ö·Î ¸¸µé¾îÁø´Ù.

dmesg´Â ¾Ë·ÁÁØ´Ù, ¿¹¸¦ µé¸é :

hdb: ST34321A, 4103MB w/128kB Cache, CHS=523/255/63

CHS´Â Cylinders, Heads, Sectors¸¦ ¸»ÇÑ´Ù.

523*255*63=512 ¹ÙÀÌÆ®ÀÇ 8401995 ¼½ÅÍ, ÀÌ¿Í °°ÀÌ 4103MbytesÀÌ´Ù. ÀÌ °ÍÀº ¿ÀÁ÷ ³í¸®ÀûÀÎ ±â·ÏÀÌ´Ù. µð½ºÅ© Ä¿¹ö¿¡ ¾²¿© ÀÖ´Â °ÍÀº ÇÊ¿äÇÏÁö ¾Ê´Ù (ÅäÅ» »çÀÌÁî Á¦¿Ü).

¼½ÅÍÀÇ ½ÇÁ¦ Å©±â¿¡ ´ëÇؼ­ ¿ì¸®´Â Èï¹Ì°¡ ¾ø´Ù. ¿ì¸®´Â ¾Æ¹« °Íµµ ¼öÁ¤ÇÏÁö ¾Ê±â¸¦ ¿øÇϸç ÀÌ ÀüÀÇ »óÅ·ΠµÇµ¹¸®±â¸¦ ¿øÇÑ´Ù. ¿ì¸®´Â ÀÌ¹Ì fdisk¿¡ ÀÇÇØ Å©±â¸¦ ¾Ë °ÍÀÌ´Ù.

½Ã½ºÅÛ¿¡ ÀÇÇÑ ÀÌ Å©±â´Â BIOS(Basic Input/Output System - the PC's Rom)ÀÇ ÀÛ¾÷¿¡ Á÷Á¢ÀûÀ¸·Î ÀÇÁ¸ ÇÑ´Ù. BIOS¿¡¼­ °¡¸®Å°´Â ÇÏµå µð½ºÅ©ÀÇ ¹æ¹ýÀº ¸Å¿ì Áß¿äÇÏ´Ù. »õ·Î¿î µð½ºÅ© ¿¡¼­´Â, BIOSÀÇ ÇÏµå µð½ºÅ© ÀÚµ¿ ÀνÄÀ» »ç¿ëÇϱâ À§ÇØ "yes"¸¦ ¼±ÅÃÇÏ´Â °ÍÀÌ ÁÁ´Ù. ¾î·µç, ÀÌ ·¹º§ÀÇ ¾î¶°ÇÑ ¼öÁ¤Àº ¾Æ¸¶ µð½ºÅ©ÀÇ ¸ðµç µ¥ÀÌÅ͸¦ Æı«ÇÒ °ÍÀÌ´Ù. ±×·¡¼­ ¸Å¿ì Áß¿äÇÑ ÀÌÀ¯ ¾øÀÌ ÀÌ ÀÛ¾÷À» ÇÏÁö ¸»±â¸¦ ¹Ù¶õ´Ù.

ÀÌ °ÍÀº ¾Æ¸¶µµ ´ç½ÅÀÇ µð½ºÅ© »ç¿ë·®ÀÏ °ÍÀÌ´Ù, ±×·¡¼­ °ÆÁ¤ÇÏÁö ¸¶¶ó.

6. ÆÄƼ¼Ç

Áö±Ý µð½ºÅ©´Â ¸Å¿ì Ä¿¼­, 13 Gb°¡ º¸±â µå¹®°ÍÀÌ ¾Æ´Ï´Ù. ±×·¡¼­ ÀÚ·áµé À» ÇÑ°÷¿¡¸¸ º¸°üÇÏ¿© °ü¸® Çϴ°ÍÀº ½±Áö ¾Ê´Ù. À©µµ¿ìÁ »ç¿ëÇϰųª ¸®´ª½º¸¦ »ç¿ëÇÑ´Ù¸é ¾Æ¸¶µµ ÀÌ°ÍÀÌ ¾ó¸¶³ª ºñ ´É·üÀûÀÎ °ÍÀΰ¡¸¦ ±ú´ÞÀ» °ÍÀÌ´Ù.

±×·¡¼­ ÇÏµå µð½ºÅ©´Â ¶§¶§·Î "ÆÄƼ¼Ç(partitions)"À̶ó´Â ¿©·¯ Á¶°¢µé·Î ³ª´¶´Ù(ÀÚ¼¼ÇÑ »çÇ×À» ¾Ë°í ½ÍÀ¸¸é "ÆÄƼ¼Ç ¹Ì´Ï ÇÏ¿ìÅõ("partition mini HOWTO"¸¦ ÂüÁ¶ÇÏ°í ¶ÇÇÑ /usr/doc/package/util/README.fdisk¸¦ ÀÐ¾î ºÁ¶ó)

±×·³ ³ªÀÇ fdisk -lÀÇ °á°úÁß ÀϺκÐÀ» º¸ÀÚ :

Disk /dev/hdb: 255 heads, 63 sectors, 523 cylinders Units = cylinders of 16065 * 512 bytes

Device Boot Start End Blocks Id System

/dev/hdb1 1 153 1228941 83 Linux

/dev/hdb2 154 166 104422+ 82 Linux swap

/dev/hdb3 * 167 291 1004062+ 83 Linux

/dev/hdb4 295 523 1839442+ 5 Extended

/dev/hdb5 295 422 1028128+ 83 Linux

/dev/hdb6 423 523 811251 6 FAT16

ÀÌ°Ç ³ªÀÇ µÎ¹ø° ÇÏµå µð½ºÅ©ÀÌ´Ù. ÀÌ°ÍÀ» ÀÌÇØÇÏ·Á°í ³ë·ÂÇØ º¸¾Æ¶ó. (ù¹ø°´Â ³Ê¹« °£´ÜÇؼ­ Èï¹Ì·Î¿ï Á¤µµÀÌ´Ù).

/dev/hdb´Â ³ªÀÇ µÎ¹ø° ide µð½ºÅ©ÀÌ´Ù(ÇÁ¶óÀ̸Ӹ®ÀÇ ½½·¹À̺ê)

/dev/hdb1Àº ù¹ø° ÆÄƼ¼ÇÀÌ´Ù. 1ºí·Ï ºÎÅÍ 153ºí·Ï ±îÁö »ç¿ëµÇ°í ÀÖ´Ù.

ù¹ø° ÆÄƼ¼Ç°ú °°Àº °ÍµéÀÌ 4°³ Á¸Àç ÇÒ¼ö ÀÖ´Ù. ¸¸¾à 4°³ ÀÌ»óÀ» ¿øÇÑ ´Ù¸é ±×°ÍÀº "extended"À̾߸¸ ÇÑ´Ù(¹Ýµå½Ã 4¹ø°ÀÏ ÇÊ¿ä´Â ¾ø´Ù). ±×¸®°í ´Ù¸¥ ÆÄƼ¼ÇµéÀº È®ÀåµÈ °Í(extended one) ¼Ó¿¡ "logical"¶ó´Â À̸§À¸·Î ÀÖ¾î¾ß ÇÑ´Ù. ÆÄƼ¼Ç ¹øÈ£ 5¿Í ÆÄƼ¼Ç ¹øÈ£ 4´Â °°Àº ½ÃÀÛÀÌ ¶ó´Â °ÍÀ» ÁÖ ¸ñ ÇØ¾ß ÇÑ´Ù. 5¹øÀº ³í¸®ÀûÀÎ °ÍÀÌ°í, 4¹øÀº È®ÀåµÈ°ÍÀÌ´Ù. ¸¸¾à 4°³ÀÇ ÇÁ¶óÀ̸Ӹ® ÆÄƼ¼ÇÀÌ ¾ø´õ¶óµµ³í¸®ÀûÀÎ °ÍÀº Ç×»ó 5¹ø¿¡¼­ ½ÃÀÛ ÇÑ´Ù.

7. ¹®Á¦°¡ ÀÖ´Â ÀÌÀ¯´Â ?

¹®Á¦´Â ¼³Ä¡µÈ ¿î¿µÃ¼Á¦°¡ µð½ºÅ©¸¦ °øÀ¯ÇÏ°í ½ÃÀÛÇÒ¶§ ¹ÙÀÌ¿À½º(bios)´Â ¿ÀÁ÷ ÆÄƼ¼Ç Å×À̺í(partition table)À̶ó°í ºÒ¸®´Â µð½ºÅ©ÀÇ ¸Å¿ì ¾ÕºÎºÐ ¿¡ ÀÖ´Â °Í¸¸ °Ë»ö ÇÑ´Ù. ÀÌ ÆÄƼ¼Ç Å×À̺íÀº Master Boot Record (MBR) ¼Ó¿¡ ºÎÆ® ·Î´õ¿Í ÇÔ²² À§Ä¡ÇØ ÀÖ´Ù.

¾î¶°ÇÑ ¿î¿µÃ¼Á¦¿¡ ÀÇÇÑ MBRÀÇ À߸øµÈ »ç¿ëÀº ¹®Á¦¸¦ ¾ß±â ½ÃŲ´Ù. ¾î¶² ½Ã½ºÅÛÀ» ÀνºÅç ½ÃÅ°·Á ÇÒ¶§ "ÀÚµ¿À¸·Î ÆÄƼ¼ÇÀ» Á¶Á¤ÇϽðڽÀ´Ï±î?"¿Í °°Àº Áú¹®¿¡ ´ëÇØ '¿¹'¶ó°í ´äÇÑ´Ù¸é ¹®Á¦°¡ »ý±æ ¼ö ÀÖ´Ù. ÀÌ°ÍÀº Ưº°È÷ À©µµ¿ìÁîÀÇ °ü½À ÀûÀÎ ¼³Ä¡(custom windows installation)¿¡ ÀÇÇØ »ý±ä´Ù (¸¸¾à ±×·¸Áö ¾Ê´Â´Ù¸é À©µµ¿ìÁî cd°¡ Æ÷ÇÔ µÇ¾ú´Ù). ±×·¯³ª ±×·¯ÇÑ ¹®Á¦ ´Â ´ëºÎºÐÀÇ ÃֽŠ¸®´ª½º ¹èÆ÷ÆÇ¿¡ ÀÖ´Â "¿µ¸®ÇÑ"(ÀüÇô ¿µ¸®ÇÏÁö ¾Ê´Ù!) ¼³Ä¡ ÇÁ·Î±×·¥¿¡ ÀÇÇؼ­µµ »ý±æ¼ö ÀÖ´Ù.

8. ¹®Á¦ ÇØ°áÇϱâ

Á¶½ÉÇضó ! ´ç½ÅÀÌ ÀÌÀüÀÇ ½Ã½ºÅÛÀ¸·Î µ¹·ÁÁÖ´Â °ÍÀ» À̲ø ´ÙÀ½ÀÇ ¼³¸íÀ» µû¶ó Çضó ! ´ç½ÅÀº °áÁ¤À» ÇØ¾ß ÇÑ´Ù...

8.1 °£´ÜÇÑ °æ¿ì

ÀÌÁ¦ ÇÒ ÀÛ¾÷Àº ¸ðµÎ °£´ÜÇÏ´Ù :

  • fdisk¸¦ ¾µ ¼ö ÀÖ´Â µð½ºÅ©(Ç÷ÎÇÇ È¤Àº cd)·Î ¸®´ª½º¸¦ ½ÃÀÛÇ϶ó - ´ëºÎºÐÀÇ ¹èÆ÷ÆÇÀÇ º¹±¸ µð½ºÅ©·Î ÇÒ ¼ö ÀÖ´Ù.
  • fdisk -l ÀÇ ³»¿ëÀ» ÀûÀº Á¾ÀÌ¿¡ Àû´Â´Ù.

ÀÌ Á¤µµ¸é ÃæºÐÇÏ´Ù

  1. ¸®´ª½º¸¦ ½ÃÀÛÇ϶ó.
  2. fdisk /dev/hda (º¹±¸ÇÒ µð½ºÅ©)¸¦ ½ÇÇàÇ϶ó.
  3. ÇÇÇظ¦ ÀÔÀº µð½ºÅ©¿¡ Á¸ÀçÇÏ´Â ¸ðµç ÆÄƼ¼ÇµéÀ» Áö¿ì±â À§ÇØ (d ¸í·É) fdisk¸¦ »ç¿ëÇ϶ó.
  4. Á¾ÀÌ¿¡ ¾÷±ÞµÈ ¸ðµç ÇÁ¶óÀ̸Ӹ® (1-4) ÆÄƼ¼ÇÀ» ¸¸µé±â À§ÇØ fdisk¸¦ »ç¿ëÇ϶ó.
  5. ÀûÇÕÇÑ ÅÂÅ© (t ¸í·É)À» ÁÖ¶ó : 82 ´Â ¸®´ª½º ½º¿Ò, 83Àº ¸®´ª½º ¸ÞÀÎ (LÀº ¸®½ºÆ®¸¦ º¸¿©ÁØ´Ù), 5´Â È®Àå ±×¸®°í ³í¸® ÆÄƼ¼ÇÀ» ¸¸µé±âÀü¿¡ Çؾ߸¸ ÇÑ´Ù.
  6. ³í¸® ÆÄƼ¼ÇÀ» ¸¸µç´Ù.

fdisk´Â ÀÛÁö¸¸ ÈǸ¢ÇÑ ÇÁ·Î±×·¥ÀÌ´Ù. fdisk·Î ¸¸µç ´Ù¸¥ ÇÁ·Î±×·¥ÀÌ ¸¹ÀÌ ÀÖ´Ù. ±×·¯³ª µå·¯³­ °ÍÀ» ÁÁ¾ÆÇÑ´Ù (³ª´Â ¸®´ª½ºÀÇ °ÍÀ» ¸»Çϸç, ¹°·Ð, ´Ù¸¥ ¿î¿µÃ¼Á¦´Â ¾Æ´Ï´Ù...).

fdisk´Â w¸¦ Ä¡±â Àü¿¡´Â µð½ºÅ©¿¡ ¾î¶°ÇÑ °Íµµ ±â·ÏÇÏÁö ¾Ê´Â ´Ù´Â °ÍÀ» ¾Ë¾ÆµÖ¶ó. ´ç½ÅÀÌ ½Ç¼ö¸¦ µÎ·Á¿öÇÏ´Â °æ¿ì¶ó¸é, q (quit) ȤÀº Ctrl C (\^{ }C) ¸¦ Ãļ­ ¾ÈÀüÇÏ°Ô Á¾·áÇ϶ó.

´ç½ÅÀÇ »õ ÆÄƼ¼Ç Å×À̺íÀÌ ¾²¿©Á³À»¶§, ¸®´ª½º¸¦ ´Ù½Ã ½ÃÀÛÇ϶ó. Æò»ó½Ã ´ë·Î ÇÏ¸é ¾ÈµÈ´Ù : lilo´Â ÇÇÇظ¦ ÀÔ¾úÀ» ¼ö ÀÖ°í ´ç½ÅÀº ºÎÆ® Ç÷ÎÇÇ È¤Àº ºÎÆà ½Ãµð°¡ ÇÊ¿äÇÒ °ÍÀÌ´Ù ("¼³ÇÇµÈ ÆÄƼ¼ÇÀ¸·Î ºÎÆÃ"À» °ñ¶ó¶ó).

´ç½ÅÀÌ lilo¸¦ »ç¿ëÇÏ¿© ºÎÆÃÀ» ÇÑ´Ù¸é, ·çÆ®·Î ·Î±×ÀÎ ÇÏÀÚ¸¶ÀÚ, ´ç½ÅÀÌ Á¦ÀÏ ÁÁ¾ÆÇÏ´Â ºÎÆ® ·Î´õ¸¦ À缳ġÇϱâ À§ÇØ "lilo"¸¦ ÃĶó.

´ç½ÅÀÇ ¸®´ª½º´Â ¸ðµÎ ÀÖÀ» °ÍÀÌ´Ù, Å×½ºÆ® Çغ¸¶ó. À©µµ¿ì°¡ ÀÖ´Ù¸é À©µµ¿ì·Î ½ÃÀÛÇغ¸¶ó. ¸¸¾à ÇÒ ¼ö ¾ø´Ù¸é, ´ç½ÅÀÇ µ¥ÀÌÅ͸¦ ¸®´ª½º·ÎºÎÅÍ ÀÐÀ» ¼ö ÀÖ´Ù¸é, (¸Å¿ì Á¶±×¸¸) ¹®Á¦°¡ ÀÖ´Ù. ¾Æ¸¶µµ ¼½ÅÍ ¸®µå¿¡ ÀÇÇÑ raw ¼½ÅÍÀÏ °ÍÀÌ´Ù. ¸¸¾à ´ç½ÅÀÌ ´ç½ÅÀÇ µ¥ÀÌÅÍ°¡ µð½ºÅ© ¼½ÅÍ¿¡ ÀÖ´Ù´Â °ÍÀ» È®ÀÎÇÒ ¼ö ÀÖ´Ù¸é, ±× °ÍÀ» ÆÄÀÏ·Î º¹»çÇϱâ À§ÇØ dd¸¦ »ç¿ëÇ϶ó. ÀÌ °ÍÀº Çü¸íÇÑ °ÍÀÌ´Ù. ±â °ÍÀº ÀÌ º¹±¸ mini-HOWTOÀÇ ¹üÀ§¿¡ ¹þ¾î³­´Ù.

8.2 °£´ÜÇÏÁö ¾ÊÀº °æ¿ì

By hand

ÀÌ °ÍÀº ÀÌ ÀüÀÇ ¹æ¹ýÀ¸·Î ¸ø ÇÒ¶§, fdisk ¹®¼­ÀÇ ºÎÁ· ȤÀº µ¥ÀÌÅÍ ¹ÛÀÇ »ç¿ëÀ» »ç¿ëÇÏÁö ¸ø ÇÒ¶§ÀÌ´Ù.

¸ÕÀú, (fdisk¸¦ Á¦¿ÜÇÏ°í) µð½ºÅ©¸¦ ¾²´Â ÀÛ¾÷À» Áß´ÜÇØ¾ß ÇÏ´Â °ÍÀ» ¾Ë¾ÆµÖ¶ó. ´ç½ÅÀº µ¥ÀÌÅ͸¦ Áö¿ï ¼ö ¾ø°í, ±×·¡¼­ ºí·° ¹ÙÀÌ ºí·°À» ½ÃµµÇØ º¼ ¼ö ÀÖ´Ù. ÀÌ °ÍÀ¸·Î ÆÄƼ¼ÇÀÌ ½ÃÀÛÇÑ´Ù´Â °ÍÀ» ¾Ë¾Æ¾ßÇÒ ÇÊ¿ä°¡ ÀÖ´Ù. ¸¸¾à, 153ÀÌ ¸ÂÁö ¾Ê´Ù°í ¸»Çϸé, 154¸¦ ½ÃµµÇÏ°í, µîµî.

ÀÌ °ÍÀº Áö°Ü¿î ÀÛ¾÷ÀÌÁö¸¸ ¸®´ª½º ÆÄƼ¼ÇÀÇ »çÀÌÁî´Â ´ëü·Î ±â¾ïÇÏ°í ÀÖ´Ù¸é, ÇÒ ¼ö ÀÖ´Â ±âȸ°¡ ÀÖ´Ù.

gpart

±×·¯³ª ³Ý¿¡ Á¢¼ÓÇÒ ¼ö Àְųª "gpart"¸¦ °¡Áö°í ÀÖ´Ù¸é ´õ ÁÁÀº ¹æ¹ýÀÌ ÀÖ´Ù.

"gpart - guess PC-type hard disk partitions" Àº gpart (man gpart)ÀÇ ¸Ç ÆäÀÌÁöÀÇ Ã¹Â°ÁÙ¿¡ ÀÖ´Ù.

"gpart ÇÏµå µð½ºÅ©¿¡ ÀÖ´Â ÆÄƼ¼ÇÀ» ÃßÃøÇÑ´Ù. ¸¸¾à ÇÁ¶óÀ̸Ӹ® ÆÄƼ¼Ç Å×À̺íÀÌ ¾ø¾îÁ³°í, µ¤¾î½è°Å³ª Æı«µÈ µð½ºÅ©°¡ Á¸ÀçÇÏÁö¸¸ ¿î¿µÃ¼Á¦´Â ±×µé¿¡ Á¢±ÙÀ» ¸ø ÇÑ´Ù.". ÀÌ °ÍÀº Á¤È®È÷ ¿ì¸®°¡ ÇÊ¿äÇÏ´Ù.

gpart´Â ¾ÆÁ÷ º£Å¸ÀÓ¿¡µµ ºÒ±¸ÇÏ°í ¾ÆÁÖ ÁÁÀº ÅøÀÌ´Ù.

¹®Á¦´Â ¾Æ·¡¿Í °°´Ù : ¾î¶² ÆĴϼÇÀÇ Ã¹¹ø° ºí·ÏÀÌ ¸¶Å©µÇ¾ú´Ù. ±×·¯³ª µ¤¾î¾²¿©ÁöÁö ¾Ê¾Ò´Ù¸é Àý´ë "unmarked"°¡ ¾Æ´Ï´Ù. ±×·¡¼­ ¸¹Àº "ù¹ø° ÆÄƼ¼Ç ºí·Ï"Àº ¿À·¡µÈ µð½ºÅ©¿¡ Á¸ÀçÇÏ°í ÀÖÀ¸¸ç gpart´Â ÀÛ¾÷À» ÇÏ·Á°í ½Ãµµ ÇÏ´Â ÇÁ·Î±×·¥ Áß ÁÁÀº ÇÁ·Î±×·¥ÀÌ´Ù. »ç½ÇÀº ½Ãµµ ÇÏ´Â °ÍÀÌ ¾ÆÁÖ ¾î·ÆÁö ¾Ê´Ù. gpart¿¡ ÀÇÇؼ­ ¾²´Â °ÍÀº ¾Æ¹« °Íµµ ¾ø´Ù.

hdbÀÇ ÀÌÀüÀÇ gpartÀÇ °á°úÀÌ´Ù :

root@charles:/home/jdd > gpart /dev/hdb

Begin scan...

Possible partition(Linux ext2), size(1200Mb), offset(0Mb)

Possible partition(Windows NTFS), size(1200Mb), offset(1200Mb)

Possible partition(Linux ext2), size(1004Mb), offset(2402Mb)

Possible partition(Windows NTFS), size(1600Mb), offset(4102Mb)

End scan.

Checking partitions...

* Warning: partition(OS/2 HPFS, NTFS, QNX or Advanced UNIX) ends beyond disk end .

Partition(Linux ext2 filesystem): primary

Partition(OS/2 HPFS, NTFS, QNX or Advanced UNIX): primary

Partition(Linux ext2 filesystem): primary

Partition(OS/2 HPFS, NTFS, QNX or Advanced UNIX): invalid primary

Ok.

Guessed primary partition table:

Primary partition(1)

type: 131(0x83)(Linux ext2 filesystem)

size: 1200mb #s(2457880) s(63-2457942)

chs: (0/1/1)-(152/254/61)d (0/1/1)-(152/254/61)r

Primary partition(2)

type: 007(0x07)(OS/2 HPFS, NTFS, QNX or Advanced UNIX)

size: 1200mb #s(2457880) s(2457944-4915823)

chs: (152/254/63)-(305/253/60)d (152/254/63)-(305/253/60)r

Primary partition(3)

type: 131(0x83)(Linux ext2 filesystem)

size: 1004mb #s(2056256) s(4919781-6976036)

chs: (306/61/49)-(434/60/47)d (306/61/49)-(434/60/47)r

Primary partition(4)

type: 000(0x00)(unused) size: 0mb #s(0) s(0-0) chs: (0/0/0)-(0/0/0)d (0/0/0)-(0/0/0)r

´ç½ÅÀÌ º¸´Â´ë·Î, ÇÁ¶óÀ̸Ӹ® ÆÄƼ¼ÇÀº µ¤¾î ¾²¿©Á³À» ¼ö ÀÖ´Ù. ±×·¯³ª È®ÀåÀº ±×´ë·Î´Ù.

µµ½º ÆÄƼ¼ÇÀº "windows NTFS"ÇÏ°í ¶óº§ÀÌ ºÙ¾îÀִµ¥ Windows 2000 (¸Å¿ì ¹«¼­¿î °æÇè !)¸¦ ¼³Ä¡ÇÏ·Á°í ½ÃµµÇÏ´Â µ¿¾È ¸¸µé¾îÁ³´Ù. "invalid"´Â, »ç½ÇÀº È®Àå ÆÄƼ¼Ç.

ÀÌ °Í°ú ÇÔ²², fdisk¸¦ »ç¿ëÇÏ¿© ÆÄƼ¼Ç Å×À̺íÀ» ´Ù½Ã ¸¸µé ¼ö ÀÖ´Ù.

8.3 ºÎÀÚÀÇ °æ¿ì

Partition Magic´Â »ó¾÷ Á¦Ç°ÀÌÁö¸¸, ½ÎÁö´Â ¾ÊÁö¸¸ ¸Å¿ì ÁÁÀº Æò°¡¸¦ ¹Þ°í ÀÖ´Â ÇÁ·Î±×·¥ÀÌ´Ù (ÇÁ¶û½ºµ·À¸·Î ¹é ´Þ·¯¿¡ °ÅÀÇ °¡±õ´Ù). ±×·¸Áö¸¸ ³ª´Â Àý´ë ÀÌ °ÍÀ» »ç¿ëÇÏÁö ¾ÊÀ» °ÍÀ̸ç Æò°¡µµ ÇÏÁö ¾ÊÀ» °ÍÀÌ´Ù. ÀÌ °ÍÀº ÆÄƼ¼Ç°ú ¾î¶°ÇÑ °Íµµ ÇÒ ¼ö ÀÖ´Ù°í ÇÏ°í º¹±¸½Ãų ¼öµµ ÀÖ´Ù.

ÃÖÃÊÀÇ Ralf partition-rescue mini HOWTO´Â º»·¡ Partiton MagicÀÇ »ç¿ë¿¡ ±â¹ÝÀ» µÎ¾ú´Ù. ±×·¡¼­ ³ª´Â ´ç½ÅÀÇ ¸®´ª½º ÆÄƼ¼Ç¿¡ °¡Ä¡°¡ ÀÖ´Â µ¥ÀÌÅÍ°¡ ÀÖ°í ´É·ÂÀÌ ÀÖ´Ù¸é ÀÌ °ÍÀÌ °¡Àå ÁÁÀº ÇØ°áÃ¥À̶ó°í »ý°¢ÇÑ´Ù. ±×·¸Áö¸¸ ¸Å¿ì ÃÖ±ÙÀÇ Partition Magicº¸´Ù ´õ ÁÁÀº ÇÁ·Î±×·¥ÀÌ ÀÖ´Ù°í »ý°¢ÇÏ°í ´õ ÁÁÀº ¸Þ´º¾óÀÌ ÀÖ´Ù°í »ý°¢ÇÑ´Ù.

9. ÀúÀÚ

ÀÌ ÇÏ¿ìÅõÀÇ ÀúÀÚ´Â Jean-Daniel DodinÀÌ´Ù. ³ª´Â jdanield@doodin.net ȤÀº jdanield@linux-france.org¿¡¼­ Âü¿©ÇÒ ¼ö ÀÖ´Ù.

³ªÀÇ À¥ »çÀÌÆ®´Â http://www.dodin.netÀÌ´Ù. ³ªÀÇ ÃÖ´ë °ü½É»çÀÎ ¸®´ª½º ÆäÀÌÁö´Â www.linux-france.fr/article/jdanield ¿¡ ÀÖ´Ù.

³ª´Â ÀÌÀüÀÇ partition rescue mini HOWTO¸¦ ¾´ Rolf Klausen (E-mail: rolfk@romsdal.vgs.no http://www2.romsdal.vgs.no/ rolfk/) ¿¡°Ô °¨»çÇÑ´Ù. ½ÉÁö¾î ³ª´Â °ÅÀÇ ´Ù½Ã ½è´Ù. ±×´Â ÁÁÀº ¾ÆÀ̵ð¾î¸¦ óÀ½À¸·Î °¡Áö°í ÀÖ¾ú´Ù.

¸®´ª½º Ä¿¹Â´ÏƼÀÇ ´Ù¸¥ ¸â¹ö µé°ú ¸®´ª½º¸¦ Áö¿øÇÏ°í ¸®´ª½º ¹®¼­¿Í ¸®´ª½º ÇÁ·Î±×·¥À» ¾²´Â »ç¶÷°ú ¸ðµç LDPÀÇ ÀúÀÚµé°ú ¸®´ª½º¿Í ½ÇÁúÀûÀ¸·Î ¾î¶°ÇÑ È¥¶õÀÌ ÀÖ´Â »ç¶÷µé. ƯÈ÷ Linus B. Torvalds - ±×´Â _¿Õ_ÀÌ´Ù !!!

³ª´Â ¶ÇÇÑ gpart¸¦ ¾´ Michail Brzitwa <mb@ichabod.han.de> ¿¡°Ô °¨»çÇÑ´Ù. I want also to thank Michail Brzitwa <mb@ichabod.han.de> for writing gpart !

10. °¡Àå ÃÖ±ÙÀÇ ¹öÀü

ÀÌ ¹Ì´Ï ÇÏ¿ìÅõÀÇ °¡Àå ÃÖ±ÙÀÇ ¹öÀüÀº ³ªÀÇ ¸®´ª½º À¥ »çÀÌÆ®ÀÎ www.linux-france/article/jdanield/ ¿¡¼­ ãÀ» ¼ö ÀÖ´Ù.


ID
Password
Join
You have literary talent that you should take pains to develop.


sponsored by andamiro
sponsored by cdnetworks
sponsored by HP

Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2003-08-10 11:52:30
Processing time 0.0029 sec