After trial and error from various sources. Just to gather all sources and combine into 1. This is tested in my newly sold Lenovo Ideapad 100 for a customer that wanted to convert its 500GB HDD to 128GB SSD.
This is mainly for all Lenovo laptops that comes with Windows 8/8.1 pre-installed.
Preparation:
1. Google OKR8 engineering ISO (thep*****bay) to get it.
2. Get a thumbdrive (8GB/16GB/larger) and make a bootable USB from the OKR8 ISO file. I used rufus2.2 for the bootable USB. but you can use any method that you know works. Note: it doesnt work on DVD
3. Copy down the Windows 8/8.1 product key (you can get this freeware: http://www.nirsoft.net/utils/product_cd_key_viewer.html)
4. Download Windows 8/8.1 (please make sure to use correct version (Standard/Single Language) else the product key wont work). Microsoft official website download
Either burn it to DVD or use Official Windows USB bootable software.
5. Download all the needed drivers for your Lenovo laptop and any software that you want to pre-installed.
Section1 (Editing OKR8):
diskpart script editing that fits your SSD size, in my case, its 128GB (about 120000MB)
edit the file create.ini, it is located at this path G:\okr8\create.ini (G:\ is my removable USB)
The partition total has
1. WINRE_DRV 300MB
2. LRS_ESP 500MB
3. Windows8_OS 9600MB
4. Lenovo (~5000MB + any leftover from above)
5. Recovery Partition (20000MB, reserve about 8GB for your recovery files to be store, it increases as you pre-install more softwares)
Make sure that the total size of above does NOT exceed your SSD total size, else it will fail.
CODE
select disk 0
clean
convert gpt
create partition primary size=300
format quick fs=ntfs label="WINRE_DRV"
assign letter="T"
set id="de94bba4-06d1-4d40-a16a-bfd50179d6ac"
gpt attributes=0x8000000000000001
create partition efi size=100
format quick fs=fat32 label="System"
assign letter="S"
create partition primary size=500
format quick fs=fat32 label="LRS_ESP"
gpt attributes=0x8000000000000001
assign letter="Q"
create partition msr size=128
create partition primary size=96000
format quick fs=ntfs label="Windows8_OS"
assign letter="W"
create partition primary
format quick fs=ntfs label="Lenovo"
assign letter="O"
shrink minimum=20000
create partition primary
format quick fs=ntfs label="PBR_DRV"
assign letter="R"
set id="de94bba4-06d1-4d40-a16a-bfd50179d6ac"
gpt attributes=0x8000000000000001
list volume
select disk 0
list partition
sel par 3
set id="BFBFAFE7-A34F-448A-9A5B-6213EB736C22"
gpt attributes=0x8000000000000001
assign letter="Q"
list volume
exit
clean
convert gpt
create partition primary size=300
format quick fs=ntfs label="WINRE_DRV"
assign letter="T"
set id="de94bba4-06d1-4d40-a16a-bfd50179d6ac"
gpt attributes=0x8000000000000001
create partition efi size=100
format quick fs=fat32 label="System"
assign letter="S"
create partition primary size=500
format quick fs=fat32 label="LRS_ESP"
gpt attributes=0x8000000000000001
assign letter="Q"
create partition msr size=128
create partition primary size=96000
format quick fs=ntfs label="Windows8_OS"
assign letter="W"
create partition primary
format quick fs=ntfs label="Lenovo"
assign letter="O"
shrink minimum=20000
create partition primary
format quick fs=ntfs label="PBR_DRV"
assign letter="R"
set id="de94bba4-06d1-4d40-a16a-bfd50179d6ac"
gpt attributes=0x8000000000000001
list volume
select disk 0
list partition
sel par 3
set id="BFBFAFE7-A34F-448A-9A5B-6213EB736C22"
gpt attributes=0x8000000000000001
assign letter="Q"
list volume
exit
Section 2 (Installation of OKR8 & Windows)
1. Full shutdown of your Lenovo
2. Use a pin, press the NOVO button to go to BIOS.
3. Change boot to legacy, save changes, shutdown again.
4. NOVO button again, boot from your USB.
5. Just wait for it to boot, than you will see a dialog box with chinese words (no idea how to change, but doesnt matter). Just checked/tick the only box there, then proceed with the button to start.
6. Once it is done, it will notify you to restart. Remove the USB when the screen is blank.
7. Let it boot to OKR. If it doesnt boot to OKR, it means the recovery partition was not created, reduce the Windows8_OS size in the create.ini file again until it works.
8. Install Windows the usual way, make sure to install in Windows8_OS partition.
9. Once windows installation completed and on the first screen when boot up, enter to audit mode (ctrl + shift + fn + f3 / ctrl + shift + f3)
10. Here you will be installing all your driver and pre-load any software you like as Administrator
11. Once done and everything, OOBE and shutdown options.
Section 3 (Create initial backup)
1. NOVO button again, select "System Recovery"
2. Once you are in OKR environment, ctrl + shift + o to bring out the X CMD terminal out.
3. type "diskpart" than "list volume"
4. get your pbr_drv letter, in the sample above its, drive k
5. type "exit" to quit diskpart
6. go to k:\onekey\osimage
7. type "osimage /nopbr" and followed by "osimage /fb". this will clean up and start the initial backup of the HDD/SSD to the recovery partition.
8. once it done, estimate about 15minutes, exit and shutdown.
9. NOVO button again and enter "System Recovery" again to test the restore. if everything is working correctly, it should be able to restore without error.
CONGRATULATION!!! you just re-make your own Lenovo custom recovery image.
Credit & Resources:
https://forums.lenovo.com/t5/Lenovo-P-Y-and...ll/td-p/2095412
https://forums.lenovo.com/t5/Lenovo-Yoga-Se...ng/td-p/1829369
Attached thumbnail(s)