Tuesday, December 20, 2011
compact VM
inside of your virtual machine
1) pick the defragment tool of your choice and configure it to pack data as close together as possible - leaving large areas of free space
(I used http://www.oo-software.com/free/en O&O Defrag Free Edition - a very potent free defrag utility )
2) zero the free space with http://technet.microsoft.com/en-us/sysinternals/bb897443 sdelete
sdelete -c C:\ (on C:\)
or whatever other drive
outside of the virtual machine - on your host
3) VBoxManage modifyhd Disk.vdi --compact
disk worked like a charm and gained me 9 GiB worth of additional harddrive space on my /home partition - and that was only one of those harddisks
Thanks !
Thursday, November 17, 2011
change my document & destop
คลิกขวา เลือก Propoerties > เลือกแทบ location > กดปุ่ม Move ครับ
สำหรับ desktop ของ XP นะครับ
เข้าไปที่ C:\Documents and Settings\Username
จะเจอโฟลเดอร์ " Desktop "
คลิกขวา > cut > เอาไปวางในที่ที่ต้องการได้เลย
Thursday, September 1, 2011
Tuesday, June 7, 2011
problem linux prapop is not in the sudoers file. This incident will be reported
su - echo 'prapop ALL=(ALL) ALL' >> /etc/sudoers
Thursday, June 2, 2011
hiren usb boot how to
To launch Hiren’s BootCD from USB flash drive, first of all, your BIOS settings should be configured in order to change the boot order of your computer to USB drive. If you are having problem on changing boot order in BIOS, please refer Change the Boot Order in BIOS document. Please note that some computers may not support booting from USB drive and the steps below only works for the versions of Hiren’s BootCD 9.7 or newer.
Step1: Formating USB Flash Drive
Please note that, all data on your usb flash drive will be lost. Before doing this step, don’t forget to backup your files on the usb flash drive.
1. Connect a 512 MB or above flash drive.
2. Download and run USB Disk Storage Format (34 KB). Follow the steps in the screenshots below:
Step2: Installing Grub4Dos to USB Flash Drive
Download grub4dos.zip (187 KB) to desktop. Follow the steps below:
Now open ‘grub4dos’ folder created on your desktop. Run ‘grubinst_gui.exe’ inside of grub4dos folder and follow the steps below:
|
Step3: Copy Files to USB Flash Drive
1. Put Hiren’s BootCD (9.7 or newer) into the CD Drive.
2. Copy everything from CD to USB Flash Drive.
3. Copy grldr and menu.lst (from HBCD folder of the CD) to the usb drive’s root folder. Finally contents of your USB Flash Drive should look like as below:
set usb as harddisk
Sunday, February 13, 2011
set path in linux
export PATH=$PATH:/usr/sbin/:/usr/local/bin:/var/harddisk/asus/bin
export
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/var/harddisk/asus/lib:/var/harddisk/lib