Windows 7ãMacOS Xã®Bootcampã¨VirtualBoxã®ä¸¡æ¹ã§åãã
å©ç¨ãããã¹ãOSã¯MacOS X Snow Leopardã§ï¼ã¾ãï¼æ®éã«Bootcampã使ã£ã¦Windows 7ãã¤ã³ã¹ãã¼ã«ããï¼ããã辺ã®èª¬æã¯å²æï¼ã¤ã³ã¹ãã¼ã«å¾ã®ãã£ã¹ã¯ã¯ä»¥ä¸ã®ããã«ãªãï¼
Current MBR partition table:
# A Start LBA End LBA Type
1 1 409639 ee EFI Protective
2 409640 318914599 af Mac OS X HFS+
3 * 319178752 488396799 07 NTFS/HPFS
Macã®ãã¼ãã·ã¼ã±ã³ã¹ã«ã¯ã¤ã³ãã«ã®æå±ããæ°ããè¦æ ¼ã§ããEFIãæ¡ç¨ããã¦ããããï¼ç¬¬ä¸ãã¼ãã£ã·ã§ã³ã¯EFIã®ããã«å²ãå½ã¦ããã¦ããï¼ããã¯ï¼ããã¤ã¹ãã¡ã¤ã«ã§è¨ãã¨ããã®/dev/disk0s1ã«ç¸å½ããï¼
ã¾ãï¼MacOS Xã¯ç¬¬äºãã¼ãã£ã·ã§ã³ã®/dev/disk0s1ã«ï¼Windows 7ã¯ç¬¬ä¸ãã¼ãã£ã·ã§ã³ã®/dev/disk0s3ã«ã¤ã³ã¹ãã¼ã«ããã¦ããï¼
VirtualBoxã¯ï¼ãã®/dev/disk0s3ãéãã¦ãã¼ããããã¨ã§Windows 7ãèµ·åãããã¨ãã§ããï¼ããããªããï¼é常ï¼HDDã¸ã®ããã¤ã¹ãã¡ã¤ã«ã¯rootæå¤ã¯èªã¿æ¸ãã§ããªãããï¼ãã¡ã¤ã«ã®ç®¡çè 権éã666ã«å¤æ´ãã¦ããï¼
% sudo chmod 666 /dev/disk0s3
ã¤ãã«ï¼VirtualBoxã®ããã®ãã£ã¹ã¯ã¤ã¡ã¼ã¸ãä½æããï¼ä½æãããã£ã¹ã¯ã¤ã¡ã¼ã¸ã®ææè ã¯rootã¨ãªã£ã¦ãã¾ãããï¼èªåã®ã¦ã¼ã¶åã«å¤æ´ãã¦ããï¼
% sudo VBoxManage internalcommands createrawvmdk -rawdisk /dev/disk0 -filename win7raw.vmdk -partitions 3
% sudo chown [your username] *.vmdk
ãã¨ã¯ï¼VirtualBoxã§æ°è¦ä»®æ³ãã·ã³ãä½æãï¼å©ç¨ããHDDã¤ã¡ã¼ã¸ã«å ã»ã©ä½æããwin7raw.vmdkãæå®ããã°Windows 7ãç«ã¡ä¸ããï¼