Lenovo Windows 8 EFI restore from image
- by anderhil
First time here. I have bought e530 with windows 8 and the first hour of work with it i have a problem.
I have ssd with windows 7 which i want to use with my new e530. I have made a sysprep of win 7 and installed ssd to the e530. The HDD which was inside e530 i want to use as second hdd instead of my DVD Drive.
I connected this HDD through usb-to-sata adapter to copy some files from ssd to the hdd. Unfortunately it didn't see the file system on the HDD (but first time i have booted to it and first boot into Windows 8) I've made some mistakes and i corrupt the filesystem on the hdd.
I tried bunch of tricks to recover the GPT, but it didn't work. I have managed to recover the Lenovo_Recovery partition to my ssd using recovery tools.
And now I'm stuck, with this new things to me - EFI, GPT, etc i don't how this stuff works, and i have been trying to understand this for hours - but nothing seems to work. I want to restore the Windows 8 to the hdd, so it is there alive.
What i have done so far:
Formated the HDD
I took the PBRALL file from the Lenovo_Recovery
" convert gpt
create partition Primary size=1000 ID=DE94BBA4-06D1-4D40-A16A-BFD50179D6AC
gpt attributes=0x8000000000000001
assign letter=W
format quick LABEL=WINRE_DRV
create partition efi size=260
assign letter=s
format quick fs=fat32 LABEL=SYSTEM_DRV
create par msr size=128
create partition primary noerr
assign letter=t
format quick LABEL=Windows8_OS
shrink desired=12197
create partition Primary ID=DE94BBA4-06D1-4D40-A16A-BFD50179D6AC
gpt attributes=0x8000000000000001
assign letter=q
format quick LABEL=Lenovo_Recovery "
it recreated the partitions
copied contents of SDRIVE.zip to SYSTEM_DRV partition
copied contents of WDRIVE.zip to WINRE_DRV partition
Copied restored Lenovo_Recovery back to Lenovo_Recovery partition
So now I have 3 system partitions:
SYSTE_DRV
BOOT
boot.sdi
EFI
BOOT
bootx64.efi
LenovoBT.efi
Lenovo
...
Microsoft
...
WINRE_DRV\Recovery\WindowsRE\winre.wim
Lenovo_Recovery (whic contains install.wim and bunch of other things)
So i put back the HDD inside the laptop and tried to boot - but nothing works. It just doesn't boot to anything - no errors - nothing at all. When I choose this HDD manually for boot - just black screen blinks and that's all - it returns back to the devices boot menu.
SYSTEM_DRV is EFI partition, so I don't understand why it doesn't boot, it has files needed inside.
Can anybody tell me what should be done to make it boot to recovery console or smth like that? How to restore the Windows 8 from the Lenovo_Recovery install.wim image? As I understand I have all the files where they should be, but why it doesn't work? How to troubleshoot such things?
Also, if somebody has good link where EFI booting process is explained in details that would be great. Cause i still don't understand how it knows what partition to boot?