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
2012年2月20日星期一
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
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"
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.
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.
2009年2月16日星期一
金融海嘯的祈禱
願神在今次金融海嘯讓人們知道,神給人智慧去創造(所為創造)數字和金錢.本是一件平凡的事,但人沉迷在或尊崇瑪門(財利),就連生命也失去了.求主讓我們知道,太:四章四節 耶穌卻回答說:「經上記著說:人活著,不是單靠食物,乃是靠神口裡所出的一切話。」使我們的價值觀能重新調整,看重神的話.不是在那沒意義、任意的數字和任人定價的物質當中.而是在有意義的關係上,我們自己和神的關係及神所賜我們和家人的關係.都是最重要的.主耶穌,和我們的家人,都一直等著我們回家的.珍惜神所賜的生命。奉主名求,阿們!
2008年5月16日星期五
四川大地震圖片集
當你看過相片後,你能不回應嗎? 請捐款給有關機構支持救助災難中的人,
基督徒一定要為當地的災民,天氣,交通,通訊,救援工作及救援人員祈禱,
他們極需要你們在屬地和屬天的支持!
四川大地震圖片集 1
四川大地震圖片集 2
求主憐憫!
基督徒一定要為當地的災民,天氣,交通,通訊,救援工作及救援人員祈禱,
他們極需要你們在屬地和屬天的支持!
四川大地震圖片集 1
四川大地震圖片集 2
求主憐憫!
訂閱:
文章 (Atom)