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

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

  1. Edward Gudz

    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.

    Reply
    1. Amigo Post author

      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. :)

      Reply
  2. Arif Blaze

    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 ?

    Reply
    1. Amigo Post author

      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!

      Reply
      1. Arif Blaze

        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)

  3. Pingback: The Lenovo Ideapad Y500 Thread - Page 53

  4. Arif Blaze

    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)

    Reply
    1. Amigo Post author

      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!

      Reply
  5. Hans

    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

    Reply
  6. Colin

    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

    Reply
    1. Amigo Post author

      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

      Reply
      1. Colin

        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

      2. Amigo Post author

        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

    2. Par

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

      Reply
  7. Sam

    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

    Reply
    1. Amigo Post author

      Dear Sam,

      Here are two quick reply for your questions:

      1. No need to change BIOS setting to fix this issue

      You may take a look at Boot Process in Windows and Linux with BIOS or UEFI which explains the boot process in Windows with UEFI.

      2. How to find out the correct Drive ID?

      I think you mean the Partition ID or Partition Type ID. It is well document in info.ini configuration file in folder OKRBackup/Factory in partition PBR_DRV. You may found how to get it in another post Reset your Lenovo Computer with Windows 8.

      Wish it helps!

      Best regards,

      Amigo

      Reply
  8. Amonra

    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?

    Reply
    1. Amigo Post author

      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

      Reply
  9. Amin.

    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!!

    Reply
    1. Amigo Post author

      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

      Reply
    2. Amigo Post author

      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

      Reply
  10. Javier

    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.

    http://s25.postimg.org/q2tv83orz/14040012.jpg

    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.

    http://s25.postimg.org/9111609wv/14040013.jpg

    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

    Reply
    1. Amigo Post author

      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

      Reply
      1. Javier

        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] :)

    2. Amigo Post author

      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

      Reply
      1. Javier

        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?

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