G.3. parted¤Ë¤è¤ë¥Ñ¡¼¥Æ¥£¥·¥ç¥óÀßÄê

¤ªµÒÍͤؤÎÊص¹¤Î¤¿¤á¡¢parted¥æ¡¼¥Æ¥£¥ê¥Æ¥£¤¬Ä󶡤µ¤ì¤Æ¤¤¤Þ¤¹¡£¤³¤ì¤Ï¼«Í³¤Ë»ÈÍѤǤ­¤ë ¥×¥í¥°¥é¥à¤Ç¡¢¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤Î¥µ¥¤¥ºÊѹ¹¤¬¤Ç¤­¤Þ¤¹¡£

parted¤Ë¤è¤Ã¤Æ¥Ï¡¼¥É¥Ç¥£¥¹¥¯¥É¥é¥¤¥Ö¤ÎºÆ¥Ñ¡¼¥Æ¥£¥·¥ç¥óÀßÄê¤ò¹Ô¤¦¤Ë¤Ï¡¢ °Ê²¼¤Î2¤Ä¤ò¼Â¹Ô¤¹¤ë¤³¤È¤¬½ÅÍפǤ¹¡§

G.3.1. Windows ¥·¥¹¥Æ¥à¤Î¥Ñ¡¼¥Æ¥£¥·¥ç¥óÀßÄê

WindowsÀìÍѤΥܥ寥¹¤Ç¡¢Red Hat LinuxÍѤÎÎΰè¤òºî¤ë°Ù¤Ë¥·¥¹¥Æ¥à¤Î¥Ñ¡¼¥Æ¥£¥·¥ç¥óÊѹ¹¤ò¤¹¤ëɬÍפ¬ ¤¢¤ë¾ì¹ç¤¬¤¢¤ê¤Þ¤¹¡£

ºÇ½é¤ËRed Hat Linux¤Î1ËçÌܤÎCD ¤òÁÞÆþ¤·¤Æ¥·¥¹¥Æ¥à¤òºÆµ¯Æ°¤·¤Þ¤¹¡£¥ì¥¹¥­¥å¡¼¥â¡¼¥É¤Ç parted¤Ë¥¢¥¯¥»¥¹¤¹¤ë°Ù¤ËCD¤«¤é¥Ö¡¼¥È¤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£ CD¤«¤é¥Ö¡¼¥È¤¹¤ë¤³¤È¤¬½ÐÍè¤Ê¤¤¾ì¹ç¤Ï¡¢BIOSÀßÄê¤òÊÔ½¸¤¹¤ëɬÍפ¬¤¢¤ë¤«¤âÃΤì¤Þ¤»¤ó¡£ BIOS¤ÎÊÔ½¸¤Ë´Ø¤¹¤ë¾ÜºÙ¤Ï¡¢¹à3.3.1¤Ç¸æÍ÷²¼¤µ¤¤¡£

CD¤«¤é¥Ö¡¼¥È¤¹¤ë¤È¡¢¥Ö¡¼¥È¥×¥í¥ó¥×¥È¤¬É½¼¨¤µ¤ì¤Þ¤¹¡£¤½¤Î¥×¥í¥ó¥×¥È¤Ç linux rescue¤È¥¿¥¤¥×¤·¤Þ¤¹¡£¤³¤ì¤¬¥ì¥¹¥­¥å¡¼¥â¡¼¥É ¥×¥í¥°¥é¥à¤òµ¯Æ°¤·¤Þ¤¹¡£

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

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

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

¥×¥í¥ó¥×¥È¤Î¸å¤Ëparted /dev/hdX Ëô¤Ï¡¢parted /dev/sdX(Êѹ¹¤·¤¿¤¤ ¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤Î¥É¥é¥¤¥Ö¤òÁªÂò)¤È¥¿¥¤¥×¤·¤Þ¤¹¡£¤³¤³¤ÇX¤È¤Ï ¤½¤Î¥Ï¡¼¥É¥É¥é¥¤¥Ö¾å¤Î¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤ÎÈÖ¹æ¤Ç¤¹¡£

print¥³¥Þ¥ó¥É¤ò»ÈÍѤ·¤Æ¡¢¸½ºß¤Î¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤òɽ¼¨¤· ºï½ü¤¹¤Ù¤­¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤Î¥Þ¥¤¥Ê¡¼Èֹ桢µÚ¤Ó¤½¤Î¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤Î³«»Ï¤È½ªÎ»¤Î ¥Ý¥¤¥ó¥È¤ò·èÄꤷ¤Þ¤¹¡§

print

¥µ¥¤¥ºÊѹ¹¤¹¤ë¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤Î»ÈÍÑÎΰè¤Ï¡¢¿·µ¬¤Î¥µ¥¤¥º¤è¤ê¤âÂ礭¤¯¤Æ¤Ï ¤¤¤±¤Þ¤»¤ó¡£

·Ù¹ð·Ù¹ð
 

parted¤ÇÊѹ¹¤·¤¿¤â¤Î¤Ï¤¹¤Ù¤Æ ¤¹¤°¤ËÈ¿±Ç¤µ¤ì¤Þ¤¹¡£

¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤Î¥µ¥¤¥ºÊѹ¹¤ò¤¹¤ë¤Ë¤Ï¡¢resize¥³¥Þ¥ó¥É¤ò»ÈÍѤ· ³¤±¤Æ¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤Î¥Þ¥¤¥Ê¡¼ÈÖ¹æµÚ¤Ó¡¢³«»ÏÅÀ¤È½ªÎ»ÅÀ¤ò¥á¥¬¥Ð¥¤¥È¤ÇÆþÎϤ·¤Þ¤¹¡£ Î㤨¤Ð :

resize 3 1024 2048

¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¥µ¥¤¥º¤¬Êѹ¹¤µ¤ì¤¿¸å¤Ï¡¢print¤ò»ÈÍѤ·¤Æ ¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¥µ¥¤¥º¤¬Àµ¤·¤¯¥µ¥¤¥ºÊѹ¹¤µ¤ì¤«¡¢Àµ¤·¤¤¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¥¿¥¤¥×¤«¡¢ ¤¢¤ë¤¤¤ÏÀµ¤·¤¤¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¥¿¥¤¥×¤«¤Ê¤É¤ò³Îǧ¤·¤Þ¤¹¡£

¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¥µ¥¤¥ºÊѹ¹¤Îºî¶È¤¬´°Î»¤¹¤ë¤È¡¢exit¤È ¥¿¥¤¥×¤·¤Æ¥·¥¹¥Æ¥à¤ò¥·¥ã¥Ã¥È¥À¥¦¥ó¤·¤Þ¤¹¡£

ºÇ¸å¤Ë¡¢¥·¥¹¥Æ¥à¤òºÆµ¯Æ°¤·¤Þ¤¹¡£ºÆµ¯Æ°¤Ï¼«Æ°Åª¤Ë»Ï¤Þ¤ë¤Ï¤º¤Ç¤¹¤¬ »Ï¤Þ¤é¤Ê¤¤¾ì¹ç¡¢¥·¥¹¥Æ¥à¤ò¼êÆ°¤ÇºÆµ¯Æ°¤·¤Æ²¼¤µ¤¤¡£

¤³¤ì¤Ç Red Hat Linux¤Î¥¤¥ó¥¹¥È¡¼¥ë¤ò»Ï¤á¤ë¤³¤È¤¬½ÐÍè¤Þ¤¹¡£