Recover Partitions from diskpart -> clean command

Page 1 of 2 12 LastLast

  1. Posts : 6
    Windows 8,1
       #1

    Recover Partitions from diskpart -> clean command


    Hi Guys,

    I was trying to install windows 7 on my windows 8 laptop (UEFI) and when it didnt allow me to install win7 on partitioned drive I followed YouTube video foolishly and fired diskpart - clean command. everything gone after that. Luckily I didnt do anything after that and referred one of the thread here on sevenforums. followed some of the suggestions give by Kaktussoft and was able to see all the partitions using partition wizard and it showed me correct list of partitions including recovery partitions. I used partition wizard to restore them but I see the bootable drive letters are not restored. Now that when I try to boot the laptop doesnt boot.

    How do I fix this? does it need to rebuild the MBR ? if yes how?
      My Computer


  2. Posts : 21,004
    Desk1 7 Home Prem / Desk2 10 Pro / Main lap Asus ROG 10 Pro 2 laptop Toshiba 7 Pro Asus P2520 7 & 10
       #2

    Hello and welcome rgirlish this might help if that is all you want.
    MBR - Restore Windows 7 Master Boot Record

    Just by the way have you just joined or read that answer by Kaktussoft as he has been in in here for a while - just curious.
      My Computer


  3. Posts : 6
    Windows 8,1
    Thread Starter
       #3

    Thanks for the link ICit2lol, I followed the instructions using usb win7 bootable but somehow it doesnt detect the windows installation because its windows 8. So these instruction did not work for me. something to do with windows 8 BCD on UEFI I guess.

    I just joined but was reading some of the threads last couple of days and thats where I read Kaktussoft's postings.

    I could not find the answer for my problem so I decided to open a new thread.



    ICit2lol said:
    Hello and welcome rgirlish this might help if that is all you want.
    MBR - Restore Windows 7 Master Boot Record

    Just by the way have you just joined or read that answer by Kaktussoft as he has been in in here for a while - just curious.
      My Computer


  4. Posts : 6
    Windows 8,1
    Thread Starter
       #4

    After restoring the volumes its giving me this error

    Your PC needs to be repaired.

    File:\Windows\System32\winload.efi
    Error code: 0xc0000225

    I found following instructions and I followed them, but it doesnt seems to work

    -----------------------------------------------------
    Diskpart
    List Volume
    Select Volume=2 (change the "2" with a number that shows the ESP value.
    Assign letter=Z
    Exit
    Bcdboot C:\windows /s Z: /f UEFI (change the C: with the drive letler of your OS)
    4. Restart your computer.
    ------------------------------------------------------------------
      My Computer


  5. Posts : 21,004
    Desk1 7 Home Prem / Desk2 10 Pro / Main lap Asus ROG 10 Pro 2 laptop Toshiba 7 Pro Asus P2520 7 & 10
       #5

    Sorry late reply rgirlish have been busy with the tax man etc

    Now that looks to be a significant problem you have there see this https://neosmart.net/wiki/0xc0000225/ if you can follow this it may help and what we need to know is have you backed up all your data because if worst comes to the worst then you may have to reinstall. As a general rule I image my machines with Macrium the main machines once every two or three weeks - takes a few minutes but worth it for times like this.
    Imaging with free Macrium

    But if you have not then there are other ways of retrieving the data by not using Windows ie a Ubuntu boot disk. But first let us know the situation with the data.
      My Computer


  6. Posts : 6
    Windows 8,1
    Thread Starter
       #6

    Thanks for the reply again ICit2lol and dont worry about that. I also have been busy and using my another laptop.

    Thanks for the direction and I will update the outcome once I perform these steps.

    cheers

    ICit2lol said:
    Sorry late reply rgirlish have been busy with the tax man etc

    Now that looks to be a significant problem you have there see this https://neosmart.net/wiki/0xc0000225/ if you can follow this it may help and what we need to know is have you backed up all your data because if worst comes to the worst then you may have to reinstall. As a general rule I image my machines with Macrium the main machines once every two or three weeks - takes a few minutes but worth it for times like this.
    Imaging with free Macrium

    But if you have not then there are other ways of retrieving the data by not using Windows ie a Ubuntu boot disk. But first let us know the situation with the data.
      My Computer


  7. Posts : 21,004
    Desk1 7 Home Prem / Desk2 10 Pro / Main lap Asus ROG 10 Pro 2 laptop Toshiba 7 Pro Asus P2520 7 & 10
       #7

    Good stuff please do:)
      My Computer


  8. Posts : 6
    Windows 8,1
    Thread Starter
       #8

    Okay, So I followed the instructions on the link you have provided in last message ICit2lol, After that I restarted and it still did not boot in.

    Then I learnt that one can rebuild MBR using partition wizard tool , I tried that and rebooted, it didn't boot up.

    I then reboot the system using USB win 8 recovery disk and fired following commands that I mentioned in my previous message.
    -----------------------------------------------------
    Diskpart
    List Volume
    Select Volume=2 (change the "2" with a number that shows the ESP value.
    Assign letter=Z
    Exit
    Bcdboot C:\windows /s Z: /f UEFI (change the C: with the drive letler of your OS)
    4. Restart your computer.
    ------------------------------------------------------------------

    checked bcdedit and saw windows entry init but system still could not boot and gave me the same 0xc0000225 error.

    but meanwhile I was going through the BIOS settings and I noticed that there are two options in the boot order. I changed the boot order from windows boot manager to the option that is showing HDD name and bingo the system booted into my previous state.

    Now I am not sure which one of MBR rebuild from above worked because obviously my boot order was wrong and thats why system was not booting into windows.

    Now here is my problem
    with Fast BIOS disabled , Secure boot disabled, OS mode is CSM and UEFI and HDD in boot order system perfectly boots into the windows 8.1

    But then it does not boot with Fast BIOS enabled, Secure boot enable, OS mode UEFI and default windows boot manager in boot order for UEFI.

    Because of this I am unable to go back to the factory build state.

    Any suggestions or help would appreciated.
      My Computer


  9. Posts : 21,004
    Desk1 7 Home Prem / Desk2 10 Pro / Main lap Asus ROG 10 Pro 2 laptop Toshiba 7 Pro Asus P2520 7 & 10
       #9

    Ok rgirlish seems like most of the searches I have done up typically with results like this https://social.technet.microsoft.com...w8itproinstall
    I would guess it is as in that link the files are really corrupted and I can only think that if it were me I would wipe that partition (you can do that with Partition Wizard) and reinstall the 7.

    So I have it right you are doing a dual boot?? or have I got that part wrong??
      My Computer


  10. Posts : 1
    Windows 8 Single Language
       #10

    im facing the same situation right now
    i was installing windows 8 Single language in UEFI boot and it didnt let me install saying ''UEFI can only install on GPT partitions
    cleaned the disk accidentally while converting it to GPT partition using diskpart 'clean' command, now all the partitions got deleted, is there any way i could recover my data from the deleted/cleaned partitions?
      My Computer


 
Page 1 of 2 12 LastLast

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 16:06.
Find Us