ÉÕÏ¿ B. Red Hat Linux¤Îºï½ü

Red Hat Linux ¤ò¥·¥¹¥Æ¥à¤«¤é¥¢¥ó¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¤Ë¤Ï ¥Þ¥¹¥¿¡¼¥Ö¡¼¥È¥ì¥³¡¼¥É(MBR)¤«¤éGRUBËô¤Ï¡¢LILO¤Î ¾ðÊó¤òºï½ü¤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£

DOS¡¢NT¡¢¤È Windows 95 ¾å¤Ç¤Ïfdisk¤Ëµ­½Ò¤Î¤Ê¤¤ /mbr¥ª¥×¥·¥ç¥ó¤òÉÕ¤±¤Æ¼Â¹Ô¤¹¤ì¤Ð¡¢¿·¤·¤¯MBR ¤òºîÀ®¤Ç¤­¤Þ¤¹¡£¤³¤ì¤Ï¥×¥é¥¤¥Þ¥ê DOS ¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤òµ¯Æ°¤¹¤ë¤è¤¦¤ËMBR¤ò½ñ¤­Ä¾¤¹¤À¤±¤Ç¤¹¡£¥³¥Þ¥ó¥É¤Ï¼¡¤Î¤è¤¦¤Ë¤·¤Þ¤¹¡§

fdisk /mbr

¥Ï¡¼¥É¥Ç¥£¥¹¥¯¤«¤éLinux ¤òºï½ü¤¹¤ëɬÍפ¬¤¢¤ê¡¢¤³¤ì¤ò¥Ç¥Õ¥©¥ë¥È¤ÎDOS(Windows) fdisk¤Ç¼Â¹Ô¤·¤è¤¦¤È¤·¤¿¾ì¹ç¡¢¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤Ï¸ºß¤·¤Æ¤¤¤ë¤±¤É ¸ºß¤·¤Ê¤¤¤È¤¤¤¦ÌäÂ긽¾Ý¤ËÁø¶ø¤·¤Þ¤¹¡£DOS°Ê³°¤Î¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤òºï½ü¤¹¤ëºÇÁ±¤ÎÊýË¡¤Ï¡¢ DOS°Ê³°¤Î¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤òÍý²ò¤¹¤ë¥Ä¡¼¥ë¤ò»ÈÍѤ¹¤ë¤³¤È¤Ç¤¹¡£

¤³¤ì¤ò³«»Ï¤¹¤ë¤Ë¤Ï¡¢Red Hat Linux CD¤òÁÞÆþ¤·¤Æ¥·¥¹¥Æ¥à¤ò¥Ö¡¼¥È¤·¤Þ¤¹¡£CD¤«¤é¥Ö¡¼¥È¤·¤¿»þÅÀ¤Ç ¥Ö¡¼¥È¥×¥í¥ó¥×¥È¤¬É½¼¨¤µ¤ì¤Þ¤¹¡£¤½¤Î¥×¥í¥ó¥×¥È¤Çlinux rescue¤È ¥¿¥¤¥×¤·¤Þ¤¹¡£¤³¤ì¤¬¥ì¥¹¥­¥å¡¼¥â¡¼¥É¥×¥í¥°¥é¥à¤òµ¯Æ°¤·¤Þ¤¹¡£

¥­¡¼¥Ü¡¼¥É¤È¸À¸ì¤ÎÀßÄê¤Î¥×¥í¥ó¥×¥È¤¬½Ð¤ÆÍè¤Þ¤¹¡£Red Hat Linux¤Î¥¤¥ó¥¹¥È¡¼¥ëÃæ¤ËÀßÄꤹ¤ë ¤Î¤ÈƱ¤¸ÍͤËÃͤòÆþÎϤ·¤Þ¤¹¡£

¼¡¤Î²èÌ̤ǡ¢¥×¥í¥°¥é¥à¤¬¤³¤³¤Ç¥ì¥¹¥­¥å¡¼ÍÑRed Hat Linux¤ò¸¡º÷¤¹¤ë¤³¤È¤ò°ÆÆ⤷¤Æ¤­¤Þ¤¹¡£ ¤³¤Î²èÌ̤Ǥϡ¢¥¹¥­¥Ã¥×¤òÁªÂò¤·¤Þ¤¹¡£

¥¹¥­¥Ã¥×¤òÁªÂò¤·¤¿¸å¡¢ºï½ü¤·¤¿¤¤¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤Ë¥¢¥¯¥»¥¹¤¹¤ë °Ù¤Î¥³¥Þ¥ó¥É¥×¥í¥ó¥×¥È¤¬¸½¤ì¤Þ¤¹¡£

¤Þ¤º¡¢list-harddrives¥³¥Þ¥ó¥É¤òÆþÎϤ·¤Þ¤¹¡£¤³¤Î¥³¥Þ¥ó¥É¤Ï ¥¤¥ó¥¹¥È¡¼¥ë¥×¥í¥°¥é¥à¤Çǧ¼±¤µ¤ì¤ë¥·¥¹¥Æ¥àÆâ¤ÎÁ´¤Æ¤Î¥Ï¡¼¥É¥É¥é¥¤¥Ö¤òɽ¼¨¤·¡¢ ¤½¤Î¥µ¥¤¥º¤ò¥á¥¬¥Ð¥¤¥È¤Çɽ¼¨¤·¤Þ¤¹¡£

·Ù¹ð·Ù¹ð
 

ÌÜŪ¤ÎRed Hat Linux¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤À¤±¤òºï½ü¤¹¤ë¤è¤¦¤ËÃí°Õ¤·¤Æ²¼¤µ¤¤¡£Â¾¤Î¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤ò ºï½ü¤¹¤ë¤È¥Ç¡¼¥¿¤Î»¼º¡¢¤¢¤ë¤¤¤Ï¥·¥¹¥Æ¥à´Ä¶­¤ÎÇË»¤Ë¤Ä¤Ê¤¬¤ë²ÄǽÀ­¤¬¤¢¤ê¤Þ¤¹¡£

¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤òºï½ü¤¹¤ë¤Ë¤Ï¡¢¥Ñ¡¼¥Æ¥£¥·¥ç¥óÀßÄê¥æ¡¼¥Æ¥£¥ê¥Æ¥£¡¢parted¤ò »ÈÍѤ·¤Þ¤¹¡£ºï½ü¤¹¤ë¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤¬Â¸ºß¤¹¤ë¥Ç¥Ð¥¤¥¹¡¢/dev/hda¤Ç parted¤ò¥¹¥¿¡¼¥È¤·¤Þ¤¹¡§

parted /dev/hda

print¥³¥Þ¥ó¥É¤ò»ÈÍѤ·¤Æ¡¢¸½ºß¤Î¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤òɽ¼¨¤· ºï½ü¤¹¤ë¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤Î¥Þ¥¤¥Ê¡¼ÈÖ¹æ¤ò·èÄꤷ¤Þ¤¹¡§

print

¤³¤Îprint¥³¥Þ¥ó¥É¤Ï¡¢¤Þ¤¿¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¥¿¥¤¥×(linux-swap, ext2, ext3, ¤Ê¤É)¤âɽ¼¨¤·¤Þ¤¹¡£¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¥¿¥¤¥×¤¬Ê¬¤«¤ì¤Ð¡¢¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤òºï½ü¤¹¤Ù¤­¤«¤É¤¦¤«¤ò ·èÄꤹ¤ë¤Î¤ËÌò¤ËΩ¤Á¤Þ¤¹¡£

rm¥³¥Þ¥ó¥É¤Ç¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤òºï½ü¤·¤Þ¤¹¡£Î㤨¤Ð¡¢ ¥Þ¥¤¥Ê¡¼ÈÖ¹æ 3¤Î¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤òºï½ü¤¹¤ë¤Î¤Ï°Ê²¼¤Î¥³¥Þ¥ó¥É¤Ç¤¹¡§

rm 3    

ÀÀÍ×¹àÌܽÅÍ×
 

Êѹ¹¤Ï¡¢ [Enter]¤ò²¡¤·¤¿»þÅÀ¤ÇÈ¿±Ç¤µ¤ì¤Þ¤¹¤Î¤Ç¡¢¼Â¹Ô¤¹¤ëÁ°¤Ë ¥³¥Þ¥ó¥É¤ò¤â¤¦°ìÅÙ³Îǧ¤·¤Æ²¼¤µ¤¤¡£

¥Ñ¡¼¥Æ¥£¥·¥ç¥óºï½ü¤Î¸å¤Ï¡¢print¥³¥Þ¥ó¥É¤ò»ÈÍѤ·¤Æ ¤½¤ì¤¬¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¥Æ¡¼¥Ö¥ë¤«¤éºï½ü¤µ¤ì¤¿¤³¤È¤ò³Îǧ¤·¤Æ²¼¤µ¤¤¡£

Linux¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤òºï½ü¤·¤Æ¡¢É¬ÍפÊÊѹ¹¤¬¤¹¤Ù¤Æ½ªÎ»¤·¤¿¤é¡¢¤³¤³¤Ç quit¥³¥Þ¥ó¥É¤ò¥¿¥¤¥×¤·¤Æ parted¤ò ½ªÎ»¤·¤Þ¤¹¡£

parted¤ò½ªÎ»¤¹¤ë¤È¡¢º£Å٤ϥ֡¼¥È¥³¥Þ¥ó¥É¤Çexit¤È ¥¿¥¤¥×¤·¤Æ¥ì¥¹¥­¥å¡¼¥â¡¼¥É¤ò½ªÎ»¤·¡¢¥¤¥ó¥¹¥È¡¼¥ë¤ò·Ñ³¤¹¤ë¤Î¤Ç¤Ï¤Ê¤¯¡¢¥·¥¹¥Æ¥à¤ÎºÆµ¯Æ° ¤ò¤·¤Þ¤¹¡£¥·¥¹¥Æ¥à¤Ï¼«Æ°Åª¤ËºÆµ¯Æ°¤·¤Æ¤­¤Þ¤¹¡£¤â¤·¼«Æ°Åª¤Ëµ¯Æ°¤·¤Ê¤¤¾ì¹ç¤Ï¡¢ [Control¥­¡¼]-[Alt¥­¡¼¡¢]-[Delete¥­¡¼] ¤ÎÁȹ礻¤òƱ»þ¤Ë²¡¤·¤ÆºÆµ¯Æ°¤·¤Þ¤¹¡£