Unable to create partition for C Drive through Diskpart

Discussion in 'Windows 8' started by sreyan32, Oct 13, 2020.

  1. sreyan32

    sreyan32 MDL Novice

    Dec 26, 2013
    40
    0
    0
    I just suffered a nasty virus attack which completely wiped out my C Drive.

    After that I have been trying to create a partition for my C Drive and reinstall Windows 8.1.

    But Diskpart seems to be giving me weird errors.

    Please check attached image.

    Can someone tell me what the correct offset will for creating a partition of 198 GB ?
     

    Attached Files:

  2. sreyan32

    sreyan32 MDL Novice

    Dec 26, 2013
    40
    0
    0
    Ok, guys I have managed to get diskpart working but can anyone help me with this error.

    Unexpected error:
    OXC0000005

    Check the attachment.
     

    Attached Files:

  3. Tiger-1

    Tiger-1 MDL Guru

    Oct 18, 2014
    7,897
    10,733
    240
    hi try this: turn on the machine and wait: then click on the shift button + F10 and in the sequence click diskpart and follow the normal instructions for installing your Windows just follow the instructions that are clear ok :)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. coleoptere2007

    coleoptere2007 MDL Guru

    Apr 8, 2008
    3,311
    1,938
    120
    @sreyan32 did you collect the correct windows 8.1 iso by comparing SHA-1 with original one? Where did you pick up the iso ? Are you in UEFI/GPT ?
    To help you we need more info ? For diskpart the sequence is :
    Launch Diskpart in cmd
    1.List disk
    2. Select disk x (x corresponding of the disk you want to create partitions)
    3. Clean (to delete all)
    4. Convert GPT (if your in UEFI/GPT)....

    Why not boot to USB containing the ISO and have the GUI to do this ?
     
  5. EXO56

    EXO56 MDL Member

    Mar 22, 2013
    183
    250
    10
    #5 EXO56, Oct 14, 2020
    Last edited: Oct 14, 2020
    Windows setup error code 0xC0000005 : RAM or Hard drive corruption or bad sectors.
    in the present situation, must be the hdd.

    Run any WinPE which have some diagnostics programs and check your drive for errors or bad sectors.
    Reformat and retry Windows setup

    While you're running WinPE, you can even rearrange partitions using 3rd party partition managers, reformat, and then restart to clean install Windows.