Debianãç©ççã«ã¢ã¯ã»ã¹å¯èœãªãã·ã³ã«ã€ã³ã¹ããŒã«ããŸããããã«ã¯ã¢ãã¿ãŒãããŒããŒããæ¥ç¶ããèœåã¯ãããŸããããç¹å®ã®ãœãããŠã§ã¢ãšãââãŒããŠã§ã¢ãªãœãŒã¹ã®ã»ããããããŸãã
ããªãã¡ïŒ
- BIOSã»ããã¢ããããšã©ãŒãªãããŸãã¯ããã¹ãŠãããŒããŒããªããã§POSTé åºããã§ã«èšå®ãããŠããã¿ãŒã²ãããã·ã³ïŒããã§ãªãå Žåãæé ã¯å°ãªããšãäœãã®ããŠã³ããŒããéå§ããããšããã§ããªããªããŸã*ïŒãæåã«1ã€ã®sataããã€ã¹ããèµ·åãã次ã«å¥ã®ããã€ã¹ããèµ·åããŸãïŒããŒãé åºã®ä»ã®è©³çŽ°ã¯éèŠã§ã¯ãããŸããã§ããïŒ
- ã©ããããã
- ããŒã«ã«ãããã¯ãŒã¯ïŒç§ã®å Žåãã¿ãŒã²ãããã·ã³ãžã®æç·æ¥ç¶ãšã¯ã€ã€ã¬ã¹-ã©ãããããã䜿çšããWi-Fiã«ãŒã¿ãŒããã ãã詳现ã¯éèŠã§ã¯ãããŸããïŒ
- ã€ã³ã¿ãŒãããã¢ã¯ã»ã¹ïŒå®äŸ¡ã§ã§ããã°é«éïŒ
- ããŒãããã2.5 "æãããã¿åŒå€éšããŒããã©ã€ããå éšSATAã€ã³ã¿ãŒãã§ã€ã¹ããã³å€éšUSB
Debianãã¿ãŒã²ãããã·ã³ã®å éšããŒããã©ã€ãã«ã€ã³ã¹ããŒã«ãããŠããå Žåãã¿ã¹ã¯ã¯å®äºãããšã¿ãªãããšãã§ããåŸè ã¯ãŠãŒã¶ãŒã®ä»å ¥ãªãã§SSHã¢ã¯ã»ã·ããªãã£ããªã³ã«ããŸãã
ãœãªã¥ãŒã·ã§ã³ã¹ããŒã
ãã®åé¡ã®æé©ãªè§£æ±ºçã¯ã次ã®äžé£ã®ã¢ã¯ã·ã§ã³ã§ããã
- ããã«Debianãã€ã³ã¹ããŒã«ããã®ã«ååãªå€ä»ãããŒããã©ã€ãã¹ããŒã¹ãå掻æ§åãã
- ã©ãããããã§ãOracle VirtualBoxä»®æ³åããã±ãŒãžã®VBoxManageããŒã«ã䜿çšããŠusbæ¥ç¶ã®å€éšããŒããã©ã€ããvmdkãã¡ã€ã«ã«ãã€ã³ãããDebianå€éšããŒããã©ã€ãã«ã€ã³ã¹ããŒã«ããŠæ§æããŸãã
- å€ä»ãããŒããã©ã€ããå解ããæåã«ããŠã³ããŒããã¥ãŒã§sataã€ã³ã¿ãŒãã§ãŒã¹ãä»ããŠã¿ãŒã²ãããã·ã³ã«æ¥ç¶ãããã·ã³ãèµ·åããŠSSHçµç±ã§ã©ãããããããæ¥ç¶ããŸã
- 2.5ãã¿ãŒã²ãããã·ã³3.5ã®ãã€ãã£ããã©ã€ããããã·ã¹ãã ãã¯ããŒã³ããgrub2ãåæ§æããŠãSSHçµç±ã§ã©ãããããããã¿ãŒã²ãããã·ã³ãå¶åŸ¡ããŸãã
代æ¿æ¡
äžè¬çã«ããã®åé¡ã«ã¯å€ãã®è§£æ±ºçããããŸãã ææ¡ãããã¹ããŒã ã®ä»£ããã«ãç§ã®ä»£ããã«ãã»ãšãã©ã®å ŽåãçµéšãšæºåãæŽã£ãå¥ã®ãŠãŒã¶ãŒã次ã®è§£æ±ºçã®ãããããéžæã§ããŸãã
- æ¢åã®Debianãã£ã¹ããªãã¥ãŒã·ã§ã³ãå€æŽããŠãCD / DVDããèµ·åãããšãã«ãŠãŒã¶ãŒã«è³ªåããããšãªããã¿ãŒã²ãããã·ã³ã®ããŒããã£ã¹ã¯ãããŒãã£ã·ã§ã³åå²ããããã«å¿ èŠãªæ¹æ³ãå«ããã·ã¹ãã ãèªåçã«ã€ã³ã¹ããŒã«ããã³èšå®ããŸãã ãããè¡ãã«ã¯ãã€ã³ã¹ããŒã©ãŒã®ãã¹ãŠã®èŠæ±ã«å¯Ÿããåçãå«ãç¹å¥ãªpreseed-fileãäœæãããã¹ãŠãå®å šã«èæ ®ãããŠããããšãæåŸ ããå¿ èŠããããŸãã 詳现ã«ã€ããŠã¯ã å ¬åŒããã¥ã¡ã³ããåç §ããŠãã ããã
- ã©ãããããäžã®DHCPãµãŒããŒãäžããïŒãŸãã¯ã«ãŒã¿ãŒã®ãµãŒãã¹ã䜿çšããïŒãWebãµãŒããŒã䜿çšããŠpreseedãã¡ã€ã«ãå ¬éããtftpãµãŒããŒã䜿çšããŠãããã¯ãŒã¯çµç±ã§åæpxelinux.0ããŒãã³ãŒããã¿ãŒã²ãããã·ã³ã«è»¢éããŸã-ã€ãŸããPXEããŒãã䜿çšããŸãïŒ BIOSã»ããã¢ããã§ãããã¯ãŒã¯ããŒããµããŒããæå¹ã«ããå¿ èŠãããçç±ïŒã ããã¯ãç§ã®ç¶æ³ã®éèŠãªæŠç¥çå©ç¹ã§ããã¿ãŒã²ãããã·ã³ãžã®ç©ççãªã¢ã¯ã»ã¹ã䜿çšããªãæã匷åãªã¢ãããŒãã§ãã
- é©åãªlive-cd Linuxãã£ã¹ããªãã¥ãŒã·ã§ã³ãèŠã€ããããæ¢åã®ãã£ã¹ããªãã¥ãŒã·ã§ã³ãå€æŽããŠïŒããšãã°ãsimple-cddãŠãŒãã£ãªãã£ãªã©ã䜿çšïŒãåäžã®è³ªåãªãã§èµ·åããSSHãµãŒããŒãèªåçã«èµ·åããŠãããDebianãã£ã¹ããªãã¥ãŒã·ã§ã³ãæåã§ã€ã³ã¹ããŒã«ããŸãïŒãã®ããã»ã¹ã«ã€ããŠã¯ã ããã¥ã¡ã³ã ïŒ
- ãã ããä»ã®æ¹æ³ã䜿çšããå Žåãã»ãšãã©ã®å Žåã説æãããŠããæ¹æ³ã®çµã¿åããã«ãªããã䜿çšå¯èœãªãªãœãŒã¹ãè¶ ããŸããããšãã°ã3.5ã€ã³ããã£ã¹ã¯çšã®usb-sataã¢ããã¿ãŒããå°ãªããšãã¢ããã¿ãŒãšããŠã®äºçŽ°ãªããšã§ã SATAã®ããããïŒ3.5ã€ã³ããã©ã€ãã¯ã¿ãŒã²ãããã·ã³ã®PSUããé»åãäŸçµŠãã2.5ã€ã³ãå€éšãã©ã€ãããã³ã³ãããŒã©ãŒã䜿çšããŠUSBçµç±ã§ã©ãããããã«æ¥ç¶ããããã¹ãªã DVDã®ä»£ããã«3.5ã€ã³ããã©ã€ããã©ãããããã«çŽæ¥æ¥ç¶ããããšãã§ããŸãã -ãã©ã€ãã ããã¯å¯èœã§ãã - ãããããã®ãããªã¢ããã¿ãããå Žåã®ã¿ïŒ
ããå°ã
ããã§ãç§ãæåã«å°ããã¹ãããããã詳现ã«èª¬æããåæ§ã®ç¶æ³ã§ããªããå°ãããšãæã¿ãŸãã
第äžæ®µé
ãŸããå€éšãã©ã€ãïŒå®¹é160 GBããã©ã€ãå šäœã«1ã€ã®ããŒãã£ã·ã§ã³ãext3ãã¡ã€ã«ã·ã¹ãã ïŒãLinuxãã€ã³ã¹ããŒã«ãããã©ãããããã«æ¥ç¶ããåŸè ãèªåä¿®æ£ããŠãšã©ãŒããã§ãã¯ããŸãïŒä»¥äžã§ã¯ãïŒãã¬ãã£ãã¯ã¹ãã«ãŒããšããŠå®è¡ãããã³ãã³ããæ€èšããŸãïŒããŸããå€ä»ãããŒããã©ã€ãã¯ã©ãããããã«ãã£ãŠsdcããã€ã¹ãšããŠèå¥ããããšæ³å®ããŠããŸãïŒã
# fsck -f -y -c /dev/sdc1
-f-ãšã©ãŒãå«ãŸããŠããªããšããŒã¯ãããŠããå Žåã§ãããã£ã¹ã¯ããã§ãã¯ããŸã
-y-ãã¹ãŠã®è³ªåã«èªåçã«ãã¯ãããšçããŸãã ã€ãŸãããã¹ãŠã®ãšã©ãŒãä¿®æ£ããã ãã§ã
-c-ç Žæãããã£ã¹ã¯ãããã¯ãæ€çŽ¢ããŠããŒã¯ããŸãã ãããã®ç®çã®ããã«ãç¹å¥ãªãŠãŒãã£ãªãã£badblocksããããŸããããã®ãªãã·ã§ã³ã䜿çšãããšãã¬ããŒãfsckãèªåçã«éä¿¡ãããŸãã
ãã©ã€ããæå®ããã®ã§ã¯ãªãããã©ã€ãäžã®ç¹å®ã®ããŒãã£ã·ã§ã³ãæå®ããããšã«æ³šæããŠãã ããã
ç§ã®å Žåãèšå€§ãªæ°ã®ãšã©ãŒãåå ã§ãã§ãã¯ã20ïŒ ã§ãæ»äº¡ãããããããã£ã¹ã¯ã®å é ã«20ã®ã¬ãã€ãã®ããŒãã£ã·ã§ã³ãäœæãããšããåçŽãªæ±ºå®ãäžããŸããïŒDebianãã€ã³ã¹ããŒã«ããã®ã«ååã§ãïŒã ãã£ã¹ã¯ã®ããŒãã£ã·ã§ã³ãååå²ããã«ã¯ãcfdiskãŠãŒãã£ãªãã£ã䜿çšãããšäŸ¿å©ã§ãã
# cfdisk /dev/sdc
察話ã¢ãŒãã§ã¯ãå¿ èŠã«å¿ããŠãã£ã¹ã¯ãæ§æããã ãã§ãããã£ã¹ã¯ã®å é ã«20 GBã®ãã©ã€ããªããŒãã£ã·ã§ã³ãäœæããæ®ãã®ã¹ããŒã¹ã空ã®ãŸãŸã«ããŸãïŒãŸããäºåã«ããŒãå¯èœãšããŠããŒã¯ããŸããããã°ã©ã ãçµäºããåã«å€æŽããã£ã¹ã¯ã«æžã蟌ãããšãå¿ããªãã§ãã ããïŒã 次ã«ããã®äžã«ãã¡ã€ã«ã·ã¹ãã ãäœæããŸãã
# mkfs.ext3 /dev/sdc1
ãŸãããã¹ãŠãæ£åžžã§ããããšã確èªããŸãã
# fsck -f -y -c /dev/sdc1
第äºæ®µé
VirtualBoxãæ¢ã«ã€ã³ã¹ããŒã«ãããŠãããšããŸãã 次ã«ããã£ã¹ã¯ã®vmdk-imageãäœæããŸããããã«ãããç©çãã£ã¹ã¯äžã§ã®ãã¹ãŠã®æäœãå®éã«è¡šç€ºãããŸãïŒããšãã°ãã/ VirtualBox \ VMs \ desktopãªã©ã®äœ¿ãããããã£ã¬ã¯ããªã«ãããšä»®å®ããŸãïŒã
# vboxmanage internalcommands createrawvmdk -filename usb-hdd160.vmdk -rawdisk /dev/sdc
次ã«ãããã¹ã¯ãããããšåŒã°ããæ°ããä»®æ³ãã·ã³ãäœæããŸãã
# vboxmanage createvm --name desktop --ostype Debian --register
é©åãªéââã®RAMãå²ãåœãŠãŸãã
# vboxmanage modifyvm desktop --memory 512
ããŒããã©ã€ããšCD / DVDãã©ã€ããæ¥ç¶ããããã®ã³ã³ãããŒã©ãŒãè£ åããŠããŸãã
# vboxmanage storagectl desktop --name "sata" --add sata
å€ä»ãããŒããã©ã€ããæ¥ç¶ããŸãã
# vboxmanage storageattach desktop --storagectl "sata" --port 0 --type hdd --medium ./usb-hdd160.vmdk
ãã©ã€ããåæããã«ã¯ïŒããã¯è€æ°å圹ã«ç«ã¡ãŸãïŒãã¡ãã£ã¢ãšããŠããªãããéžæããå¿ èŠããããŸãã
# vboxmanage storageattach desktop --storagectl "sata" --port 0 --type hdd --medium none
ããã§ãDebianãã€ã³ã¹ããŒã«ããçç±ãèããŸãã éåžžã®ã€ã³ã¿ãŒããããã£ãã«ãããå Žåããå°ããªã€ã³ã¹ããŒã«ã€ã¡ãŒãžããéžæããŸããããªãã·ã§ã³ã§ããã«ãµã€ãºã®CDãŸãã¯DVDãããŠã³ããŒãããããšãã§ããŸãã 詳现ã¯ãã¡ã ã ãŸããä»®æ³ãã·ã³ã«ã€ã³ã¹ããŒã«ãããããi386ããŒãžã§ã³ã«å¶éããå¿ èŠããããŸã-VirtualBoxã¯ãããŒããŠã§ã¢ä»®æ³åVT-xãŸãã¯AMD-VããµããŒããããã¹ãäžã®64ãããã²ã¹ãã®ã¿ããµããŒãããŸã-ããã¯ãæãå®äŸ¡ãªããã»ããµãŒã ããèªãããšãã§ããŸãã ãã®ãããDebian isoã€ã¡ãŒãžãçŸåšã®ãã£ã¬ã¯ããªïŒdebian-6.0.5-i386-netinst.isoãªã©ïŒã«é 眮ããŸãã 次ã«ãããŒããã©ã€ããæ¥ç¶ããã€ã¡ãŒãžãšé¡äŒŒæ§ã§ããããæ¥ç¶ããŸãã
# vboxmanage storageattach desktop --storagectl "sata" --port 1 --type dvddrive --medium ./debian-6.0.5-i386-netinst.iso
è»ãå§åã§ããŸãïŒ
# vboxmanage startvm desktop
ïŒãããã®ã¢ã¯ã·ã§ã³ã®äžéšã¯VirtualBoxã°ã©ãã£ã«ã«ã·ã§ã«ãããå®è¡ã§ããŸããèµ·åãããšãã®ã¿ãããã©ã«ãã§ã¯1人ã®ãŠãŒã¶ãŒã«å¯ŸããŠãã·ã³ã®ã¿ãäœæãããããšãå¿ããªãã§ãã ããããããã£ãŠãrootãšããŠã°ã©ãã£ã«ã«ã·ã§ã«ãå®è¡ããããšãã§ããŸããããŒããã©ã€ããæäœããã«ã¯ç¹æš©ã¢ã¯ã»ã¹ãå¿ èŠãªã®ã§ãsudoã䜿çšããŠãã ããïŒ
ããã§ãã€ã³ã¹ããŒã«ã®ãã¹ãŠã®æ®µéãå®è¡ããrootãšãŠãŒã¶ãŒã®ãã¹ã¯ãŒããæå®ããå¿ èŠããããŸãããŸããã€ã³ã¹ããŒã«ãã³ãã¬ãŒãããSSHãµãŒããŒãéžæããããšãéåžžã«éèŠã§ãã ãã£ã¹ã¯ã®éåžžã«äžå®å®ãªç¶æ ã®ããããã£ã¹ã¯ãåå²ãããšããæ¢åã®ããŒãã£ã·ã§ã³ã/ãšããŠããŠã³ãããã¹ã¯ããããŒãã£ã·ã§ã³ãéžæããªãã£ããããã¢ã¯ã·ã§ã³ãæå°éã«æããŸãããã¿ãŒã²ãããã·ã³ã«æ¢ã«æ¥ç¶ã§ããŸãã ã€ã³ã¹ããŒã«ãå®äºããåŸã§ããããŒããŒããšã¢ãã¿ãŒããã¢ã¯ã»ã¹ã§ããéããã·ã¹ãã ã§äœæ¥ãã奜ã¿ã®ãã®ãèšå®ããisoã€ã¡ãŒãžãåæãããªã©ããŠãã¹ãŠãå®éã«ããŒããããŠããããšã確èªã§ããŸãã
第äžæ®µé
3çªç®ã®æ®µéã§å¿ èŠãªã®ã¯ãå€éšãã©ã€ããã¿ãŒã²ãããã·ã³ã«æ¥ç¶ããããããªã³ã«ããããšã ãã§ãã ã«ãŒã¿ãŒã¯ãã®æ®µéã§å©ããŠãããŸãããã¹ããŒã¿ã¹ããŒãžã§ãã·ã³ã®IPãèŠãŠããã®ã¢ãã¬ã¹ã®ã©ãããããããSSHã»ãã·ã§ã³ãéããããã§ãã
# ssh root@192.168.0.103
ã»ãšãã©ã®å Žåããã·ã³ã®ã¢ãã¬ã¹ã¯ç°ãªããŸãã
第4段é
ãã¹ãŠãããŸãããã°ãã·ã¹ãã ãå€éšãã©ã€ãããå éšãã©ã€ãã«è»¢éããããšãã§ããŸãã ãã®æ®µéã«é¢ããŠã¯ããããå®è£ ããæ¹æ³ã«ã€ããŠç¹ã«å€ãã®æèŠããããŸãïŒå®å šã«æ£ãããšã¯éããªãæèŠãå«ãïŒã ãŸããç²ç®çãªä»äºãèãããšãæåã«ãã®ã»ã¯ã·ã§ã³ã§èª¬æãããã¹ãŠãä»®æ³ãã·ã³ã®ã©ãããããã§å®è¡ããããšã¯éåžžã«äŸ¿å©ã§ãã ãã®çŽ æŽãããã¬ã€ããšç§ããã§ã«è¡ã£ãã³ã¡ã³ãã«åŸã£ãŠãå¥ã®æ¬åœã«ä»®æ³çãªããŒããã£ã¹ã¯ããã¹ã¯ãããä»®æ³ãã·ã³ã«æ¥ç¶ãããããã¿ãŒã²ãããã·ã³ã®å éšãã£ã¹ã¯ã§ããããšãèæ ®ããŠããããç·Žç¿ããããšãã§ããŸãã æçµçã«ã¯ãå€éšãã©ã€ããåæããŠããä»®æ³ãã·ã³ããDebianãèµ·åã§ããã¯ãã§ãã ç¶æ³ãããã«ãæŠéãã«è¿ã¥ããããã«ããã¹ããã·ã³ïŒã©ãããããïŒããSSHçµç±ã§ä»®æ³ãã·ã³ãæäœã§ããŸãã ãã®ãããããšãã°ãããã©ã«ãã§ä»®æ³ãã·ã³ã®ãããã¯ãŒã¯èšå®ïŒNATïŒãæ®ãããšãã§ããŸãããããŒãã転éããŸãïŒ
# vboxmanage modifyvm desktop --natpf1 "guestssh,tcp,,2222,,22"
ïŒè©³çŽ°ã¯ãã¡ã ïŒ
ããã§2222ãžã®åŒã³åºãïŒçªå·ã¯ä»»æã§ããã1024ãè¶ ããããšãæãŸãã-ã«ãŒãã®ã¿ãããå°ããããŒãã«ã¢ã¯ã»ã¹ã§ããŸãïŒã©ãããããããŒãã¯ä»®æ³ãã·ã³ã®ããŒã22ïŒæšæºSSHïŒã«è»¢éãããŸãã ãã¹ãããã»ãã·ã§ã³ãéãããšãã§ããŸãïŒ
# ssh -p 2222 root@localhost
ïŒã»ãšãã©ã®å Žåãlocalhostã¯ã¢ãã¬ã¹127.0.0.1ã«ã€ãªãããŸãïŒã 次ã«ãddã䜿çšããŠãã£ã¹ã¯å šäœãã³ããŒããªãã§ãã ãããã³ããŒã«æéããããããã»ãšãã©ã®å®çšçãªã±ãŒã¹ã§ã¹ã ãŒãºã«å®è¡ãããŸãã cpãrsyncã䜿çšããŠãã¡ã€ã«ã·ã¹ãã ãã³ããŒã§ããŸãããç¹å¥ãªãã³ã/埩å ãŠãŒãã£ãªãã£ïŒéåžžã«è¿ éãã€ç¢ºå®ã«åäœããŸãïŒãæé©ã§ãããããŒãé åºã埩å ããããã«ãdd MBRã¬ã³ãŒãã§ã³ããŒãåé€ããããšã¯ã§ããŸãã-çŸä»£ã®Debianã¯grub2ã䜿çšãã©ã€ããäžæã®UUIDçªå·ã«ã¢ãã¬ã¹æå®ããã®ã奜ããªäººã¯ãã·ã¹ãã å ã®å€éšããŒããã©ã€ããžã®ãã¹ãŠã®ãªã³ã¯ãæ®ããŸãã
ãã®ããã以äžãå®è¡ããå¿ èŠããããŸãïŒã¿ãŒã²ãããã·ã³ã¯å€éšãã©ã€ãããããŒããããŸãã/dev / sdaãå éšãã©ã€ãã¯/ dev / sdbã SSHã䜿çšããŠã©ãããããããäœæ¥ããŠããŸãïŒã
cfdiskã䜿çšããŠãåãæ¹æ³ã§ïŒãŸãã¯åãæ¹æ³ã§ãã³ããŒå ã®ããŒãã£ã·ã§ã³ã«ç®çã®ããŒã¿ãå«ãŸããŠããã¯ãã®ïŒå éšãã£ã¹ã¯ãåå²ããŸãã
# cfdisk /dev/sdb
ãã¡ã€ã«ã·ã¹ãã ãäœæããŸãã
# mkfs.ext3 /dev/sdb1
ããŠã³ãããïŒ
# mount /dev/sdb1 /mnt
ãããŠãå€éšãã©ã€ãã®ãã¡ã€ã«ã·ã¹ãã ãããã«ã³ããŒããŸãã
# (dump -0f - /) | ( cd /mnt; restore -rf - )
次ã«ãgrub2ãæ§æããå¿ èŠããããŸãã ãŸããã³ããŒãããã¡ã€ã«ã·ã¹ãã ã§chrootãå®è¡ããŸãã
# mount --bind /dev /mnt/dev # mount --bind /proc /mnt/proc # chroot /mnt
çŸåšãã¿ãŒã²ãããã·ã³ã®å éšãã©ã€ãã«ããDebianç°å¢ã«å®éã«ããŸãã ããŒããã©ã€ãã®æ§æãæŽæ°ããŸãïŒä»®æ³ãã·ã³ã«ãã£ãŠãŽããæ®ã£ãŠããŸãïŒã
# grub-mkdevicemap
-/boot/grub/device.mapãã¡ã€ã«ã«èªåçã«æžã蟌ãŸããŸãã grub2æ§æãæŽæ°ããŸãã
# update-grub
å èµãã£ã¹ã¯ã«ã€ã³ã¹ããŒã«ããŸãããïŒ
# grub-install /dev/sdb
ïŒãã©ã€ãäžã®ããŒãã£ã·ã§ã³ã§ã¯ãªããã©ã€ããæå®ããŠããããšã«æ³šæããŠãã ããïŒ
ãŸããèšå®ãæŽæ°ãã䟡å€ããããŸãã
# update-grub
次ã«ãchrootããã£ã³ã»ã«ããŠã·ã¹ãã ã®é»æºãåããŸãã
# exit # halt
次ã«ãå€éšãã©ã€ããåæããã¿ãŒã²ãããã·ã³ãå床起åããŸãã ã©ãããããããSSHçµç±ã§å床ã¢ã¯ã»ã¹ããå¿ èŠããããŸãã
ããã§ãã¹ã¯ããããŒãã£ã·ã§ã³ãäœæããŠæ¥ç¶ã§ããŸããcfdiskã䜿çšããŠå Žæãå²ãåœãŠãŠããã
# mkswap /dev/sdb2 # sync; sync; sync # swapon /dev/sdb2
ïŒåæã¯ã·ã¹ãã ãããã¡ããã©ãã·ã¥ããŸãïŒ
ããããããŒã ã»ã¯ã·ã§ã³ãªã©ãéå§ããŸã ïŒ ãã¡ããåç §ïŒã
ã·ã¹ãã ã®æºåãæŽããŸããã
é¢é£ãªã³ã¯ïŒ
PSå€ä»ãããŒããã©ã€ãã®èçã«é¢ããŠããã©ãŒã©ã cyberforum.ruããã³oszone.netã§è³ªåããŸããã ããªãã«ãšã£ãŠéœåã®è¯ãå Žæã§æ瀺ãããã¢ã€ãã¢ã«æè¬ããŸãã