Octo Performance Engineering

Wednesday, October 25, 2006

Free Virtual CD/DVD Mount on Windows XP

Here's an inexpensive (free!) way from Microsoft to mount an .iso image file without burning a CD or DVD. Simply download the program and execute. Select a directory where you wish to store the program when it tries to unzip the content. Following the instruction given in "readme.txt" for the detail.

Here's the download link: winxpvirtualcdcontrolpanel

Tuesday, October 24, 2006

VIM Configuration Settings

To eliminate the menu bar from VIM:

set guifont=ProggyCleanTTSZ:h12:cANSI
set guioptions=gmrLt
set sw=4 ts=4 ai
:syntax enable

Monday, October 23, 2006

Enlarging coLinux Root File System

1. Create a large file using fsutil:
c:\> fsutil file createnew <name> <size>
where name can be any legal Windows file name and size is in bytes.
2. Edit coLinux configuration XML file to add the newly created file as a block device
3. Reboot coLinux
# shutdown -h now
4. Restart coLinux
5. Login as root
6. Create a file system
# mkfs.ext3 /dev/cobd2
/dev/cobd2 determined based on the index value used in the configuration XML file.
7. Create a temporary mount point
# mkdir /tmp/mnt
8. Mount newly created file system
# mount /dev/cobd2 /tmp/mnt
9. Copy all files to the file system
# cp -ax / /tmp/mnt
10. Copy devices to the file system
# cp -a /dev/* /tmp/mnt/dev/
11. Sync the file system
# sync
12. Unmount the file system
# umount /dev/cobd2
13. Shutdown coLinux
# shutdown -h now
14. Edit the configuration XML file to remove the line added in step #2. Modify the root block device file name to the new file.
15. Restart coLinux