2012年2月20日星期一

check the status of 'dd' in progress

watch -n 10 killall -USR1 dd

If you want to copy without stop on error , add conv=notrunc,noerror
for example:

dd if=/dev/hda of=/dev/sda bs=64k conv=notrunc,noerror

Linux DD Disk Copy, Clone, Backup to image file

Hard Disk Clone

The following command can copy all the content from /dev/sda to /dev/sdb:

dd if=/dev/sda of=/dev/sdb

The following command will create an image file "disk1.img" in your user's directory from /dev/sda:

dd if=/dev/sda of=~/disk1.img

Since you have created an image file, you can compress it with "gzip" or "bzip2":

gzip disk1.img #generates disk1.img.gz or

bzip2 disk1.img #generates disk1.img.bz2

You can save much storage space with compression. But it will take very long time.

Partition Clone

For example, if you want to create an image file from the first partition of /dev/sda, use "dd" like this:

dd if=/dev/sda1 of=~/disk2.img

Also, you can compress the image file:

gzip disk2.img

You can copy a partition to another partition completely. For example:

dd if=/dev/sda1 of=/dev/sdb5


Restoring from an Image File

Restore the whole hard disk from the image file "disk1.img":

dd if=disk1.img of=/dev/sda

Restore the first partition of /dev/sda from the image file "disk2.img":

dd if=disk2.img of=/dev/sda1

2012年2月18日星期六

Cannot start Microsoft Office Outlook, Unable to open the Outlook window.

Try this!

Start->run..then type the following -> "Outlook.exe /resetnavpane"

Outlook - 'Personal Folders' Not closed properly "The data file 'Personal Folders' was not closed properly

Try to repair your pst file.
Follow these steps:

1. Exit Outlook if it is running.
2. Double-click Scanpst.exe, located at C:\Program Files\Microsoft Office\OFFICE1X
3. In the "Enter the name of the file" you want to scan box, enter the name of the .pst or .ost file that you want to check, or click Browse to search for the file.
4. To specify the scan log options, click Options, and then click the option that you want.
5. Click Start.
6. If errors are found after the scan is complete, you will be prompted to start the repair process to fix the errors.
A backup file is created during the repair process. To change the default name or location of this backup file, in the Enter name of backup file box, enter a new name, or click Browse to look for the file that you want to use.

7. Click Repair.
8. Start Outlook by using the profile that contains the .pst file that you tried to repair.

Certificate error with Internet Explorer 9

The problem has been caused by the update of Windows 7 (KB2585542) If you uninstall this update the problem is fixed.