Recover Lenovo One Key Rescue after Resizing Partitions


If you have use EaseUs Partition Master to resize your Windows 8 partitions, you might have problem to create Windows recover drive, fail to backup or recover to factory with pre-installed recovery tool.

I just bought a C440 which is the little brother of Lenovo C540 with smaller LCD. It comes with Windows 8 and OneKey Recovery. My experience is based on the combination.

Because the default partition size is too small for my C drive, I use EaseUs Partition Master to re-size. Then I cannot launch to OneKey Recovery for backup or recovery. I also fail to create a USB recovery drive using [Recovery] in [Control Panel].

It took me several days to figure out what’s going wrong. In short, it’s all related to the partition type which EaseUs Partition Master cannot handle properly. I will show you how to solve these problems.

The Factory Partition List

Launch cmd.exe and run as administrator. In command prompt, type diskpart and run this program.

In interactive mode, use LIST DISK to view all disk numbers in your computer. Then select you disk by SELECT DISK=0 if this is your only drive.

Use LIST PARTITION to view partition information. Below is what it should be by factory default:

  Partition ###  Type              Size     Offset 
  -------------  ----------------  -------  ------- 
  Partition 1    Recovery          1000 MB  1024 KB 
  Partition 2    System             260 MB  1001 MB 
  Partition 3    OEM                500 MB  1261 MB 
  Partition 4    Reserved           128 MB  1761 MB 
  Partition 5    Primary            390 GB  1889 MB 
  Partition 6    Recovery           390 MB   392 GB 
  Partition 7    Primary             48 GB   392 GB 
  Partition 8    Recovery            24 GB   441 GB

More detail command document may be found in DiskPart Command-Line Options.

EaseUS Partition Master change Partition Type without Messages

After resizing by EaseUs Partition Master, you will lost all diag flag in partition which may be identified as diag in GParted. You need to manually change these value.

Here is a partition list of my disk after resize partition. Those marked by red color should be repaired.

  Partition ###  Type              Size     Offset 
  -------------  ----------------  -------  ------- 
  Partition 1    OEM               1000 MB  1024 KB 
  Partition 2    System             260 MB  1001 MB 
  Partition 3    Primary            500 MB  1261 MB 
  Partition 4    Reserved           128 MB  1761 MB 
  Partition 5    Primary            390 GB  1889 MB 
  Partition 6    Primary            390 MB   392 GB 
  Partition 7    Primary             48 GB   392 GB 
  Partition 8    OEM                 24 GB   441 GB

To help you compare my partition to yours, I also LIST VOLUME for your reference:

  Volume ###  Ltr  Label        Fs     Type        Size     Status     Info 
  ----------  ---  -----------  -----  ----------  -------  ---------  -------- 
  Volume 0     E                       DVD-ROM         0 B  No Media 
  Volume 1     C   Windows8_OS  NTFS   Partition    390 GB  Healthy    Boot 
  Volume 2     D   Backup       NTFS   Partition     48 GB  Healthy 
  Volume 3         SYSTEM_DRV   FAT32  Partition    260 MB  Healthy    System 
  Volume 4                      NTFS   Partition    390 MB  Healthy    Hidden 
  Volume 5         PBR_DRV      NTFS   Partition     24 GB  Healthy    Hidden

Recover Partition ID

I use PARTITION DETAIL and compare each of them. Here is a reference list of partition type and ID. You need to manually SELECT PARTITION then SET ID for the damaged partition type.

  • Recovery is DE94BBA4-06D1-4D40-A16A-BFD50179D6AC
  • System is C12A7328-F81F-11D2-BA4B-00A0C93EC93B
  • OEM is BFBFAFE7-A34F-448A-9A5B-6213EB736C22
  • Reserved is E3C9E316-0B5C-4DB8-817D-F92DF00215AE
  • Recovery is DE94BBA4-06D1-4D40-A16A-BFD50179D6AC
  • Primary is EBD0A0A2-B9E5-4433-87C0-68B6B72699C7

You cannot update the partition with type Reserved.

In my case, I need to change partition 1, 3, 6, and 8 respectively to type Recovery, OEM, Recovery, and Recovery. You may save below DiskPart commands as a text file and use /s to execute as whole.

For example, I save following commands as c440.txt and use diskpart /s c440.txt to batch execute.

SELECT DISK=0
SELECT PARTITION=1
SET ID=DE94BBA4-06D1-4D40-A16A-BFD50179D6AC
SELECT PARTITION=3
SET ID=BFBFAFE7-A34F-448A-9A5B-6213EB736C22
SELECT PARTITION=6
SET ID=DE94BBA4-06D1-4D40-A16A-BFD50179D6AC
SELECT PARTITION=8
SET ID=DE94BBA4-06D1-4D40-A16A-BFD50179D6AC
EXIT

Enable Windows Recovery Environment

Now, last step is to enable your Windows Recovery Environment, or WinRE for short, partition again by:

reagentc /disable
reagentc /enable

You may tell if your WinRE partition is back by reading the output message. In Windows RE status and Windows RE location, it will show you whether or not it found the partition and enable.

If you don’t have a WinRE Partition, you may check the Move Windows RE to Separate Partition section to create your own. I have successfully create a WinRE custom image but fail to use it with [Recovery] in [Control Panel].

After reboot, you shall be able to create a recovery drive and OneKey Recovery successfully.

If you still have problems to restore to factory default, please reference Reset your Lenovo Computer with Windows 8 for more help.

Reference

  1. EaseUs Partition Master
  2. Lenovo C540
  3. Microsoft: Create a USB recovery drive
  4. Introduction to Lenovo OneKey Recovery 8.0 for Notebooks
  5. Wiki: Partition type
  6. Wiki: Extended boot record
  7. GParted
  8. Microsoft TechNet Library: DiskPart Command-Line Options
  9. Microsoft: Diskpart Batch File
  10. TeraByte: Repairing the Windows Recovery Environment (WinRE)
  11. superuser: Windows 8 Advanced Recovery Options are missing
  12. sepago: Windows Recovery Environment (RE) Explained
  13. Reset your Lenovo Computer with Windows 8
About these ads

117 thoughts on “Recover Lenovo One Key Rescue after Resizing Partitions

  1. I want to thank you for this, I did the same thing as you and everyone was telling me that I would have to purchase recovery media from Lenovo.
    Your solution worked and save me the wasted money of purchasing recovery media, now I can make my own recovery media.

    Like

    • Hi, I am so happy to have your feedback and glad to know my sharing help you to save money! I have contact EaseUS Partition Master on 2013/12/11 about this issue, but it seems they are not interested to fix. Therefore, we need to help ourselves. :)

      Anyway, I am really very happy to have my first thank you comment from you. This is my best gift of 2013. :)

      Like

    • I am using Lenovo G510 and one key recovery not working after resizing C drive. Giving error Windows pc need to be repaired.
      As you guys mentioned above:

      My pc is not booting at all then from where should I get CMD.EXE option?

      “Launch cmd.exe and run as administrator. In command prompt, type diskpart and run this program.”

      PLease suggest me so that I can recovery my lenovo pc

      Liked by 1 person

  2. HI, Thanks for your wonderful tutorial. I am little bit confused, what to modify in my own system as my disk partition slightly differs. Yes indeed Easeus caused me this problem.

    Partition ### Type Size Offset
    ————- —————- ——- ——-
    Partition 1 OEM 1000 MB 1024 KB
    Partition 2 System 260 MB 1001 MB
    Partition 3 OEM 1000 MB 1261 MB
    Partition 4 Reserved 128 MB 2261 MB
    Partition 5 Primary 155 GB 2389 MB
    Partition 16 Primary 15 GB 158 GB
    Partition 17 Unknown 8139 MB 173 GB
    Partition 6 Primary 25 GB 181 GB
    Partition 7 OEM 350 MB 206 GB
    Partition 8 OEM 350 MB 206 GB
    Partition 9 Primary 24 GB 207 GB
    Partition 10 Primary 14 GB 232 GB
    Partition 11 Primary 189 GB 247 GB
    Partition 12 Primary 10 GB 437 GB
    Partition 13 Primary 439 GB 447 GB
    Partition 14 Primary 25 GB 886 GB
    Partition 15 OEM 20 GB 911 GB

    Here partition 9 to 14 is my personal files. Can you help me sir ?

    Like

    • Dear Arif,

      You may find your original [info.ini] in PRB_DRV partition. Follow the instruction in this post and fix your partition ID. Then follow my new post “Reset your Lenovo Computer with Windows 8″ in http://amigotechnotes.wordpress.com/2014/01/17/reset-your-lenovo-computer-with-windows-8/ to reset your computer to factory with Windows RE. If you want to keep your partition, please choose to keep your existing partition during reset your computer.

      Wish it helps!

      Like

      • Thanks for the Speedy Reply,

        I looked in the Info.ini file and it has no info about partitions.
        Below are the contents of the file.

        [Build_Info]
        SR_No=PRC120403-03
        Setup=19920
        Branch=Lenovo
        MUIXML=120410_LenovoNB_x64
        Lang=120620_OKR7_x64
        UG_Help=120702_LenovoNB
        DisplayBuildNumber=8.0.0.0710
        Version=0710
        FactoryPath=Setup\Factory
        kernel=120710_Lenovo_NB_x64
        MUIStartMenu=120306_X64
        PEImg=-
        Factory=Lenovo_Factory_120710_NB_x64
        SBRengine=121905
        Burningengine=v1704_PRC
        CRS=120605
        SR_Ver=5.70.071004
        TR_No=TR120710-064

        how exactly should i access PRB_DRV ? I got this Info file from D drive(preinstalled)

        Like

  3. […] seamon Looks like my OKR is messed up as well, tell me when you fix it so I can do the same. Recover Lenovo One Key Rescue after Resizing Partitions | Amigo's Techinical Notes Head over this link and try it. For me i can now take backup in OKR (before i wasnt even able to […]

    Like

  4. Thanks for this great article i fixed OKR and everything works as it should. The only Thing i missed is C: drive should be atleast 200GB in size. (atleast in my Case)

    Like

    • Dear Arif,

      I am glad you find out on your own before my reply. Good job!

      I you may find the backup files with extension okr and wim in each partition. The PBR_DRV partition should have these files in a folder.

      Anyway, I am glad you may solve this problem on your own. It’s good!

      Like

  5. I have the same problem with Lenovo IdeaPad Z710 Windows 8.1.
    It does not have as many partitions however so I could’nt follow the instructions.
    What happened?
    I wanted to change the 1Tb WD Hd and mount the Hybride Toshiba 1Tb.
    The cloning with Acronis (purchased version) went fine and no errors appeared.
    But the OneKey recovery tells me now that it is not installed on the system.
    So now I have an unusable extra button on my keyboard!

    I am looking for a solution because it’s a new laptop and I want to be able to use all the options.

    Regards,
    Hans

    Like

  6. Hi Amigo

    First off great guide. Explains the problem perfectly and from all the solutions I have read about this seems by far the best to use. I have been trying to follow your guide and I have nearly completed all the steps but the only problem I have is converting the OEM partition type. I can select partition 3 and when I try to use the command

    ‘SET ID=BFBFAFE7-A34F-448A-9A5B-6213EB736C22′

    It comes back saying it was successful but when listing the partitions this shows as type ‘unknown’ with a star to the left hand side of the partition name. I have put the output of my ‘list partition’ command below

    Partition ### Type Size Offset
    ————- —————- ——- ——-
    Partition 1 Recovery 999 MB 1024 KB
    Partition 2 System 260 MB 1001 MB
    * Partition 3 Unknown 999 MB 1261 MB
    Partition 4 Reserved 128 MB 2261 MB
    Partition 5 Primary 416 GB 2389 MB
    Partition 6 Primary 467 GB 418 GB
    Partition 7 Recovery 25 GB 886 GB
    Partition 8 Recovery 19 GB 911 GB

    Do you have any ideas on how I can convert this to an OEM partition? Any help would be greatly appreciated.

    Kind Regards
    Colin

    Like

    • Dear Colin,

      I have double check the ID you provided here. It is exactly the same as mine. Maybe it is related to different models? To confirm my assumption, please follow the instruction in Reset your Lenovo Computer with Windows 8 to find your [info.ini] configuration file in OKRBackup/Factory folder.

      The OEM ID should be the ID in [LrsESP] section in [info.ini]. Use the ID and try again.

      Please let me know if it helps you to mark the partition as OEM type correctly.

      Have a nice day!

      Best regards,

      Amigo

      Like

      • Hi Amigo

        Unfortunately I can’t mount the partition using GParted. gives me the following error

        mount.nilfs2: Error while mounting /dev/sda8

        I’m not sure what to do next and I don’t want to take up too much of your time so I am happy to leave it for the time being. Just wanted to get back to you to say thanks for responding and I really appreciate your efforts anyway :)

        Regards
        Colin

        Like

      • Dear Colin,

        I was shocked to read your reply!

        It is a very different culture shock in this comment to me. You didn’t solve your problem yet but acknowledge my time is valuable. In the end, you provide feedback and say thank you.

        It might be very difficult for me to see this in Taiwan! At least I have never seen this during my 40 years in Taiwan!

        You are really very well educated or must come from a good family. Very politely and good manner.

        I am very happy to have a chance to see comments like this in my life!

        BTW, if you cannot mount with GParted, you may still use Windows 8 Recovery Drive to read the partition in command line. No need to mount. You need to try different drive letters to find PRB_DRV partition.

        Leave it there might be a good idea, too. If it ain’t broke, don’t fix it :)

        Have a nice day!

        Best regards,

        Amigo

        Like

    • use gpt attributes=0x8000000000000001 .This should show you your partition as OEM instead of Unknown. Please cross check your info.ini file for correct attributes

      Like

  7. Hi amego, first of all i’d like to thank you for posting such information online as they are so hard to find. I have a lenovo b540 and I have only started using it for a week. Last night I did the same thing as many others, I used easeus master to shrink my d drive and extend my c (as the factory default is always too small tobe practical). I did’t touch any of the reservedpartition and thoughtnothing would go wrong. And I guess you know what happened to me afterward…

    Anyway, I will try to get into the bios tonight to see if I could bypass the lenovo boot and into windows and if I could I will try to change the drive id back as you instructed but my only problem being: how to find out the correct drive id prior to the easeus change?

    Any hint would be appreciated… And btw, I am from tw as well and I am happy and proud to see you here

    Like

  8. Hi Amigo,

    Great article! Best I found that actually provides a solution.

    I also used Easeus and my partitions became unusable. In Disk Management I see:

    1001 MB Unallocated
    260 MB Healthy (EFI System partition)
    1000 MB Unallocated
    215 GB Windows C
    240 GB Lenovo D
    10 GB Unallocated.

    Diskpart doesn’t see the unallocated partitions either:

    Partition ### Type Size Offset
    ————- —————- ——- ——-
    Partition 1 System 260 MB 1001 MB
    Partition 2 Reserved 128 MB 2261 MB
    Partition 3 Primary 215 GB 2389 MB
    Partition 4 Primary 237 GB 217 GB

    What can I do?

    Like

    • Dear Amonra,

      It seems you have removed many important partitions. The key “Partition 8 OEM 24 GB 441 GB” labeled PRB_DRV is missing.

      Unless you have a Windows RE flash drive and select Copy the recovery partition from the PC to the recovery drive check box while creating. I might need your hard drive to check where is the PRB_DRV partition.

      Can you boot to OKR partition by clicking the OKR icon on Windows desktop? Do you have a Windows RE flash drive? Please try your luck by following the post Reset your Lenovo Computer with Windows 8 to reset to factory default.

      Wish you good luck!

      Best regards,

      Amigo

      Like

  9. Hi Amigo,

    Great Article you have there!!..thanks & really appreciate if you could spare your time to solve my issue.

    First of all sorry for my noobness of solving this issue, what I have right now is Lenovo Y510P 1TB doesn’t come with NGFF m.2Sata. So what I did, I buy 128GB NGFF SSD and install it.
    Then I Migrate my C:(OS) to new 128GB SSD with help of AOMEI Partition Assistant Pro. Then from BIOS I select boot from SSD. After that I Did run back in the original OS (in HDD) to run One Key Recovery and successfully backup. Then “Intelligently” I format the C:(OS in HDD) after boot back from SSD. Because of panic, After that I did Migrate Back the OS from SSD to HDD and manage to boot it..but my One Key Recovery can’t be use both in OS and Bios Boot..it gave error One Key recovery message: “one key recovery partition has damaged so do not launch the main application.” in Bios Boot and in OS “Current System can not support backup.”

    Back to your process, here my details;

    List Partition (in HDD)

    Partition ### Type Size Offset
    ————- —————- ——- ——-
    Partition 1 Recovery 1000 MB 1024 KB (WinRE_Drv)
    Partition 2 System 260 MB 1001 MB (System_Drv)
    Partition 3 OEM 1000 MB 1261 MB (LRS_ESP)
    Partition 4 Reserved 128 MB 2261 MB (unknown)
    Partition 5 System 600 MB 2393 MB (UEFI Boot partition HDD)
    Partition 6 Primary 99 GB 2993 MB (OS in HDD)
    Partition 7 Primary 250 GB 102 GB (personal: workstation)
    Partition 8 Primary 100 GB 352 GB (personal: sim)
    Partition 9 Primary 366 GB 452 GB (personal: multimedia)
    Partition 10 Primary 100 GB 818 GB (Lenovo D: default backup folder)
    Partition 11 Recovery 12 GB 918 GB (Lenovo: PBR_DRV)

    List Volume

    Volume ### Ltr Label Fs Type Size Status Info
    ———- — ———– —– ———- ——- ——— ——–
    Volume 0 NTFS Partition 600 MB Healthy (UEFI Boot partition SSD)
    Volume 1 C OS NTFS Partition 118 GB Healthy Boot (OS in SSD)
    Volume 2 SECONDARY O NTFS Partition 99 GB Healthy (OS in HDD)
    Volume 3 E WORKSTATION NTFS Partition 250 GB Healthy (HDD)
    Volume 4 F SIM NTFS Partition 100 GB Healthy (HDD)
    Volume 5 G MULTIMEDIA NTFS Partition 366 GB Healthy (HDD)
    Volume 6 D LENOVO NTFS Partition 100 GB Healthy (HDD)
    Volume 7 WINRE_DRV NTFS Partition 1000 MB Healthy Hidden (HDD)
    Volume 8 SYSTEM_DRV FAT32 Partition 260 MB Healthy System (HDD)
    Volume 9 FAT32 Partition 600 MB Healthy Hidden (UEFI Boot partition HDD)
    Volume 10 I PBR_DRV NTFS Partition 12 GB Healthy Hidden (HDD)

    and here my PBR_DRV info.ini

    [Info]
    BakTime=2013-11-19 06:12
    FacBak=1
    T12Layout=1
    VirtualC=0
    BootType=3
    DiskCount=1
    ImageCount=4
    DataPart=1
    MBR=MBR.okr
    PartStyle=1
    Success=1
    [Boot]
    Format=FAT32
    Lable=SYSTEM_DRV
    Begin=2050048
    Total=532480
    Used=58384
    Image=Boot.okr
    DiskIndex=0
    Index=2
    Id={86B475FA-558B-4491-A149-368974C8F345}
    Type={C12A7328-F81F-11D2-BA4B-00A0C93EC93B}
    Attributes=8000000000000001
    [OS]
    Format=NTFS
    Lable=Windows8_OS
    Begin=4892672
    Total=1868965888
    Used=66081840
    Image=Install.wim
    DiskIndex=0
    Index=5
    Id={1062D590-4BF6-4985-ABFE-0743495215AF}
    Type={EBD0A0A2-B9E5-4433-87C0-68B6B72699C7}
    Attributes=0
    [WinRE]
    Format=NTFS
    Lable=WINRE_DRV
    Begin=2048
    Total=2048000
    Used=915280
    Image=Winre.okr
    DiskIndex=0
    Index=1
    Id={DA24D5E5-BADE-4E44-8FE9-98D124A22EA6}
    Type={DE94BBA4-06D1-4D40-A16A-BFD50179D6AC}
    Attributes=8000000000000001
    [LrsESP]
    Format=FAT32
    Lable=LRS_ESP
    Begin=2582528
    Total=2048000
    Used=1017920
    Image=LrsEsp.okr
    DiskIndex=0
    Index=3
    Id={1A6EECAD-8888-4B56-AD88-0032A00F69C4}
    Type={BFBFAFE7-A34F-448A-9A5B-6213EB736C22}
    Attributes=8000000000000001
    [MSR]
    Begin=4630528
    Total=262144
    DiskIndex=0
    Index=4
    Id={4F42E400-B449-4C7C-91DF-6F3AF7EFBB9F}
    Type={E3C9E316-0B5C-4DB8-817D-F92DF00215AE}
    Attributes=8000000000000000
    [Service]
    Format=NTFS
    Lable=PBR_DRV
    Begin=1926287360
    Total=27236352
    DiskIndex=0
    Index=7
    Id={525BC4D5-B2E2-43FC-ADD5-79EF41F11A8E}
    Type={DE94BBA4-06D1-4D40-A16A-BFD50179D6AC}
    Attributes=8000000000000001

    What went wrong for me? As I did check all partition details and return EXACT same ID for recovery, oem, system & primary.

    Again With your kindness if you can spend time even to read mine, I’m already happy, If not it’s okay I just have to live with it because of my own doing.

    Anyway Thanks in Advance Amigo!!

    Like

    • Dear Amin,

      Thank you for providing detail information. I think maybe the partition type is wrong for OKR boot partition. It might be difficult for me to tell you which one.

      But if you may boot into Windows 8, here is another quick solution. Please follow Reset your Lenovo Computer with Windows 8 to reset your Windows 8. Remember to backup everything before you try.

      If it works, create recovery drive with [Copy the recovery partition from the PC to the recovery drive] ASAP.

      I will print your comment and compared them manually tomorrow. It’s just too difficult to read the long list on screen. >_<;;;

      Have a nice day!

      Best regards,

      Amigo

      Like

    • Dear Amin,

      I spend the whole afternoon to read your information and compare with my C440. Here is what I could summarized.

      Reset your Computer is the easiest and fastest way to roll back to factory. Because you may still have access to PBR_DRV, I think you should follow Reset your Lenovo Computer with Windows 8 to reset to factory.

      From your One Key recovery message: “one key recovery partition has damaged so do not launch the main application.”, I know something wrong with OKR. But I cannot tell whether you cannot boot to OKR or fail to launch OKR from Windows Desktop, they are different.

      For fail to boot to OKR, your problem is with LRS_ESP partition which contains bootmgr.efi. You cannot see it with Windows RE. But with GParted, you may use Linux command mount to mount the partition and fix with fsck. LRS_ESP is FAT32 which can be confirmed by your info.ini in PBR_DRV partition.

      I have a boot issue with C440 as described in Fix Windows 8 Hidden Recovery Partition. I fix by chkdsk/f in Windows RE but yours is not accessible. I am not sure if it works.

      If your problem is when you launch OKR, it stops because fail to access PBR_DRV. It is beyond my experience. According to your partition info, PBR_DRV is accessible and the partition type is Recovery as factory default. I have no idea why OKR program fail to read files from the partition.

      For your reference, the startup setting in BIOS should be follow. Maybe you should also check them, too.

      Startup → Boot Mode → Auto
      Startup → Boot Priority → UEFI First

      I have try my best to answer your question. Wish it could help!

      Good luck!

      Best regards,

      Amigo

      Like

  10. Hello Amigo (nice name, spanish for friend :) ),

    I hope you can help me and bear with me and my questions.

    I have a Lenovo IdeaPad U410 touch and before doing the resizing and installing Linux, I created a recovery file which can not accessed at the moment, as we all know.
    The reason why I discovered that, was because neither my Windows nor my Ubuntu want to start. I tried to fix it with boot repair, but nothing seems to work. So decided to restore it to factory status and to my surprise, it wont work.
    I can access the data, booting with a Ubuntu Live USB and I can also go to the Advanced Recovery Options(I assume from OKR) from where I can launch the command terminal.

    So when following your tutorial, you show “list partition” and mark in red 4 of the partitions and also when “list volume”, you mark 2 in red. How do you know those are the ones that need to be fixed?

    This is what I get when I list the partition and the volume.

    And this is what I get in my info.ini from the Factory folder

    [Info]
    BakTime=2013-11-08 02:09
    FacBak=1
    T12Layout=1
    VirtualC=0
    BootType=3
    DiskCount=1
    ImageCount=4
    DataPart=1
    MBR=MBR.okr
    PartStyle=1
    Success=1
    [Boot]
    Format=FAT32
    Lable=SYSTEM_DRV
    Begin=2050048
    Total=532480
    Used=56152
    Image=Boot.okr
    DiskIndex=0
    Index=2
    Id={0E2B7F3B-352E-4ABD-B532-F84571AAEBCB}
    Type={C12A7328-F81F-11D2-BA4B-00A0C93EC93B}
    Attributes=8000000000000001
    [OS]
    Format=NTFS
    Lable=Windows8_OS
    Begin=4892672
    Total=1870495744
    Used=75659616
    Image=Install.wim
    DiskIndex=0
    Index=5
    Id={A9C5E5BB-17E7-4F30-B64C-3887F7A5AD37}
    Type={EBD0A0A2-B9E5-4433-87C0-68B6B72699C7}
    Attributes=0
    [WinRE]
    Format=NTFS
    Lable=WINRE_DRV
    Begin=2048
    Total=2048000
    Used=615336
    Image=Winre.okr
    DiskIndex=0
    Index=1
    Id={DB3C6C6C-F746-4AD0-A459-06A99C035183}
    Type={DE94BBA4-06D1-4D40-A16A-BFD50179D6AC}
    Attributes=8000000000000001
    [LrsESP]
    Format=FAT32
    Lable=LRS_ESP
    Begin=2582528
    Total=2048000
    Used=1017400
    Image=LrsEsp.okr
    DiskIndex=0
    Index=3
    Id={746EC8E1-735E-47B5-9198-16F167F9689D}
    Type={BFBFAFE7-A34F-448A-9A5B-6213EB736C22}
    Attributes=8000000000000001
    [MSR]
    Begin=4630528
    Total=262144
    DiskIndex=0
    Index=4
    Id={524EA47D-49BD-49DE-A4BD-26AB45850282}
    Type={E3C9E316-0B5C-4DB8-817D-F92DF00215AE}
    Attributes=8000000000000000
    [Service]
    Format=NTFS
    Lable=PBR_DRV
    Begin=1927817216
    Total=25706496
    DiskIndex=0
    Index=7
    Id={03FB2FF3-53CC-48EE-B63A-CAAD7A42F1CF}
    Type={DE94BBA4-06D1-4D40-A16A-BFD50179D6AC}
    Attributes=8000000000000001

    Then you mention that with EaseUs Partition Master you lost the diag flag, which I assume can be seen from Gparted. So when I boot from the ubuntu Live USB I can launch Gparted and from there I can see the following graph.

    I can see few diag flags, but dont know which ones are the ones I need to correct.

    If I ever make it work, when I create a Recovery usb, will it always be the same, the fact that if I resize partitions will make it not work again? or once it is all booting, when you create the new recovery usb will be done based in what you have at that moment?
    And do you need to reserve 200 GB for windows 8? I saw some of the questions and someone mentioned that.

    Thanks in advance and looking forward to hear your advice.

    Javier

    Like

    • Hi Javier,

      Facts I got from your description:

      1. You may boot to Windows RE.

      Because you have mentioned “… I can also go to the Advanced Recovery Options…”, you just boot to Windows Recovery Environment which is a feature of Windows 8 not OKR.

      2. You may access PBR_DRV.

      Because you have mentioned your info.ini, it is in PBR_DRV.

      For the easier solution to restore to factory, you may read Reset your Lenovo Computer with Windows 8 to reset your computer.

      I will reply your other questions after dinner.

      Best regards,

      Amigo

      Like

      • Hello Amigo,

        thanks for both your patience and your interest.

        I think you were correct, I was confusing the windows recovery with the Lenovo’s OneKeyRecovery. I think I have access to both, but not in a very controlled way.

        And yes I can browse the PBR_DRV when I boot with the Ubuntu live USB.
        But please let me see if I understood your instructions correctly

        “You need to have access factory disk images in PRB_DRV to launch [create a recovery drive] with [Copy the recovery partition from the PC to the recovery drive] in [Recovery] in Windows 8 Control Panel. With this drive, you shall be able to reset your PC.”

        I can see the files in PRB_DRV partition and I guess I can copy them to a USB stick, if needed.
        But, this assumes that I have a working windows 8 machine, from where I can create a USB that will get my pc as when it came out from factory? will this recreate again all the partitions?
        I am confused after reading this Reset your [Lenovo Computer with Windows 8] :)

        Like

    • Hi Javier,

      Here are my reply to your questions:

      1. neither my Windows nor my Ubuntu want to start.

      You may check my post Boot Process in Windows and Linux with BIOS or UEFI to learn more about the new boot process.

      2. So when following your tutorial, you show “list partition” and mark in red 4 of the partitions and also when “list volume”, you mark 2 in red. How do you know those are the ones that need to be fixed?

      I compare the partition ID of the list after resize and Id in info.ini. The later is the factory default. If I want to roll back to factory default, I think I should change the partition ID to default.

      3. This is what I get when I list the partition and the volume… So when I boot from the ubuntu Live USB I can launch Gparted and from there I can see the following graph…

      For both pictures, I cannot see them clearly because the resolution is 180×102 which is too small to tell the contents. But I can see it seems you are using command prompt in Windows RE in 14040012.jpg and 14040013.jpg in Ubuntu.

      4. I can see few diag flags, but dont know which ones are the ones I need to correct.

      Use diskpart in command prompt in Windows or Windows RE would be better. If you preferred to use GParted to change partition ID, please double check with diskpart after change.

      5. If I ever make it work, when I create a Recovery usb, will it always be the same, the fact that if I resize partitions will make it not work again?

      I suggest to use GParted to resize. It would be a good idea to compare partition ID after resize with Id in info.ini

      6. And do you need to reserve 200 GB for windows 8?

      I think it depends on your configuration. For example, if you enable restore feature, you need enough spare space to keep them.

      On my HP ProBook 4520s with ORZ 120GB SSD, I can run Windows 8 without any problems. Therefore, I don’t think you need to reserve 200GB for Windows 8 with less than 80GB software installed.

      Wish it helps!

      Best regards,

      Amigo

      Like

      • Hi Amigo,

        1. the PC was dual booting just fine, but I installed something in Ubuntu that messed up the Linux part and then when trying to fix it with Boot-repair, I guess I screwed the windows part too, that´s why I want to start over.

        2. Ahhh I see, I missed the part where you said you use PARTITION DETAIL, I need to double check that part and go one by one :)

        3. Sorry about the size of the pictures, it was the first time I use that service and checked at my wife’s PC that when I click the link opens just fine, but may not work everywhere. In any case I was trying to share pictures with you (I can send them if you tell me how :) ) and the first one was what I get when I list the partitions and volumes and the second picture was a capture for the partition graphic in gparted and the info that appears near each of the items.

        4. I used Gparted to do the initial re partition, but it was for me the only way to see the diag flag that you mentioned, I don’t know how to see which ones have been modified using diskpart (that’s why I was sending you the pictures). Any idea how to check the status of the flags using diskpart? and in which partitions should I expect to see a diag flag?

        5. What I mean here, is that if I ever make it work :), meaning I reset the laptop and start over as when I got it from store, can I then make a USB recovery disk, which will allow me in the future,if needed, reset it again to the status as it was out from the store by just booting from it, or will I have always problems if I re size the partitions and install another OS?

        Like

    • Dear saisrikrishna,

      I don’t understand if you mean diskpart shows unknown for your Partition 3?

      I have no idea of your partition. You need to follow the instruction in Reset your Lenovo Computer with Windows 8 to get the info.ini in folder OKRBackup/Factory in partition PBR_DRV. It provides detail information of your Partition 3.

      Have a nice day!

      Best regards,

      Amigo

      Like

  11. Hi Amigo,

    Thanks for writing such a detailed guide. I tried to give the partition more room to make a backup, the onekey recovery broke!

    I tried following your instructions and read all the comments but my partition list does not match the factory default you provided and am stuck. I am on a z510 lenovo win8.

    DISKPART> list volume

    Volume ### Ltr Label Fs Type Size Status Info
    ———- — ———– —– ———- ——- ——— ——–
    Volume 0 E DVD-ROM 0 B No Media
    Volume 1 C Windows8_OS NTFS Partition 885 GB Healthy Boot
    Volume 2 D LENOVO NTFS Partition 29 GB Healthy
    Volume 3 SYSTEM_DRV FAT32 Partition 260 MB Healthy System

    DISKPART> list partition

    Partition ### Type Size Offset
    ————- —————- ——- ——-
    Partition 1 OEM 1000 MB 1024 KB
    Partition 2 System 260 MB 1001 MB
    Partition 3 OEM 1000 MB 1261 MB
    Partition 4 Reserved 128 MB 2261 MB
    Partition 5 Primary 885 GB 2389 MB
    Partition 6 Primary 29 GB 888 GB
    Partition 7 OEM 13 GB 918 GB

    Thank you so much for your time.
    Cheers!

    Like

    • Dear Aaron,

      Partitions are different on different models. As you can see I have 8 partitions on C440 while you have 7 on Z510.

      I suggest you to follow the instruction in Reset your Lenovo Computer with Windows 8 to get the info.ini in folder OKRBackup/Factory in partition PBR_DRV. It provides detail information of all your partitions.

      With Windows RE Flash Drive and partition PBR_DRV is accessible, you may just reset your Windows

      Have a nice day!

      Best regards,

      Amigo

      Like

      • Hi Amigo,
        I am so sorry to bother you again, but I can’t figure how to follow “reset your lenovo computer with windows 8″

        I got up to mounting the PBR_DRV to /mnt/ but I don’t know how to access the folders or how to use the PBR_DRV to launch [create a drive].

        Thanks again so much for your time and attention.

        Aaron

        Like

  12. Dear Amigo,

    I had used the EaseUs partition manager on my lenovo z510 and it led me to boot time error 0xc0000225. I corrected it following the instructions given here
    itsolutionsblog.net/solution-to-your-pc-needs-to-be-repaired/
    But this led me to have two operating system options at boot time with the new one on volume 3.I deleted the non functional operating system and recovered the partitions using MiniTool. However now my one key recovery option is not working. Can I follow the same steps as given above by you or I have to follow some other steps?

    Regards!

    Like

  13. Hi…

    First of all thank you very much for decreasing my tension about my mess up with recovery partition.

    Still I need to implement your solution but it releaved me by reading the exact solution and lot of comments with thanks.
    mine was the exact problem you highlighted.

    In excitement of getting my new Ideapad Z510 laptop i immediately partition its drive into 3 parts using Easus partition manager and there goes the story.

    soon i merged the partitions but no help.

    Problem:
    Mine status:

    Partition ### type size offset
    1 OEM 1000MB 1024MB
    2 SYSTEM 260MB 1001MB
    3 OEM 1000MB 1261MB
    4 RESERVED 128MB 2261MB
    5 PRIMERY 891GB 2389MB
    6 PRIMERY 25GB 894GB
    7 RECOVERY 12GB 919GB

    Que-1:So as per your guideline there should be two changes in my case: 1 and 7 (am i right??)
    Que-2: mine was missing one recovery partition as per your data is it normal or easus partition deleted it during merging the created partition.
    Que-3: the partition ID will be same for all laptop or i need to find out for my model??

    once again thanks for giving me hope for recovering.

    Like

      • Hi ! I have the same partitions with you. After I changing the partition 7 back to recovery, it didn’t work. Then I changed partition 1 back to recovery, it didn’t work too. When I tried to use windows recovery system, it said one key recovery has been damaged. So, what can you do?

        Like

      • Dear johny,

        After you change the partition type of partition 7 from OEM to Recovery, please follow the instruction in Reset your Lenovo Computer with Windows 8 to reset your Windows to factory default with WinRE.

        Or you may read the contents of info.ini to know exactly the partition type for each of them and edit manually in command line.

        Wish it helps!

        Best regards,

        Amigo

        Like

      • Dear Vmax,

        I do have the same suspicion as you due to my experience with Lenovo C440. My partition 8 with 24GB in size has been changed from Type Recovery to OEM. But as I have mentioned in previous reply, info.ini contains the exact factory default partition type.

        If you are right, your 7th partition should be the PBR_DRV which contains everything you need for recovery.

        I strongly suggest you to launch [create a recovery drive] with [Copy the recovery partition from the PC to the recovery drive] in [Recovery] in Windows 8 Control Panel after you have access to factory disk images in PRB_DRV. With this drive, you shall be able to reset your PC anytime.

        Wish it helps!

        Best regards,

        Amigo

        Like

    • Dear Vmax,

      Let me answer your questions as below:

      1. Que-1 You need to refer to info.ini to confirm.

      As I have mentioned in Reset your Lenovo Computer with Windows 8, the info.ini configuration file in folder OKRBackup/Factory in partition PBR_DRV contains default partition information including partition type as Type={xxx}.

      I suggest you to check your info.ini. My partition structure might be different from yours.

      2. Que-2 There are two recovery partitions with different tools.

      Windows comes with WinRE partition and can be recreate with command line. Lenovo has an extra partition for OKR. I am not sure which one is missing in your situation. You may follow the instruction in Reset your Lenovo Computer with Windows 8 to reset your Windows to factory default. It saves a lot of time figuring out your partition type. :)

      If it doesn’t work, you may need to manually edit partition type in command line.

      3. Que-3 No, even the same model might comes with different partition structure.

      Because these factory recovery disk also have versions comes with model with different manufacture date and region, I think info.ini contains the exact partition type information.

      I would like to remind you the Id={xxx} in info.ini doesn’t mean Partition Type ID. You need to check the Type={xxx} parameters.

      Wish it helps!

      Best regards,

      Amigo

      Like

  14. hi… johny
    What model of laptop you have??
    What are the partition id you assigned?? Is it suitable to your model.??
    right now I,m studding this blog and the tutorial and estimating the exact way, If you are stuck with the same problem then lets share our knowledge for mutual benefits…

    I haven’t done anything yet by next step is to retrieve the exact partition ID for my model
    (Ideapad Z510) then i will try as per amigo’s instruction. finger crossed..!!!!

    Like

      • I am trying to use the Gparted, when I ran it, it showed there was a critical problem and recommand me to close it.

        Like

      • I found out I should reset the third partition ID. I did change it. now, I reset my laptop to factory setting. Thank you very much for helping us.

        Like

      • Dear johny,

        Thank you for sharing your success with us! :)

        I saw from your screen capture that your 3rd partition is OEM with 1000MB. Do you mind showing more detail from OEM partition type to which partition type may solve your problem?

        Have a nice day!

        Best regards,

        Amigo

        Like

      • I want to ask one question about Windows 8. I updated the windows 8 to 8.1, then my WIFI frequently disconnect. When I try to connect to access point or router, a message says ” It takes long than usual”. Many people have this issue. Do u know how to fix it?

        Like

      • Dear johny,

        I don’t know. But I do have similar experience on my iPad with TP-Link TL-842ND, it is solved by changing the wireless security mode from WPA2 Personal to WPA2 Personal Mix. I would suggest you to try different configuration on router and update the driver.

        Wish it helps!

        Best regards,

        Amigo

        Like

      • I used “detail partition” show the detail of each partition and checked each of the partition id and the name of the volumes. I compared them with your information. I found out the third partition had the right name of the volume, but it had the wrong partition id, which was recovery partition id. I changed the recovery id back to OEM id. I then shut down and use one-key recovery. The one key recovery works. I don’t need to go into the PBR_DRV to find the information because using “detail partition” is good enough for me. I don’t need to use the Gparted because I can use one-key recovery. Therefore, I don’t need to get into the PBR_DRV partition. The third partition is 1000 MB. I used other software to check it. It showed 500 MB in used. Even though I can use one-key recovery, BIOS is still not function.

        http://imgur.com/7cp0cSq

        http://imgur.com/syI1XeX

        Like

      • Dear johny,

        Thank you for sharing the detail with us. That’s exactly what I have done to get back my One-Key Recovery. If you know how it work, the diskpart program is enough.

        About your BIOS is still not function, what do you mean?

        Have a nice day!

        Best regards,

        Amigo

        Like

  15. thanks…amigo
    how to change the partition id??
    where do i save the .txt file which i created according to my requirenment??
    BTW my partition and ID detail after that blunder caused by is as below

    now as per my conclusion it seems that the partition 1 & 7 are now OEM but the ID is only slightly different then recovery: it is DE94BBA4-06D1-4D40-A1A6-BFD50179D6AC
    look the difference in “A1A6″ It should be “A16A ” Isn’t it??

    and one more thing my third partition is OEM but have ID of recovery so that also need to be coreceted right??

    I need your suggestion before doing anything.

    Like

    • Dear Vmax,

      > now as per my conclusion it seems that the partition 1 & 7 are now OEM but the ID is
      > only slightly different then recovery: it is DE94BBA4-06D1-4D40-A1A6-BFD50179D6AC
      > look the difference in “A1A6″ It should be “A16A ” Isn’t it??

      Yes!

      > and one more thing my third partition is OEM but have ID of recovery so that also need
      > to be coreceted right??

      Yes!

      Wish it helps!

      Best regards,

      Amigo

      Like

  16. Yes…. I have done it…..
    Thank you very much Amigo.
    it all begun with your Article. for last two days i reffering your solutions and others finally dicided to take on the partition ID.
    and see it succeeded

    thanks….

    Like

    • Dear howardhee,

      It seems your partition structure is different from mine. I cannot find your PBR_DRV partition and there is an addition LENOVO partition.

      If I were you, I would try to take partition LENOVO as PBR_DRV. Write down the current partition id and change the partition type from OEM to Recovery. Then I will follow the instruction in Reset your Lenovo Computer with Windows 8 looking for info.ini to get the write partition type id. Or, I might create a Windows RE flash and reset Windows to factory default.

      Wish it helps!

      Best regards,

      Amigo

      Like

      • Dear Amigo
        LENOVO is not the PBR_DRV. It is a drive where the drivers are stored by the OEM.
        THE PBR_DRV is not shown, don’t know why, may because the volume info is lost during resizing the C drive. but once you set id for the partition based on the number you will be able to see the PBR_DRV.
        By the way thanks for your information. I had my recovery partition back.
        Regards

        Like

      • Dear Sethu,

        > LENOVO is not the PBR_DRV. It is a drive where the drivers are stored by the OEM.

        I don’t really understand this sentience.

        But I am glad to hear that by setting the correct partition type id, you can see your PBR_DRV partition.

        Thank you for sharing your experience with us.

        Have a nice day!

        Best regards,

        Amigo

        Like

  17. Hi Amigo,
    I was just going to use easeus partition manager too :s glad I found your blog post and closed the easeus tool.

    Really thankful to you for informing about your problem and how you solved it :)

    What I would really like to know that is there any simple way/simple tool(how about Gparted..the windows GUI version?) to partition the existing “Windows8_OS” drive(as I feel that you went through a lot :( )? that is taking about 890GB right now and I want to have 3 more paritions apart from this “OS” partition.

    Can you please help me out?

    Like

  18. whoa.. :D
    that was a fast reply.

    I finally found the simplest way to do the partitioning without loosing OKR in 2 steps:
    ***********************************************************************
    Things I did before even thinking about using OKR from a shutdown state:
    1. I had created a system recovery from within windows by using the OKR key
    ***********************************************************************

    1. shrink default volume “C” to its new size
    2. use pwhe (search for “pwhe disk partition”) to create a new partition out of newly recovered unallocated space.

    How I verified OKR:
    1. after doing all the partitioning *yada yada* >> shutdown >> pushed the novo key >> got the menu >> selected recovery >> (and there it was :) ) the OKR recovery menu

    2. I have not tried restoring my OS from recovery *lol* but I guess if the OKR is showing up just fine then it should work fine as well.

    ————-

    Can anyone out there confirm this?

    Like

    • Dear Kanishk,

      I don’t know your real name. Do you mean to delete this post with content “psst…pls don’t tell my real name to ppl *delete_this_post*”?

      Have a nice day!

      Best regards,

      Amigo

      Like

  19. Dear Amigo

    Actually I never post to anyone saying anything. But now you saved my life in terms of deadlines. Making backup for the “Client” to my niece :). This was the last step to do be I would give over her birthday present :) An I believe the backup the most one of the most important piece of the process in case a 10 years old girl, who is couple of hundreds miles far away :)

    So. Big thank you !!!! :)

    Best Regards
    Gyula
    from Hungary :)

    Like

  20. Amigo! could you help me a bit more.

    so now after applying your solution I am able to use winre partition for reseting win to defaults, I am able to use Lenovo one key recovery to backup my data.
    but when I restart my yoga 2 into “restore mode” of one key recovery. I get following error: “one key recovery partition has damaged, so do not launch the main application”.

    what else should I do? a little bit confused about different cases.

    But thank you again! restore to default in winre it’s already a lot!:)

    diskpart output is in Russian sorry for that it’s one language win 8.1 edition

    DISKPART> list partition

    Раздел ### Тип Размер Смещение
    ————- —————- ——- ——-
    Раздел 1 Восстановление 1000 Mб 1024 Kб
    Раздел 2 Системный 260 Mб 1001 Mб
    Раздел 3 OEM 1000 Mб 1261 Mб
    Раздел 4 Зарезервирован 128 Mб 2261 Mб
    Раздел 5 Основной 90 Gб 2389 Mб
    Раздел 6 Основной 99 Gб 92 Gб
    Раздел 7 Восстановление 14 Gб 224 Gб

    DISKPART> list volume

    Том ### Имя Метка ФС Тип Размер Состояние Сведения
    ———- — ———– —– ———- ——- ——— ——–
    Том 0 C Windows8_OS NTFS Раздел 90 Gб Исправен Загрузоч
    Том 1 D LENOVO NTFS Раздел 99 Gб Исправен
    Том 2 WINRE_DRV NTFS Раздел 1000 Mб Исправен Скрытый
    Том 3 SYSTEM_DRV FAT32 Раздел 260 Mб Исправен Системны
    Том 4 PBR_DRV NTFS Раздел 14 Gб Исправен Скрытый
    Том 5 E UUI FAT32 Сменный 3749 Mб Исправен

    Like

    • Dear Pavel,

      I am glad to hear your success story!

      About fail to “Fail to Recovery using OKR”, I know what’s going on because I have experience exactly the same problem before. In short, it is because you haven’t restore the correct Partition Type ID for Partition PBR_DRV which contains Recovery information.

      As I have mentioned in Reset your Lenovo Computer with Windows 8, OKR needs to read recovery image from PBR_DRV. When you are using Windows RE, no problems to reset or restore to factory default. But with OKR, it fails to access PBR_DRV.

      Solution: find your PBR_DRV partition and correct the Partition type ID. Try again, you shall be able to use OKR without problems.

      Please let me know if it helps!

      Best regards,

      Amigo

      Like

  21. thank you sir :) it helped mee alot i got my one key recovery back into action and windows recovery drive also worked but the problem is unable to unmount those mounted partions such as pbr_drv drive and winre_drv please help me
    and once again thank you for this good post

    Like

  22. thanks for reply ::Amigo sir

    actually the hidden partitions are labeled and showing in my computer
    what iam trying to ask is how to make them hidden
    and another question
    if we restore with one key recovery does it will format my c,d partitions and hidden partitions OR NOT

    Like

    • Dear Pavankalyan ,

      You may try to reset your Windows to make them becomes hidden again. I am not sure if it could be hidden using OKR.

      Detail instruction in Reset your Lenovo Computer with Windows 8.

      About restore, yes, it will restore to factory default. It use the restory disk images from PBR_DRV to rebuild other partitions. Therefore, everything in PBR_DRV should stay the same.

      I suggest you to backup before reset.

      Wish it helps!

      Best regards,

      Amigo

      Like

      • thanks for reply
        i want to now that my OEM partition (1000mb) has changed to healthy primary partition and it is hidden partition how to recover and make the partition named to OEM partition

        Like

      • Dear Pavankalyan,

        I understand. That’s why I suggest you to do a Windows Reset. That’s how I made them invisible again.

        Have a nice day!

        Best regards,

        Amigo

        Like

  23. Hello Amigo. I’m reading the post and the comments for about 24 hours without sleep and trying to figure it out what to do. I fuccked up so hard that I beg for your help. Can we chat somewhere else, like Skype or Facebook ? I’m in deep shit :) Thanks.

    Like

    • Dear dragos,

      I can see you really tired. But I wish you don’t use any words to show your angry, this is G rating web site which means “Suitable for all audiences”.

      About SkyPE, I didn’t turn it on all the time. Maybe you may try my Facebook. I am in Taipei which is GMT + 8 for your information.

      I preferred you leave comments here about your issue because it would help others, too.

      Let me know what is your problem. I will see if I have any ideas to help.

      How about take a sleep first? There are many characters for partition type id. It might be a good idea when you have some rest before making any change.

      Have a nice dream!

      Best regards,

      Amigo

      Like

  24. Hello. Thanks for answering, and please accept my apologies for the bad language, I was pretty upset and tired. Short story long, maybe I miss some steps, but after 24 hours of trying everything and reading almost all tutorials, I barely remember 50% of what I did.
    I have a Lenovo Y510P with 1TB HDD. Two days ago I bought a new Samsung SSD 250GB and a HDD Caddy. I removed the original 1TB HDD and replaced it with the new SSD and mounted the HDD in the HDD Caddy and replaced the optical unit with it.
    Everything was good, I booted fine from the HDD Caddy, formatted the SSD and installed the necessary software from Samsung.
    I cloned the Windows partition with Samsung software, rebooted in BIOS, changed the boot order to boot from SSD and I entered the Windows from the cloned SSD.
    As an intelligent person I am, I formatted the old C:\ partition from the HDD…and after 1 hour of using the PC with the cloned Windows, I noticed that I got a lot of errors from a lot of processes, I cant remember any names. After some reboots, I couldn’t log in anymore into the windows, because the keyboard wasn’t working anymore on the “Log In” screen and the “Ease of Access” for Virtual Keyboard wasn’t working when I clicked it. The “Turn Off” button from the “Log In” screen wasn’t working and was giving me an error like “LogonUI.exe stopped” or something like that, so I was forced to try to reinstall or recover. I want to say that I tried to use One Key recovery from the Windows but I was getting an error and I couldn’t start the Recovery from Windows. I tried to use the OneKey Recovery from the StartUp Menu but I was getting the following error: “OneKey Recovery partition has damaged so do not launch the main application”. I want to mention that I didn’t modified anything on any partition before that.
    After I saw I don’t have any option, I tried to reinstall the Windows from a USB Stick, but on the “Partition” screen (when installing Windows) I couldn’t choose the SSD, because I was getting some sort of error, can’t remember what error. I tried to install on the old HDD Windows Partition but I was getting the same error. I tried to format the SSD again with GParted to be able to install windows, but nothing worked. After that I found an online tutorial, that told something like using diskpart and “Clean” the disk, and by mistake, I used “clean disk” option on the DISK 0 (HDD), and cleaned all the partitions. After that, I don’t know why, the windows install on the SSD went without any issues, but i lost all partitioning on the HDD. I found out that the data is still on the HDD, only the HDD partition table was deleted, but now I can’t recover them, only partially. I tried with “testdisk” from “System Rescue CD”, I was getting all partitions when scanning, but when recovering I was getting only 2-3 partitions.
    The last tool I used, is MiniTool Partition Wizard. I recovered once, but I though It was missing some of the partitions, and now I’m scanning again to see if I can get everything. I will come back with images and details of what I was able to recover.

    After this story, what do you think, If i can get the old partitions back (recovery ones), can I recover to the original recovery image? Thanks a lot for getting time to read it!

    Like

    • Dear dragos,

      After reading your comments, it’s really difficult.

      Quick Suggestion

      Because you may access PBR_DRV partition, I strongly recommend you to Reset your Lenovo Computer with Windows 8 to restore to factory default. Remember to backup important files before reset. It will destroy everything.

      I believe something wrong during or after cloning. Reset will rebuild all your parititions except PBR_DRV.

      Possible Reason

      Fail cloning.

      ClonZilla fail to clone Windows 8.x disk as I have mentioned in Recover Lenovo One Key Rescue Restore Feature after Cloning with CloneZilla

      Questions

      1. What is your software for cloning?
      2. What is in your USB stock? Windows RE or a full Windows? They are different.
      3. Can you access PBR_DRV eventually?

      Wish it helps!

      Best regards,

      Amigo

      Like

      • 1. I used Samsung Data Migration, the software that came with the SSD, but it failed.
        2. Now I have installed a full Windows into SSD, I’m using it right now, but I want to get back to the original Windows from the Recovery partition.
        3. Yes, I can access PBR_DRV right now, but I can’t use the method from your other article https://amigotechnotes.wordpress.com/2014/01/17/reset-your-lenovo-computer-with-windows-8/ because the “Copy the recovery partition from the PC to the recovery drive” is greyed out.
        4. I can’t use “set id = de94bba4-06d1-4d40-a16a-bfd50179d6ac” because I get the “The specified type is not in the correct format. For more information on the command type: HELP SET”. I found out that “set id = 12″ make the partition OEM and “set id = 27″ make the partition Recovery.
        As you can see in the below comment I let, on “list partition” I get also a “Partition 0″ type “Extended” that I don’t know what is ..

        Like

      • Dear dragos,

        Please create your Windows RE flash stick without “Copy the recovery partition from the PC to the recovery drive”. I remember but not sure if it cannot find recovery partition in USB stick, it will search for disk partition.

        You need to try on your own risk to see if it may find the recovery partition in disk.

        Because you have install a new Windows, I am not sure if it works.

        Wish it help!

        Best regards,

        Amigo

        Like

      • Thanks for your answer. I will try to see how it works and come back with the result. Best wishes and you are doing a great job.

        Liked by 1 person

      • Hey Amigo. What’s up? Everything good? :)
        I have managed to recover almost all partitions and my partition table looks like that:

        DISKPART> list partition

        Partition ### Type Size Offset
        ————- —————- ——- ——-
        Partition 1 Recovery 1000 MB 1024 KB
        Partition 2 System 260 MB 1001 MB
        * Partition 3 OEM 1000 MB 1261 MB
        Partition 4 Primary 690 GB 202 GB
        Partition 5 Primary 25 GB 892 GB
        Partition 6 Recovery 13 GB 917 GB

        DISKPART>

        Is something missing? The Partition 5 is the LENOVO partition and the Partition 4 is my personal partition.

        Like

      • Dear dragos,

        By comparing your new partition list and info.ini, the missing partitions are:

        1. Windows RE – It may be re-create in Windows command prompt.
        2. OKR Boot Partition – I don’t know how to re-create.

        The former may be replace with your Windows RE USB stick. The later is [LrsESP] in info.ini. Therefore, I think it is okay to give up OKR and use Windows RE instead.

        I strongly recommend you to recreate Windows RE flash stick with “Copy the recovery partition from the PC to the recovery drive” immediately.

        Anyway, I am glad you share the detail success story with us!

        Thank you for your feedback!

        Have a nice day!

        Best regards,

        Amigo

        Like

      • Hey Amigo! I have managed to restore my Windows today :) Thanks a lot for your information.
        For everyone who still have the partitions PBR_DRV and LRS_ESP, you can recover your laptop using the following tutorial, but be careful, you will lose all your DATA on the HDD. You need a 16GB USB Memory.
        TUTORIAL: http://i.imgur.com/LKXbyn7.jpg
        HOW TO MAKE USB BOOTABLE: http://technet.microsoft.com/en-us/library/jj200124.aspx
        DOWNLOAD OKR 8 ISO: https://mega.co.nz/#!2cEFDYCR!XcFfyAQBstlk_W_Hm1O16AaJrFBFqobqJgb-VdG0MTw

        When you will boot from the USB Stick, the menu will be in Chinese, check the menu and click the button: http://i.imgur.com/9FBzpwp.png

        After that, go back to BIOS, change the BOOT order to boot from HDD, and you will have all partition back.
        If you have any questions, let them here, I will check from time to time!
        Thanks to LenovoForums for the tutorial.

        PS: Now I have another issue, I can’t clone the Windows from HDD to the SSD… I got an error. What software do you suggest? Thanks.

        Like

      • Dear dragos,

        Thanks for sharing. It seems you didn’t use Windows RE flash stick to recover your partitions and try to create a OKR boot USB stick instead.

        About the software you have mentioned here, I have no ideas whether it is official link or a modifier version. There might be risk if it is not from official web site.

        For cloning, I create Windows RE flash stick with “Copy the recovery partition from the PC to the recovery drive”. It may be restore on different hard drive to work with the same computer.

        Have a nice day!

        Best regards,

        Amigo

        Like

      • It’s no risk using the software, because you use your own files fromPBR_DRV and LRS_ESP to recover.
        I have managed to clone the HDD too with Macrium Reflect. Everything works fine at the moment. Thanks a lot, you are doing a great job here, wish you a great Sunday!

        Like

  25. Hello. I have recovered my PBR_DRV partition. I want to mention that I can’t use anymore the “set id = xxxxxxxxxxxxx” option with the values from your article, but only with the values like “set id = 12″ “set id = 27″. I think its because GPT/MBR (I don’t really know if that is the issue). The info.ini file is:
    ___________________________
    [Info]
    BakTime=2013-12-06 19:40
    FacBak=1
    T12Layout=1
    VirtualC=0
    BootType=3
    DiskCount=1
    ImageCount=4
    DataPart=1
    MBR=MBR.okr
    PartStyle=1
    Success=1
    [Boot]
    Format=FAT32
    Lable=SYSTEM_DRV
    Begin=2050048
    Total=532480
    Used=56136
    Image=Boot.okr
    DiskIndex=0
    Index=2
    Id={339C5152-4A9C-45E0-AB57-BE64E1E54C15}
    Type={C12A7328-F81F-11D2-BA4B-00A0C93EC93B}
    Attributes=8000000000000001
    [OS]
    Format=NTFS
    Lable=Windows8_OS
    Begin=4892672
    Total=1867358208
    Used=97443600
    Image=Install.wim
    DiskIndex=0
    Index=5
    Id={974953FB-F875-47AB-BE11-15CDD2337E25}
    Type={EBD0A0A2-B9E5-4433-87C0-68B6B72699C7}
    Attributes=0
    [WinRE]
    Format=NTFS
    Lable=WINRE_DRV
    Begin=2048
    Total=2048000
    Used=615336
    Image=Winre.okr
    DiskIndex=0
    Index=1
    Id={30FBE6D0-E492-4980-84E2-19EFEF5388AF}
    Type={DE94BBA4-06D1-4D40-A16A-BFD50179D6AC}
    Attributes=8000000000000001
    [LrsESP]
    Format=FAT32
    Lable=LRS_ESP
    Begin=2582528
    Total=2048000
    Used=1017400
    Image=LrsEsp.okr
    DiskIndex=0
    Index=3
    Id={01EACB52-ED71-42F0-AD98-3D12B6B34360}
    Type={BFBFAFE7-A34F-448A-9A5B-6213EB736C22}
    Attributes=8000000000000001
    [MSR]
    Begin=4630528
    Total=262144
    DiskIndex=0
    Index=4
    Id={2B0D06C2-21AF-4E20-BF88-D91A2B6DDD53}
    Type={E3C9E316-0B5C-4DB8-817D-F92DF00215AE}
    Attributes=8000000000000000
    [Service]
    Format=NTFS
    Lable=PBR_DRV
    Begin=1924679680
    Total=28844032
    DiskIndex=0
    Index=7
    Id={57526A56-B133-4F76-9205-A1712727B5A5}
    Type={DE94BBA4-06D1-4D40-A16A-BFD50179D6AC}
    Attributes=8000000000000001
    __________________________________
    This are the diskpart details:
    DISKPART> list partition

    Partition ### Type Size Offset
    ————- —————- ——- ——-
    Partition 1 Primary 349 MB 1024 KB
    Partition 2 Primary 260 MB 1001 MB
    Partition 3 Primary 1000 MB 1261 MB
    Partition 0 Extended 729 GB 201 GB
    Partition 4 Logical 448 MB 201 GB
    Partition 5 Logical 690 GB 202 GB
    Partition 6 Logical 13 GB 917 GB

    DISKPART> list volume

    Volume ### Ltr Label Fs Type Size Status Info
    ———- — ———– —– ———- ——- ——— ——–
    Volume 0 System Rese NTFS Partition 349 MB Healthy
    Volume 1 D SYSTEM_DRV FAT32 Partition 260 MB Healthy
    Volume 2 LRS_ESP FAT32 Partition 1000 MB Healthy
    Volume 3 E NTFS Partition 448 MB Healthy
    Volume 4 F E NTFS Partition 690 GB Healthy
    Volume 5 G PBR_DRV NTFS Partition 13 GB Healthy
    Volume 6 C NTFS Partition 232 GB Healthy System

    Like

    • Dear dragos,

      From your information, the “Type” value in each section of info.ini is the Partition Type ID used with diskpart command. You need to manually SELECT PARTITION before SET ID for the damaged partition type.

      If you have problem on partitions, try How to Fix Windows 8 Boot Error.

      Wish it helps!

      Best regards,

      Amigo

      Like

  26. Oh man, your tutorial is so good and so useful, thank you so much, I’m really appreciate of your hard work!!!

    Like

  27. Thank you for the great tutorial, I digest the web couldn’t find something that do not point to your great solution (Y) keep it up.

    Still stuck with my lenovo y510p I followed all the steps, until I set my partitions IDs correctly as they were before (I took a screenshot for them before resizing) however when I try the command reagentc /disable it prints all the commands in diskpart shell app, as I may typed it wrong or something.

    Before resizing this was my partition list:-

    Partition 1: Recovery 1000MB
    Partition 2: System 260MB
    Partition 3: OEM 1000MB
    Partition 4: Reserved 128MB
    Partition 5: Primary 890GB
    Partition 6: Primary 25GB
    partition 7: Recovery 13GB

    I just split partition 5 to 2 partitions and now I have this partition list (I did changed the ID as described)

    Partition 1: Recovery 1000MB
    Partition 2: System 260MB
    Partition 3: OEM 1000MB
    Partition 4: Reserved 128MB
    Partition 5: Primary 390GB
    Partition 6: Primary 500GB
    Partition 7: Primary 25GB
    partition 8: Recovery 13GB

    I tried the onekey recovery features but it doesn’t work….can you help me please ?

    Liked by 1 person

  28. I had partitioned(shrinked) my c drive with third party app (AOMEI) immediately
    my OEM partition (1000 mb) has deleted then what i did is clicked on recover the partition 1000mb with AOMEI third party app
    what the app did is recovered the partition but it assign a drive letter to all the below partitions

    i.e OEM EFI WINRE PBRDRV——-assigned letters to it

    from your post

    i have removed the drive letters
    and also
    using your post set id
    i made all partions to its default state

    but my problem with only OEM partition it is renamed to healthy primary partition and in hidden

    how to get back my OEM partition to its default state
    i.e the partition should name as OEM partition(1000mb) instead of healthy primary partition

    Liked by 1 person

    • Dear all,

      Pavankalyan has successfully changed his “unknown” partition to “OEM” by using gtp attributes command in diskpart. He kindly share his experience with us here.

      Thank you and wish it could help others!

      Best regards,

      Amigo

      Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s