Windows 10: Upgrading boot drive, how do I preserve my installation but create new GPT disk partitions

Discus and support Upgrading boot drive, how do I preserve my installation but create new GPT disk partitions in Windows 10 Installation and Upgrade to solve the problem; Hello, My PC's boot disk has a faulty partition layout and as a result I cannot properly restart or put my computer to sleep. While resolving this,... Discussion in 'Windows 10 Installation and Upgrade' started by Dive_Deep, Jan 9, 2021.

  1. Dive_Deep Win User

    Upgrading boot drive, how do I preserve my installation but create new GPT disk partitions


    Hello,


    My PC's boot disk has a faulty partition layout and as a result I cannot properly restart or put my computer to sleep.


    While resolving this, I would like to take the opportunity to upgrade my boot drive to a fast 1TB M2 drive.
    Unfortunately, cloning the current boot disk seems to preserve the partitions, while I would like to resolve my startup problem by e.g. letting Windows create a new partition layout.
    I wonder if there is a way to do so while copying everything else from my current installation including all programs, settings,... ?

    :)
     
    Dive_Deep, Jan 9, 2021
    #1
  2. W1zzard Win User

    W7 Hard drive partition issue

    to get rid of that 100 meg windows partition that setup creates for you on a new install on a blank hdd:

    - press shift+f10 when on the partition management screen in setup <-- this opens a command prompt
    - diskpart <-- start the windows command line partition management tool
    - list disk <--- list the installed hdds in this computer for the next step
    - select disk 0 <- might have to replace 0 with the number of the correct disk
    - clean <-- this will erase all data on the disk you selected one step up- dont use the wrong disk!
    - create partition primary <- creates a primary partition taking up all space on the drive, adjust the command if necessary
    - exit, exit to exit diskpart and the command prompt
    - click refresh in partition manager and select your newly created partition and install to that
     
    W1zzard, Jan 9, 2021
    #2
  3. Installing Windows Vista/7 on a GUID Partition Table

    Background

    GUID Partition Table (GPT) is a boot sector technology poised to replace the venerable Master Boot Record (MBR) principally because MBR has a maximum capacity of 2 TB for a single partition (some single disks have reached 3 TB). Installing Windows on a GPT is a bit tricky because Windows wants to default back to MBR. In order to force Windows on to a GPT, we have to pre-format the drive prior to Windows installation. You can do that during Windows setup using the console.

    Requirements

    • Windows Vista or 7 (must be 64-bit no matter which OS is used)
    • A motherboard with EFI BIOS
    • A means to EFI boot the Windows setup (I had to use a USB DVD drive on MSI Z77A-G65, the internal SATA Bluray drives didn't have an EFI option)
    Instructions

    • Boot into Windows setup using EFI. On the MSI Z77A-G65, it showed up as UEFI:USB-ATAPI DVD ... This will change according to your motherboard and how you are attempting to enter setup. This step is critical. Without booting into setup via EFI, only MBR is available to the setup. There's no easy way to tell from within setup if it is running via EFI or not.
    • Once you have booted into setup, continue through the process as you would normally until you reach the dialog which shows you the available drives. Load a driver, if necessary, then press SHIFT+F10 to open the command prompt.
    • In the command prompt, enter the following lines, pressing enter after each one. Note that the <id> field below is the disk ID that you want to format as GPT from the "list disk" command. If there's only one drive, <id> will likely be 1. Note: All data on the drive will be lost during this process. Make sure to select the correct drive.
      • diskpart
      • list disk
      • select disk <id>
      • online disk
      • attributes disk clear readonly
      • clean
      • convert gpt
      • create partition efi size=102
      • create partition msr size=32
      • create partition primary
      • format fs=ntfs label="Operating System"
      • assign letter=C
      • exit
      "online disk" and "attributes disk clear readonly" are likely to fail. Don't worry, they are only precautionary. Change the drive letter and label to whatever you want. Also, the above command (specifically "create partition primary") will consume all remaining space on the drive. If you want multiple partitions with fixed sizes, substitute what you want in place of "create partition primary."
    • You may now close the command prompt and click on "Refresh" back in the dialog to choose where to install Windows. You should now see at least 2 partitions (I think Microsoft Reserved is hidden) and it will only let you install on a non EFI/MSR partition. Click on the primary partition and proceed with the installation as normal.
    • Note that in the EFI BIOS after installing Windows via EFI, you can no longer directly boot the volume Windows is installed on. Instead, you must boot via "Windows Boot Manager" (on MSI Z77A-G65, it was "UEFI: Windows Boot Manager"). Keep that in mind if you wish to tweak the boot order.
    Conclusion

    That should do it. You should be in Windows with >2 TB of hard drive capacity available if you had more than 2 TB on the Windows partition. Congratulations being on the bleeding edge of technology! *Rockout :rockout:
     
    FordGT90Concept, Jan 9, 2021
    #3
  4. FX-GMC Win User

    Upgrading boot drive, how do I preserve my installation but create new GPT disk partitions

    Move Win7 64 image from a partition NTFS to a new drive

    EDIT: After reading your first post again, is there any reason that you would now need GPT? Are you just trying to move the windows install to a new disk or is there a new motherboard involved?

    If you are already booting to an NTFS partition, then it makes me wonder if after copying to the new drive, the partition isn't getting marked as Active.

    Following the same steps I posted above for startup repair, you can get to a command prompt and use diskpart to see if this is the case.

    Code: In the command prompt: diskpart list disk select disk 0 (disk number may be different if you have other disks connected.) list partition select partition 0 (partition number number may vary, but you want to see the boot partition which is the same as your windows partition according to the screenshot on the OP) detail partition (This should have Active: Yes or No. If it says no, since we have the partition selected, you can just use the following command in diskpart) active[/quote]
     
    FX-GMC, Jan 9, 2021
    #4
Thema:

Upgrading boot drive, how do I preserve my installation but create new GPT disk partitions

Loading...
  1. Upgrading boot drive, how do I preserve my installation but create new GPT disk partitions - Similar Threads - Upgrading boot drive

  2. Windows installation wouldn't create GPT partition.

    in Windows 10 Gaming
    Windows installation wouldn't create GPT partition.: Trying to install new hard drive on my laptop. I have a blank brand new 1 TB hard drive and partitioned as GPT Style partition. Downloaded the mediacreation tool for windows 10 and 11 and installed the boot disk on the blank HDD. When I try to install windows on my laptop, I...
  3. Windows installation wouldn't create GPT partition.

    in Windows 10 Software and Apps
    Windows installation wouldn't create GPT partition.: Trying to install new hard drive on my laptop. I have a blank brand new 1 TB hard drive and partitioned as GPT Style partition. Downloaded the mediacreation tool for windows 10 and 11 and installed the boot disk on the blank HDD. When I try to install windows on my laptop, I...
  4. Windows installation wouldn't create GPT partition.

    in Windows 10 Installation and Upgrade
    Windows installation wouldn't create GPT partition.: Trying to install new hard drive on my laptop. I have a blank brand new 1 TB hard drive and partitioned as GPT Style partition. Downloaded the mediacreation tool for windows 10 and 11 and installed the boot disk on the blank HDD. When I try to install windows on my laptop, I...
  5. How can I manually create a boot partition for an MBR disk?

    in Windows 10 Software and Apps
    How can I manually create a boot partition for an MBR disk?: I'm trying to create a boot partition for an MBR disk, so the create par efi size=512 doesn't work.What should I do? https://answers.microsoft.com/en-us/windows/forum/all/how-can-i-manually-create-a-boot-partition-for-an/65a1bc0b-6572-4094-af48-17758fa876b8
  6. How can I manually create a boot partition for an MBR disk?

    in Windows 10 Gaming
    How can I manually create a boot partition for an MBR disk?: I'm trying to create a boot partition for an MBR disk, so the create par efi size=512 doesn't work.What should I do? https://answers.microsoft.com/en-us/windows/forum/all/how-can-i-manually-create-a-boot-partition-for-an/65a1bc0b-6572-4094-af48-17758fa876b8
  7. Upgrading boot drive, how to preserve my installation while creating new GPT disk partitions?

    in Windows 10 Installation and Upgrade
    Upgrading boot drive, how to preserve my installation while creating new GPT disk partitions?: Hello, My PC's boot disk has a faulty partition layout and as a result I cannot properly restart or put my computer to sleep. While resolving this, I would like to take the opportunity to upgrade my boot drive to a fast 1TB M2 drive. Unfortunately, cloning the current...
  8. Created a GPT Partition disk while plugged into usb

    in Windows 10 Drivers and Hardware
    Created a GPT Partition disk while plugged into usb: I had gotten a new hard drive in preparation to replace an old one that had been slowing down, and getting closer to the end of it's life. When i made the original partition table, i had selected GPT, not knowing what would happen afterwards. I transferred everything from the...
  9. windows 10 cannot install to this GPT PARTITION DISK

    in Windows 10 Installation and Upgrade
    windows 10 cannot install to this GPT PARTITION DISK: WINDOWS 10 cannot install to GPT partition style disk. https://answers.microsoft.com/en-us/windows/forum/all/windows-10-cannot-install-to-this-gpt-partition/3e7db08c-e8fa-4435-a422-83948e1d86a0
  10. DISKPART - How to Partition GPT disk

    in Windows 10 Tutorials
    DISKPART - How to Partition GPT disk: How to: DISKPART - How to Partition GPT disk [img] Information Some time ago in another thread I promised a fellow Ten Forums member, esteemed geek and a good friend of mine Tony K to make him a custom DISKPART script when needed: My system at present is...