FreeBSDã§ddã§å¸ãåºããHDDã¤ã¡ã¼ã¸ããã¦ã³ããã
æ¦è¦
FreeBSDã§ddçã§ä½ã£ãã¤ã¡ã¼ã¸ããã¦ã³ãããã«ã¯mdconfigå®è¡å¾ã«ããã¤ã¹åããã¶ãmd0ã¨ãã§åºã¦ããã®ã§ãã®md0ãæ®éã«ãã¦ã³ãããã¨ãã
以ä¸ä¾
# mdconfig -a -t vnode -f hdd.img md0 # mount_ntfs -C CP932 /dev/md0 /mnt
HDDãæ»ãã ï¼¼(^o^)ï¼ãªã¯ã¿
èªåã®ã¡ã¤ã³PCã®HDDãçªç¶å£ãã¾ããã
ATOKãæ¥ã«åããªããªã£ãã¼ï¼åèµ·åãããï¼ã¨æã£ã¦åèµ·åãããOSããèµ·åããªãã
HDDããç°é³ãããã®ã«æ°ãã¤ãã¦ç¿æ¥æ°HDDãè²·ã£ã¦ãã¦OSåã»ããã¢ãããã¾ãã
æ§HDDã¸ã®æªç·´
ã¾ãä»äºãã¼ã¿ã¯ãµã¼ãã«ç½®ãã¦ããåçã2010å¹´åã¾ã§ã¯å¤ä»ãHDDã«ããã¦ãã4æããã®åçã¯ãã¸ã«ã¡å
ã®SDã«ã¼ãã«ãããgoogle chromeã®ãã¼ã¿ã¯ãªããåæãããã»ã¨ãã©æ»ã£ãã*1失ã£ããã¼ã¿ã¯å¹¼ç¨åã®ç¶æ¯ä¼ã®æ¸é¡ã¨ã3æã¾ã§ã®åçã ãã ããæ§HDDã®ä¸èº«ã¯å¥ã«ãããã¼
ã¨æã£ã¦ããã®ã§ããï¼ä»å¹´ã®1æã«å¹¼ç¨åã®èªçä¼ã¤ãã³ãã®åçãæ®ã£ãã®ã«ããã¯ã¢ãããã¦ç¡ãã£ãã®ãæãåºããããIS01ç¨ã®è«¸ã
ãã¼ã¿ãããå®ç»å*2ã失ããããã¨ã«æ°ãã¤ããä½ã¨ã復æ§ã§ããªãã ãããï¼ã¨æã£ã次第
Windowsããèªèããªããã¼ãã£ã·ã§ã³
ããã£ã¡ã
ãéè¦ãªãã¼ã¿ãæ¶ãããããã®ã§ãã¡ã¤ãã«ãã¼ã¿ã¨ãè²·ã£ã¦æã£ã¦ããããã®ã§ãæ¦é£ã®äºåPCããªã ã¼ããã«ã«ã¼ããªãã¸ã¨ãã¤ãã¦ã¦ä½æ¥ãããããã®ã§æ§HDDãUSBå¤æã±ã¼ãã«ã«ã¤ãã¦
WindowsããHDDãèªèã§ããã°ä½ã¨ããªãã§ããã¼ã¨æã£ããWindowsããCãã©ã¤ãã¨system reservedã«ãªã£ã¦ããã¼ãã£ã·ã§ã³ããè¦ãã¾ããorzéè¦ãªã®ã¯Dãã©ã¤ãã«ãã¦ããã¼ãã£ã·ã§ã³ãªã®ã«ï¼
ãã¡ã¤ãã«ãã¼ã¿ã«ãæ¢ããããã©ã ãã ã£ãï¼¼(;o;)ï¼
Linuxã§ã¯ã©ãã
ubuntuã®CDãç¼ãã¦èµ·åããã¨ç®å½ã¦ã®ãã¼ãã£ã·ã§ã³ã/dev/sddã¨ãã¦èªèãã¾ããï¼èªèããã¨ããã§ddã§ã¤ã¡ã¼ã¸ãå¸ãåºããå
ã
150GBã®ãã¼ãã£ã·ã§ã³ã ã£ãã®ã«ã¤ã¡ã¼ã¸ã60GBããç¡ãã¦ãããããå¸ããªãã£ãã®ãã¼ã¨æã£ããddã®ãªãã·ã§ã³ãããããä¸é©åã§ããã
$ sudo dd if=/dev/sdd conv=sync,noerror of=/media/ãªããã/hdd.img
ã¨ãã¦å¸ãåºããããªããã
å
¨é¨ã§36æéãããããã£ããã©ã150GBä½ã®ã¤ã¡ã¼ã¸ãå¸ãåºããã
bsãå°ããæ¹ãã¨ã©ã¼ã®ããHDDã¯ãããããã¨ããæ
å ±ãå¾ã¦bsæå®ããªãã£ããã ãã©ãobsã¯æå®ããæ¹ãæ©ãã£ãã®ãããããªãã
å¾ãã¤ã¡ã¼ã¸ãFreeBSDé¯ã«ã³ãã¼
æ¦é£ã帰ã£ã¦æ¥ãåã«PCãéããªãã¨ãããªãã£ãã®ã§ã150GBã®ã¤ã¡ã¼ã¸ããããã¯ã¼ã¯çµç±ã§èªåãèªç±ã«ä½¿ããFreeBSDé¯ã«ã³ãã¼ã
sshéµãçæãã¦èªåã®ãã¼ã ãã¼ã¸ã«ä¸æ¦å
¬ééµããã¦ãããããéµæã®å
¥ã£ã¦ãèªåã®PCã§ãã©ã¦ã¶ããéµãã³ãããã¦authorized_keysã«è¿½å ããã¼
ã§ãFreeBSDã§NTFSã®ã¤ã¡ã¼ã¸ããã¦ã³ãã§ããªã
ãã£ã¨æ¦è¦ã®è©±é¡ã
ddã§ã¨ã£ãHDDã¤ã¡ã¼ã¸ããã¦ã³ããããã¨ããã£ã¦
# mount -o ro,loop hdd.img /mnt
ã¨ããã£ããã©å½ç¶ã¨ã©ã¼ãªè¨³ã§â¦ãã¼ããLinuxã®mountã ããªã¼ãFreeBSDã§ã«ã¼ãããã¯ãã¦ã³ãã£ã¦ã©ããããã ããï¼ã¨æã£ã¦man mountããman mount_ntfsãããã¦ã¿ãããgoogleã§freebsd ã«ã¼ãããã¯ãã¦ã³ãã¨ãfreebsd imgã¨ããã¦ã¿ããã©ãã¾ãã¡ãããããã
ããé
ãããæ¦é£ãææ¥ä¼ç¤¾ã«è¡ã£ããã¾ãPCåãã¦ä½æ¥ããã
ç§ã@koieæ°ã«ã¯åã«ãä½ãFreeBSDã§å©è¨ãã¦ããã£ã¦ãæ§ãªæ°ããã¾ãããããããï¼
ã§ããã§ããï¼
ã¨ããããå½åã®ç®çã®å¹¼ç¨åã®ãèªçæ¥ä¼ã®åçã¨åç»ãæãã¾ããï¼*3
ãï¼å¹¼ç¨åã®ç¶æ¯ä¼è³æã¨ãã±ã¢ã³ããããã®å
¥ã£ãUsers\nyomoãã©ã«ããè¦å½ãããªãorz
ãã¼ãããã¯ã¤ã¡ã¼ã¸ãå®HDDã«æ¸ãã¦ãã¡ã¤ãã«ãã¼ã¿ã«ããã¦è¦ãã¹ããªãã ãããã¼