coLinuxã®ãã£ã¹ã¯å®¹éãå¢ãã
ä½æ¥æé
- ãã¡ã¤ã«ã®ä½¿ç¨ç¶æ³ã確èªãã¾ãã
- ã¤ã¡ã¼ã¸ãã¡ã¤ã«ãä½æãã¾ãã
- è¨å®ãã¡ã¤ã«ãä¿®æ£ãã¦coLinuxãåèµ·åãã¾ãã
- ãã¡ã¤ã«ã·ã¹ãã ã ext3 ãã©ã¼ãããã
- cobd0ã®å 容(coLinuxæ¬ä½)ãcobd2ã¸ã³ãã¼ãã¾ãã
- cobd2ã®ãã¡ã¤ã«ã·ã¹ãã ããã§ãã¯ãã¾ãã
- cobd2ã®ãµã¤ãºãå¤æ´ãã¾ãã
- è¨å®ãã¡ã¤ã«ãå度å¤æ´ãã¾ãã
- colinuxãåèµ·åãã¾ãã
- ãã¡ã¤ã«ã®ä½¿ç¨ç¶æ³ã確èªããä½æ¥åã¨ä½æ¥å¾ã®ãã¡ã¤ã«ä½¿ç¨ç¶æ³ã確èªãã¾ãã
ãã¡ã¤ã«ã®ä½¿ç¨ç¶æ³ã確èª
dfã³ãã³ãã§ãã¡ã¤ã«ã®ä½¿ç¨ç¶æ³ã確èªãã¾ããç¾å¨coLinuxæ¬ä½ã¯ /dev/cobd0 ã«åå¨ãã¦ãã¾ãã
[root@colinux]~% df -h Filesystem ãµã¤ãº ä½¿ç¨ æ®ã 使ç¨% ãã¦ã³ãä½ç½® /dev/cobd0 3.8G 2.9G 705M 81% / tmpfs 31M 0 31M 0% /dev/shm
ã¤ã¡ã¼ã¸ãã¡ã¤ã«ãä½æ
codb2ã¨ããæ°ããªé åãä½æããããã«ã¤ã¡ã¼ã¸ãã¡ã¤ã«ãä½æãã¾ããä»åã¯10GBã®é åã確ä¿ãããã®ã§ã10GBã®ã¤ã¡ã¼ã¸ãã¡ã¤ã«ãä½æãã¾ãã
Windowsã®ã³ãã³ãããã³ããã§ä»¥ä¸ã®ã³ãã³ããå®è¡ãã¦ä¸ãããããã§ã¯root_fs_10gã¨ãããã¡ã¤ã«ãä½æãã¦ãã¾ãããã®ãã¡ã¤ã«ã®å®¹éã¯1GBï¼1073741824ï¼ï¼¸ 10 ã§ãã
cd c:\Program Files\coLinux c:\Program Files\coLinux> fsutil file createnew root_fs_10GB.img 10737418240
è¨å®ãã¡ã¤ã«ãä¿®æ£ãã¦coLinuxãåèµ·å
è¨å®ãã¡ã¤ã«ã«ä»¥ä¸ã®é ç®ã追å ããcoLinuxãåèµ·åãã¾ãã
cobd2="C:\Program Files\coLinux\root_fs_10GB.img"
ãã¡ã¤ã«ã·ã¹ãã ã ext3 ãã©ã¼ãããã
/sbin/mkfs.ext3 /dev/cobd2
cobd0ã®å 容(coLinuxæ¬ä½)ãcobd2ã¸ã³ãã¼
dd if=/dev/cobd0 of=/dev/cobd2
â»çµæ§æéããããã¾ãã
ãã¡ã¤ã«ã·ã¹ãã ããã§ãã¯
/sbin/e2fsck -f /dev/cobd2 /sbin/tune2fs -m 3 /dev/cobd2
ãªãµã¤ãº
/sbin/resize2fs -p /dev/cobd2
è¨å®ãã¡ã¤ã«ãå度修æ£ããcoLinuxãåã èµ·å
# cobd0="C:\Program Files\coLinux\fedora10.img" root=/dev/cobd2
ãã¡ã¤ã«ã®ä½¿ç¨ç¶æ³ã確èª
# df -H Filesystem ãµã¤ãº ä½¿ç¨ æ®ã 使ç¨% ãã¦ã³ãä½ç½® /dev/cobd2 9.7G 2.9G 6.4G 32% / tmpfs 31M 0 31M 0% /dev/shm