FreeBSD ¤Ø¥Ç¥£¥¹¥¯Îΰè¤ò³ä¤êÅö¤Æ¤ë¤Ë¤Ï 3 ¤Ä¤ÎÊýË¡¤¬¤¢¤ê¤Þ¤¹¡£ Guided ¤Ë¤è¤ë¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤Îʬ³äÊýË¡¤Ç¤Ï¡¢ ¥Ç¥£¥¹¥¯¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤ò¼«Æ°Åª¤ËÀßÄꤷ¤Þ¤¹¡£ °ìÊý Manual ¤Ë¤è¤ë¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤Îʬ³äÊýË¡¤Ï¡¢ ¹âÅÙ¤ÊÃ챤ò»ý¤Ä¥æ¡¼¥¶¸þ¤±¤Ç¡¢ ¥«¥¹¥¿¥Þ¥¤¥º¤·¤¿¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤òºîÀ®¤Ç¤¤Þ¤¹¡£ 3 ¤ÄÌܤÎÊýË¡¤È¤·¤Æ¡¢¥·¥§¥ë¤òÍøÍѤ·¡¢gpart(8), fdisk(8), bsdlabel(8) ¤Î¤è¤¦¤Ê¥³¥Þ¥ó¥É¥é¥¤¥ó¤Î¥×¥í¥°¥é¥à¤ò¼Â¹Ô¤¹¤ëÊýË¡¤¬¤¢¤ê¤Þ¤¹¡£
Ê£¿ô¤Î¥Ç¥£¥¹¥¯¤¬Àܳ¤µ¤ì¤Æ¤¤¤ë¾ì¹ç¤Ë¤Ï¡¢ FreeBSD ¤ò¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¥Ç¥£¥¹¥¯¤òÁªÂò¤·¤Æ¤¯¤À¤µ¤¤¡£
¥Ç¥£¥¹¥¯¤Î¤¹¤Ù¤Æ¡¢¤Þ¤¿¤Ï°ìÉô¤ò FreeBSD ¤Ë³ä¤êÅö¤Æ¤Þ¤¹¡£
¤òÁªÂò¤¹¤ë¤È¡¢ °ìÈÌŪ¤Ê¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¥ì¥¤¥¢¥¦¥È¤¬ºîÀ®¤µ¤ì¤Þ¤¹¡£ ¤òÁªÂò¤¹¤ë¤È¡¢ ¥Ç¥£¥¹¥¯¤Î»ÈÍѤ·¤Æ¤¤¤Ê¤¤Îΰè¤Ë¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¥ì¥¤¥¢¥¦¥È¤òºîÀ®¤·¤Þ¤¹¡£¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤Î¥ì¥¤¥¢¥¦¥È¤òºîÀ®¤·¤¿¤é¡¢ Àµ¤·¤¯ºîÀ®¤Ç¤¤Æ¤¤¤ë¤«¤É¤¦¤«Ãí°Õ¿¼¤¯³Îǧ¤·¤Æ¤¯¤À¤µ¤¤¡£ ´Ö°ã¤¤¤òȯ¸«¤·¤¿¤é¡¢
¤òÁªÂò¤·¤Æ¡¢ ľÁ°¤ËºîÀ®¤·¤¿¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤ò¥ê¥»¥Ã¥È¤·¤Æ¤¯¤À¤µ¤¤¡£ ¤Þ¤¿¡¢ ¤òÁªÂò¤¹¤ë¤È¡¢ ¼«Æ°Åª¤Ë¤â¤¦°ìÅÙ FreeBSD ¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤òºîÀ®¤·¤Þ¤¹¡£ ¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤ò¼êÆ°¤ÇºîÀ®¡¢Êѹ¹¡¢ºï½ü¤Ç¤¤Þ¤¹¡£ Àµ¤·¤¯¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤òºîÀ®½ÐÍ褿¤é¡¢ ¤òÁªÂò¤·¡¢ ¥¤¥ó¥¹¥È¡¼¥ë¤ò¿Ê¤á¤Æ¤¯¤À¤µ¤¤¡£Manual ¤Ë¤è¤ë¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤Îʬ³ä¤Ç¤Ï¡¢ ľÀܥѡ¼¥Æ¥£¥·¥ç¥ó¥¨¥Ç¥£¥¿¤¬µ¯Æ°¤·¤Þ¤¹¡£
¥É¥é¥¤¥Ö (¤³¤ÎÎã¤Ç¤Ï ada0) ¤òÁª¤Ó¡¢
¤òÁªÂò¤¹¤ë¤È¡¢ partitioning scheme ¤òÁªÂò¤¹¤ë¥á¥Ë¥å¡¼¤¬É½¼¨¤µ¤ì¤Þ¤¹¡£PC ¸ß´¹¤Î¥³¥ó¥Ô¥å¡¼¥¿¤Ç¤Ï¡¢Ä̾ï GPT ¤Ë¤è¤ë¥Ñ¡¼¥Æ¥£¥·¥ç¥óʬ³ä¤¬ºÇ¤âŬÀÚ¤ÊÁªÂò¤È¤Ê¤ê¤Þ¤¹¡£ GPT ¤ËÂбþ¤·¤Æ¤¤¤Ê¤¤¤è¤¦¤Ê¸Å¤¤ PC ¥ª¥Ú¥ì¡¼¥Æ¥£¥ó¥°¥·¥¹¥Æ¥à¤Ç¤Ï¡¢ MBR ¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤ò»È¤¦É¬Íפ¬¤¢¤ê¤Þ¤¹¡£ ¾¤Î¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¥¹¥¡¼¥à¤Ï¡¢»È¤¦¤³¤È¤¬¤Þ¤ì¤Ç¤¢¤Ã¤¿¤ê¡¢ ¸Å¤¤¥³¥ó¥Ô¥å¡¼¥¿¤ÇÍѤ¤¤é¤ì¤Þ¤¹¡£
表 2-1. ¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¥¹¥¡¼¥à
¾Êά·Á | ÀâÌÀ |
---|---|
APM | Apple ¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¥Þ¥Ã¥×¡£ PowerPC® Macintosh® ¤Ç»È¤ï¤ì¤Þ¤¹¡£ |
BSD | MBR ¤òÍѤ¤¤Ê¤¤ BSD ¥é¥Ù¥ë¡£¤·¤Ð¤·¤Ð "dangerously dedicated mode" ¤È¸Æ¤Ð¤ì¤Þ¤¹¡£ bsdlabel(8) ¤ò¤´Í÷¤¯¤À¤µ¤¤¡£ |
GPT | GUID ¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¥Æ¡¼¥Ö¥ë |
MBR | Master Boot Record |
PC98 | MBR ¤Î°¡¼ï¡£NEC PC-98 ¥³¥ó¥Ô¥å¡¼¥¿¤Ç»È¤ï¤ì¤Þ¤¹¡£ |
VTOC8 | Volume Table Of Contents¡£ Sun SPARC64 ¤ª¤è¤Ó UltraSPARC ¥³¥ó¥Ô¥å¡¼¥¿¤Ç»È¤ï¤ì¤Þ¤¹¡£ |
¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¥¹¥¡¼¥à¤òÁªÂò¤·¤ÆºîÀ®¤·¤¿¸å¤Ç¡¢ ¤â¤¦°ìÅÙ
¤òÁªÂò¤¹¤ë¤È¡¢ ¿·¤·¤¤¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤¬ºîÀ®¤µ¤ì¤Þ¤¹¡£É¸½à¤Î FreeBSD GPT ¤Î¥¤¥ó¥¹¥È¡¼¥ë¤Ç¤Ï¡¢ ¾¯¤Ê¤¯¤È¤â 3 ¤Ä¤Î¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤¬»È¤ï¤ì¤Þ¤¹¡£
ɸ½àŪ¤Ê FreeBSD GPT ¥Ñ¡¼¥Æ¥£¥·¥ç¥ó
freebsd-boot - FreeBSD ¥Ö¡¼¥È¥³¡¼¥É¡£
freebsd-ufs - FreeBSD UFS ¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¡£
freebsd-swap - FreeBSD ¥¹¥ï¥Ã¥×¶õ´Ö¡£
¾¤Î¥Ñ¡¼¥Æ¥£¥·¥ç¥ó·Á¼°¤Ë freebsd-zfs ¤¬¤¢¤ê¤Þ¤¹¡£ ¤³¤ì¤Ï FreeBSD ZFS ¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤ò´Þ¤á¤ë¤¿¤á¤Î¤â¤Î¤Ç¤¹¡£ The Z File System (ZFS) ¤ò¤´Í÷¤¯¤À¤µ¤¤¡£ ÍøÍѲÄǽ¤Ê GPT ¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¥¿¥¤¥×¤Ë¤Ä¤¤¤Æ¤Ï¡¢gpart(8) ¤ò¤´Í÷¤¯¤À¤µ¤¤¡£
Ê£¿ô¤Î¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤Î¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤ò»È¤¦¤³¤È¤¬¤Ç¤¤Þ¤¹¡£ /, /var, /tmp ¤½¤·¤Æ /usr ¤È¤¤¤Ã¤¿ÅÁÅýŪ¤Ê¥Ñ¡¼¥Æ¥£¥·¥ç¥óʬ³ä¤Î¥ì¥¤¥¢¥¦¥È¤ò¹¥¤à¿Í¤â¤¤¤Þ¤¹¡£ ¥ì¥¤¥¢¥¦¥È¤ÎÎ㤬 例2-3 ¤Ë¤¢¤ê¤Þ¤¹¡£
¥µ¥¤¥º¤òÆþÎϤ¹¤ëºÝ¤Ë¡¢ K (¥¥í¥Ð¥¤¥È)¡¢M (¥á¥¬¥Ð¥¤¥È)¡¢ G (¥®¥¬¥Ð¥¤¥È) ¤È¤¤¤Ã¤¿Ä̾ï¤Î¾Êά·Á¤ò»ÈÍѽÐÍè¤Þ¤¹¡£
ティップ: ¥»¥¯¥¿¤òŬÀÚ¤ËÇÛÃÖ¤¹¤ë¤³¤È¤Ç¡¢ ºÇÎɤΥѥե©¡¼¥Þ¥ó¥¹¤òÆÀ¤ë¤³¤È¤¬¤Ç¤¤Þ¤¹¡£ ¤Þ¤¿¡¢¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¥µ¥¤¥º¤ò 4K ¥Ð¥¤¥È¤Î¶ö¿ôÇܤˤ¹¤ë¤È¡¢ 512 ¥Ð¥¤¥È¤Þ¤¿¤Ï 4K ¥Ð¥¤¥È¤Î¥»¥¯¥¿¤Ç¥É¥é¥¤¥Ö¤¬ÇÛÃÖ¤·¤ä¤¹¤¯¤Ê¤ê¤Þ¤¹¡£ °ìÈÌŪ¤Ë¡¢ 4K ¤Î¶ö¿ôÇܤξì½ê¤«¤é¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤¬³«»Ï¤¹¤ë¤è¤¦¤ËÀßÄꤹ¤ë´Êñ¤ÊÊýË¡¤Ï¡¢ 1M ¤Þ¤¿¤Ï 1G ¤Î¶ö¿ôÇܤΥѡ¼¥Æ¥£¥·¥ç¥ó¥µ¥¤¥º¤òÍѤ¤¤ë¤³¤È¤Ç¤¹¡£ ¤¿¤À¤·¡¢Îã³°¤¬¤¢¤ê¡¢¸½ºß¤Î¤È¤³¤í freebsd-boot ¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤Ï¡¢ ¥Ö¡¼¥È¥³¡¼¥É¤ÎÀ©¸Â¤Ë¤è¤ê 512K °Ê²¼¤Ç¤¢¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£
¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤ò»ý¤Ä¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤Ç¤Ï¡¢ ¥Þ¥¦¥ó¥È¥Ý¥¤¥ó¥È¤¬É¬ÍפȤʤê¤Þ¤¹¡£ 1 ¤Ä¤Î UFS ¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤À¤±¤òºîÀ®¤¹¤ë¤Î¤Ç¤¢¤ì¤Ð¡¢ ¥Þ¥¦¥ó¥È¥Ý¥¤¥ó¥È¤Ï / ¤È¤Ê¤ê¤Þ¤¹¡£
ƱÍÍ¤Ë label ¤ÎºîÀ®¤âɬÍפǤ¹¡£ ¥é¥Ù¥ë¤ÏºîÀ®¤·¤¿¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤òǧ¼±¤¹¤ë¤¿¤á¤Î̾Á°¤Ç¤¹¡£ ¥É¥é¥¤¥Ö̾¤äÈÖ¹æ¤Ï¡¢ ¥É¥é¥¤¥Ö¤¬Ê̤Υ³¥ó¥È¥í¡¼¥é¤ä¥Ý¡¼¥È¤ËÀܳ¤µ¤ì¤ë¤ÈÊѤï¤ë¤³¤È¤¬¤¢¤ê¤Þ¤¹¤¬¡¢ ¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¥é¥Ù¥ë¤ÏÊѤï¤ê¤Þ¤»¤ó¡£ /etc/fstab ¤Î¤è¤¦¤Ê¥Õ¥¡¥¤¥ë¤ÎÃæ¤Ç¡¢ ¥É¥é¥¤¥Ö̾¤ä¥Ñ¡¼¥Æ¥£¥·¥ç¥óÈÖ¹æ¤Ç¤Ï¤Ê¤¯¡¢¥é¥Ù¥ë¤ò»²¾È¤¹¤ë¤³¤È¤Ë¤è¤ê¡¢ ¥·¥¹¥Æ¥à¤¬¥Ï¡¼¥É¥¦¥§¥¢¤ÎÊѹ¹¤ËÂФ·¤Æ¡¢¤è¤ê´²ÍƤˤʤê¤Þ¤¹¡£ GPT ¤Î¥é¥Ù¥ë¤Ï¡¢¥Ç¥£¥¹¥¯¤¬Àܳ¤µ¤ì¤ë¤È /dev/gpt/ ¤Ë¸½¤ì¤Þ¤¹¡£Â¾¤Î¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¥¹¥¡¼¥à¤Ç¤ÏÊ̤Υé¥Ù¥ë¤È¤Ê¤ê¡¢ /dev/ °Ê²¼¤Î°Û¤Ê¤ë¥Ç¥£¥ì¥¯¥È¥ê¤Ë¥é¥Ù¥ë¤¬¸½¤ì¤Þ¤¹¡£
ティップ: Ʊ¤¸Ì¾Á°¤Ë¤è¤ë¾×ÆͤòÈò¤±¤ë¤¿¤á¡¢ ¤¹¤Ù¤Æ¤Î¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤ËÂФ·¡¢°ì°ÕŪ¤Ê̾Á°»È¤Ã¤Æ¤¯¤À¤µ¤¤¡£ ¥³¥ó¥Ô¥å¡¼¥¿Ì¾¡¢»ÈÍÑ¡¢°ÌÃÖ¾ðÊó¤òɽ¤¹Ã±¸ì¤ò¥é¥Ù¥ë¤ËÄɲäǤ¤Þ¤¹¡£ ¤¿¤È¤¨¤Ð¡¢¸¦µæ¼¼¤Î¥³¥ó¥Ô¥å¡¼¥¿¤Î UFS ¤Î¥ë¡¼¥È¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤ò "labroot" ¤Þ¤¿¤Ï "rootfs-lab" ¤È¤·¤Þ¤¹¡£
例 2-3. ÅÁÅýŪ¤Ê¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤Î¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤òºîÀ®¤¹¤ë¡£
ÅÁÅýŪ¤Ê¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¥ì¥¤¥¢¥¦¥È (/, /var, /tmp ¤ª¤è¤Ó /usr ¥Ç¥£¥ì¥¯¥È¥ê¤¬³Æ¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤ÎÊ̤Υե¡¥¤¥ë¥·¥¹¥Æ¥à) ¤òºîÀ®¤¹¤ë¤Ë¤Ï¡¢ GPT ¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¥¹¥¡¼¥à¤òºîÀ®¤·¡¢ ¤½¤Î¸å¡¢¼¨¤µ¤ì¤Æ¤¤¤ë¤è¤¦¤Ë¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤òºîÀ®¤·¤Æ¤¯¤À¤µ¤¤¡£ ¼¨¤µ¤ì¤Æ¤¤¤ë¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¥µ¥¤¥º¤Ï 20G ¤Î¥Ç¥£¥¹¥¯ÍѤǤ¹¡£ ¥Ç¥£¥¹¥¯¤Ë¤è¤ê¿¤¯¤ÎÍÆÎ̤¬¤¢¤ì¤Ð¡¢swap ¤Þ¤¿¤Ï /var ¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤òÂ礤¯¼è¤ë¤ÈÎɤ¤¤Ç¤·¤ç¤¦¡£ ¤³¤³¤Ç¼¨¤µ¤ì¤Æ¤¤¤ë¥é¥Ù¥ë¤Ë¤Ï¡¢"example" ¤ò°ÕÌ£¤¹¤ë ex ¤¬ÉÕ¤±¤é¤ì¤Æ¤¤¤Þ¤¹¤¬¡¢ ¼ÂºÝ¤Ë¤Ï¾å¤ÇÀâÌÀ¤·¤¿¤è¤¦¤Ë¡¢ ¤³¤ì¤È¤ÏÊ̤Υæ¥Ë¡¼¥¯¤Ê¥é¥Ù¥ë¤ò¤Ä¤±¤Æ¤¯¤À¤µ¤¤¡£
FreeBSD ¤Î gptboot ¤Ï¡¢ ¥Ç¥Õ¥©¥ë¥È¤Ç¤ÏºÇ½é¤Ë¸«¤Ä¤«¤Ã¤¿ UFS ¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤¬¡¢ / ¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤Ç¤¢¤ë¤³¤È¤òÁ°Æ¬¤È¤·¤Æ¤¤¤Þ¤¹¡£
¥«¥¹¥¿¥à¥Ñ¡¼¥Æ¥£¥·¥ç¥ó ¤òºîÀ®¤·¤¿¤é
¤òÁªÂò¤·¤Æ¡¢ ¥¤¥ó¥¹¥È¡¼¥ë¤òÀè¤Ë¿Ê¤ó¤Ç¤¯¤À¤µ¤¤¡£ËÜʸ½ñ¡¢¤ª¤è¤Ó¾¤Îʸ½ñ¤Ï ftp://ftp.FreeBSD.org/pub/FreeBSD/doc/ ¤«¤é¥À¥¦¥ó¥í¡¼¥É¤Ç¤¤Þ¤¹¡£
FreeBSD ¤Ë´Ø¤¹¤ë¼ÁÌ䤬¤¢¤ë¾ì¹ç¤Ë¤Ï¡¢¥É¥¥å¥á¥ó¥È ¤òÆɤó¤À¾å¤Ç <questions@FreeBSD.org> ¤Þ¤Ç (±Ñ¸ì¤Ç)
Ï¢Íí¤·¤Æ¤¯¤À¤µ¤¤¡£
ËÜʸ½ñ¤Ë´Ø¤¹¤ë¼ÁÌä¤Ë¤Ä¤¤¤Æ¤Ï¡¢<doc@FreeBSD.org> ¤Þ¤ÇÅŻҥ᡼¥ë¤ò (±Ñ¸ì¤Ç)
Á÷¤Ã¤Æ¤¯¤À¤µ¤¤¡£