2012年7月22日星期日

IBM / Lenovo Rescue Recovery Factory Restore Media

If you encounter this message. you can try this below:

“You can have only one copy of the Microsoft Windows operating system. The Product Recovery Media Creator will exit now.”

Open FactoryRecovery folder and look for service_done.ini. Copy this file in a different place just to have a backup file. After that, open the original one FactoryRecovery\service_done.ini and change the string done=1 to done=0.

After that , you can make the recovery media once more. Good luck!

2012年7月20日星期五

ddrescue

Command for ddrescue

using rescuecd
----------------------
ddrescue -b 4096 /dev/sda1 /mnt/windows

using ubuntu live cd
---------------------------
sudo -i
start update manage and enable univise
apt-get install gddrescue

ddrescue --no-split /dev/sda /dev/sdb --force

--force * sometimes will be needed to force it to write on the target drive. Use with care. It will erase all data on the target harddisk.

*** Remarks

/dev/sda is the source & bad drive
/dev/sdb is the new & empty drive

*** Some examples procedures

First you copy as much data as possible, without retrying or splitting sectors:
  • ddrescue --no-split /dev/hda1 imagefile logfile 
Now let it retry previous errors 3 times, using uncached reads:
  • ddrescue --direct --max-retries=3 /dev/hda1 imagefile logfile 
If that fails you can try again but retrimmed, so it tries to reread full sectors:
ddrescue --direct --retrim --max-retries=3 /dev/hda1 imagefile logfile