- Windows Setup: Installing using the MBR or GPT partition style
- Why should I convert my drive?
- Reformatting the drive using a different partition style
- Make sure Windows Setup boots to the correct firmware mode
- What is GPT Partition or GUID in Windows 10
- What is GPT Partition
- Limitations of MBR Disk
- MBR Disk vs. GPT Disks
- How To Convert GPT Disk To MBR Disk
- Не получается установить Windows на диск GPT или MBR. Исправляем
- Не получается поставить ОС на GPT-диск. Решения, которые помогут
- Настоящее (UEFI и GPT) и прошлое (BIOS и MBR)
- Выбор метода
- Помните:
- BIOS или UEFI
- Чаще всего не получается установить Windows 7
- Преобразование GPT в MBR
- Невозможно поставить ОС на диск с MBR-разделами
- Преобразование MBR в GPT. Вся информация будет удалена
- Как не потерять данные при преобразовании
- Как обойтись без преобразования
Windows Setup: Installing using the MBR or GPT partition style
When installing Windows on UEFI-based PCs using Windows Setup, your hard drive partition style must be set up to support either UEFI mode or legacy BIOS-compatibility mode.
For example, if you receive the error message: “Windows cannot be installed to this disk. The selected disk is not of the GPT partition style”, it’s because your PC is booted in UEFI mode, but your hard drive is not configured for UEFI mode. You’ve got a few options:
Reboot the PC in legacy BIOS-compatibility mode. This option lets you keep the existing partition style. For more info, see Boot to UEFI Mode or Legacy BIOS mode.
Configure your drive for UEFI by using the GPT partition style. This option lets you use the PC’s UEFI firmware features.
You can preserve your data and convert the drive using the MBR2GPT tool. You can also choose to reformat the drive using the instructions below. Reformatting will erase all the data on the drive.
Why should I convert my drive?
Many PCs now include the ability to use the UEFI version of BIOS, which can speed up boot and shutdown times and can provide additional security advantages. To boot your PC in UEFI mode, you’ll need to use a drive formatted using the GPT drive format.
Many PCs are ready to use UEFI, but include a compatibility support module (CSM) that is set up to use the legacy version of BIOS. This version of BIOS was developed in the 1970s and provides compatibility to a variety of older equipment and network configurations, and requires a drive that uses the MBR drive format.
However, the basic MBR drive format does not support drives over 4TB. It’s also difficult to set up more than four partitions. The GPT drive format lets you set up drives that are larger than 4 terabytes (TB), and lets you easily set up as many partitions as you need.
Reformatting the drive using a different partition style
To wipe and convert the drive by using Windows Setup
Turn off the PC, and put in the Windows installation DVD or USB key.
Boot the PC to the DVD or USB key in UEFI mode. For more info, see Boot to UEFI Mode or Legacy BIOS mode.
When choosing an installation type, select Custom.
On the Where do you want to install Windows? screen, select each of the partitions on the drive, and select Delete. The drive will show a single area of unallocated space.
Select the unallocated space and click Next. Windows detects that the PC was booted into UEFI mode, and reformats the drive using the GPT drive format, and begins the installation.
To manually wipe a drive and convert it to GPT:
Turn off the PC, and put in the Windows installation DVD or USB key.
Boot the PC to the DVD or USB key in UEFI mode. For more info, see Boot to UEFI Mode or Legacy BIOS mode.
From inside Windows Setup, press Shift+F10 to open a command prompt window.
Open the diskpart tool:
Identify the drive to reformat:
Select the drive, and reformat it:
Close the command prompt window.
Continue the Windows Setup installation.
When choosing an installation type, select Custom. The drive will appear as a single area of unallocated space.
Select the unallocated space and click Next. Windows begins the installation.
Make sure Windows Setup boots to the correct firmware mode
To automate this process, you’ll need to run Windows Setup through Windows PE, and use a script to detect which mode you’re in before installing Windows. For more info, see WinPE: Boot in UEFI or legacy BIOS mode.
What is GPT Partition or GUID in Windows 10
What is GUID Partition Table or GPT? In this post, we will see what a GPT partition is and how they compare to MBR disks and also how to format, remove, delete it or convert GPT disk to MBR disk. GUID Partition Table or GPT uses GUID and is a standard for the layout of the partition table on a physical hard disk.
What is GPT Partition
GPT Partition. Image source: Wikipedia
A GPT Partition is a standard for the layout of the partition table on a physical hard disk, using Globally Unique Identifiers. MBR is the abbreviation of Master Boot Record, and MBR disks are the ones that contain different sectors containing boot data. The first sector, that is, towards the beginning of the disk contains information about the disk and its partitions for the OS to use. However, MBR disks have its limitations, and many newer models of a computer are moving towards GPT disks.
Limitations of MBR Disk
An MBR formatted disk can have only four primary partitions and can manage data only up to 2TB. With data storage needs increasing, the GPT (GUID Partition Table) disks are now being sold with newer computers, that can address more than 2TB of storage. MBR disks reserve the first sector of the disk for storing information about the disk partitions and location of the operating system files.
In other words, the firmware and operating systems rely on this first sector for proper operation of the disk. If the MBR goes corrupt, you may lose general access to the data on the disk.
In the case of GPT disks, the disk information is replicated more than once, and hence such disks work, even if the first sector gets corrupted. A GPT disk can have up to 128 primary partitions.
Legacy operating systems may not support GPT disks, but almost all current operating systems, from Windows XP 64-bit onwards to Windows 8.1, support usage of GPT disks.
MBR Disk vs. GPT Disks
The main points of comparison between an MBR Disk and GPT Disk are as follows:
- An MBR disk can contain only up to 4 primary partitions while the GPT disks can have up to 128 primary partitions
- If you need more than four partitions, you have to create an extended partition on the MBR disks, and then you create logical partitions whereas, in the GPT disks, there is no such compulsion
- The first sector and only the first sector of MBR disks contain information about the hard disk, while in GPT disks, the information about the hard disk and its partitions are replicated more than once, so it works even if the first sector goes corrupt
- An MBR disk will not be able to manage disks of more than 2TB capacity while there is no such restriction with the GPT disks
- All operating systems support MBR disks while for GPT, only Windows XP 64 bit and later Windows versions are compatible
- For boot support, only Windows 8 supports 32-bit booting, else all preceding versions like Windows 7, Windows Vista, Windows XP 32-bit versions, cannot boot from GPT disks.
How To Convert GPT Disk To MBR Disk
To convert a GPT disk to MBR, first of all, you will have to remove all the partitions. Before you do this, you will have to back up all the data from the disk to another disk or storage media. You can accomplish a backup using third-party tools or the Windows Backup Tool.
Go to Control Panel and from Administrative Tools, select Computer Management and from the window that appears, select Disk Management. In the resulting window, that shows all disks and disk partitions in the right panel, right-click and select delete for each of the partitions of the disk that you wish to convert to MBR.
Once all partitions are deleted, you will be left with one whole disk (shown as an undivided chunk in the Disk Management window). Right-click on this disk and select “Convert to MBR disk”. It will take a little while before Windows converts the disk into MBR and then formats it for making it usable.
You can now create partitions using the usual Shrink Disk command or a free third-party partition manager software such as EaseUS Partition Tool or Aomei Partition Assistant. For a detailed read, check out our post on how to convert MBR to GPT Disk without data loss.
You may need to convert to MBR if you have to use a 32-bit Windows operating system on the computer. The best method would be to use two disks, one MBR, for booting purpose (the system disk) and the other GPT for storage purpose. But if you have only one disk, convert it to MBR, else it may not boot after you install, say, Windows 7 32 bit operating system to the disk. So please be careful.
This was just some basic information about GPT Disks. If you need more, you can refer the following resources:
- Windows and GPT FAQ at MSDN
- How to Change a GUID Partition Table Disk into a Master Boot Record Disk at TechNet
- Windows Setup and installing using the MBR or GPT partition style at TechNet.
Date: October 9, 2019 Tags: Hard Disk, Partition
Не получается установить Windows на диск GPT или MBR. Исправляем
Поскольку ПК приобретается раз в несколько лет, а его комплектующие периодически заменяются, программные и аппаратные компоненты порой плохо соответствуют друг другу. Сам ПК может быть достаточно старым, но вы укомплектовали его современным SSD. Уже не первый год доступна Windows 10, а вы до сих пор отдаете предпочтение привычной «семерке».
Помимо таких заметных каждому вещей, как производительность процессора и интерфейс ПО, есть значимые характеристики, которые начинают представлять интерес только в тех случаях, когда становятся причиной сбоев.
К ним относится и формат таблиц разделов HDD или SSD. Вы могли и не слышать о существовании характеристики накопителя, которая неожиданно огорчила, препятствуя установке Windows 7, 10 или 8.
ПК «говорит», что установка Windows невозможна. Причина: таблица разделов диска — GPT или MBR. Увы, технологии прошлого не всегда «дружат» с современными. К счастью, это легко исправимо.
Не получается поставить ОС на GPT-диск. Решения, которые помогут
Существуют две возможности:
- Установка ОС на диск GPT.
- Преобразование в MBR.
Настоящее (UEFI и GPT) и прошлое (BIOS и MBR)
Раньше материнская плата ПК оснащалась ПО BIOS. Оно осуществляло диагностику и анализ железа, а затем загружало ОС, опираясь на загрузочную запись раздела MBR.
В более современных моделях роль BIOS выполняет UEFI. Загружается быстрее и поддерживает:
- Безопасную загрузку.
- HDD, зашифрованные на аппаратном уровне.
- Драйвера UEFI.
- GPT-диски.
GPT превосходит MBR по важным параметрам:
- Работает с HDD большего объема.
- Большее число разделов на HDD.
Выбор метода
Пытаться все же установить систему на «несовместимый HDD» или преобразовать его в MBR и тем самым сделать так, что ошибка больше появляться не будет. В каждом случае решение зависит от ряда факторов:
- Для старого ПК со старомодным BIOS и 32-битным процессором оптимальным решением будет преобразование GPT в MBR.
- Обладателям ПК с 64-битным процессором и UEFI предпочтительно установить систему на GPT-диск.
Помните:
- Предельный объем MBR-диска — 2 терабайта.
- Возможность создания на MBR-диске более четырех разделов затруднено.
BIOS или UEFI
Когда вы заходите в BIOS и видите старомодный синий экран — перед вами традиционный BIOS. Если интерфейс с современной графикой и поддержкой мыши — это UEFI.
Чаще всего не получается установить Windows 7
Сложности с установкой системы на GPT-диск с большей вероятностью возникают у пользователей, которые предпочитают Windows 7.
Для установки Windows на диск со стилем разделов GPT необходимо соблюсти два условия:
- 64-битная ОС.
- Загрузка в режиме EFI.
Исхожу из того, что вы устанавливаете 64-битную версию Windows. Это означает, что сообщение об ошибке появляется по причине несоответствия второму требованию.
Не исключено, что будет достаточно поменять настройки BIOS. Зайдите в него, нажав предусмотренную для этого клавишу. Вы увидите, какую клавишу нажимать в процессе загрузки компьютера. В ноутбуках чаще всего применяется F2, в настольных моделях — Delete.
Поменяйте загрузку CSM (Compatibility Support Mode) на UEFI.
Ищите в разделах «BIOS Setup», «BIOS Features» или подобных по смыслу. В SATA определите режим AHCI, а не IDE.
Для седьмой (и еще более древних) версий Windows нужно также выключить Secure Boot.
BIOS вашей модели компьютера может выглядеть иначе. Названия пунктов меню также могут быть другими. Но смысл всегда сохраняется.
После изменения и сохранения вами новых параметров BIOS у вас появится возможность установки системы на GPT-диск. Если вы устанавливаете ОС с DVD, то сообщение об ошибке при повторной попытке установки, скорее всего, не появится.
В случае установки с USB-накопителя сообщение может отобразиться опять. В этой ситуации необходимо пересоздать установочную флешку таким образом, чтобы она поддерживала загрузку UEFI.
Если накопителем поддерживаются два метода загрузки, удалите файл «bootmgr» в корневой директории флешки. Тем самым вы предотвратите возможность загрузки в режиме BIOS. Если нужна загрузка в режиме BIOS, удалите каталог «efi». Не делайте этого в тех случаях, когда есть хоть малейшие сомнения. Можно повредить дистрибутив.
Преобразование GPT в MBR
Если вы располагаете ПК с классическим BIOS и собираетесь поставить Windows 7, этот вариант будет лучшим (и, возможно, единственным). В процессе преобразования вся информация с накопителя будет удалена.
Во время работы мастера установки ОС нажмите F10 и Shift. В некоторых моделях ноутбуков — F10, Fn и Shift. В открывшейся командной строке последовательно введите такие команды:
— diskpart
— list disk (запишите номер подлежащего преобразованию диска)
— select disk N (вместо N — записанный номер)
— clean (команда очистит диск)
— convert mbr
— create partition primary
— active
— format fs=ntfs quick (быстрое форматирование в файловой системе NTFS)
— assign
— exit
Невозможно поставить ОС на диск с MBR-разделами
Вероятна обратная ситуация. Появляется ошибка:
«Установка Windows на данный диск невозможна. На выбранном диске находится таблица MBR-разделов. В системах EFI Windows можно установить только на GPT-диск»
Она означает, что вы пытаетесь установить систему с DVD или USB-накопителя в режиме EFI. Таблица разделов HDD или SSD старая — MBR. В этом случае вы можете:
- Преобразовать SSD или HDD в GPT.
- В UEFI или BIOS поменять установленный способ загрузки с Legacy на EFI.
Первый вариант предпочтительнее, поскольку проще и быстрее. Помните, что информация со всех разделов накопителя будет полностью потеряна.
Преобразование MBR в GPT. Вся информация будет удалена
В установщике системы запустите командную строку:
- F10 и Shift (на настольных ПК).
- F10, Fn и Shift (на некоторых ноутбуках).
В открывшемся окне:
- Последовательно вводите показанные команды.
- Нажимайте Enter после ввода каждой из них.
— diskpart
— list disk (запишите номер подлежащего преобразованию диска)
— select disk N (вместо N — записанный номер)
— clean (команда очистит диск)
— convert gpt
— exit
Когда команды применены:
- Закройте окно командной строки.
- Нажмите «Обновить» в окне выбора разделов.
- Нажмите «Создать» для формирования нескольких разделов на HDD или SSD.
- Выберите свободное пространство и запустите установку ОС.
Более простой способ преобразования с потерей информации на накопителе:
- Удалите все разделы на HDD или SSD.
- Выберите свободное пространство.
- Нажмите «Далее».
Результатом ваших действий станет автоматическое преобразование в GPT. Следующим шагом стартует установка ОС.
Как не потерять данные при преобразовании
Используйте стороннюю утилиту Minitool Partition Wizard Bootable. Скачайте ISO-образ и запишите его на флешку, отформатированную в FAT32. Необходимые условия:
- Используется загрузка EFI.
- В BIOS выключена функция «Secure Boot».
Загрузите ПК с созданного вами накопителя. В окне программного инструмента:
- Выберите HDD или SSD таблицу разделов которого нужно преобразовать.
- В левой части окна программы выберите пункт «Convert MBR Disk to GPT Disk».
- Примените изменения нажатием кнопки «Apply».
- Дайте положительный ответ на предупреждение утилиты.
- Ждите завершения преобразования. Время, которое потребуется, зависит от объема накопителя и занятого пространства на нем.
Если диск системный, может появиться сообщение о том, что его преобразование невозможно. Чтобы все же преобразовать его:
- Выберите раздел загрузчика ОС, который располагается в самом начале.
- Удалите его, нажав «Delete» и подтвердив действие кнопкой «Apply». Вместо него вы можете тут же создать новый раздел загрузчика, но уже в файловой системе FAT32.
- Повторите действия для преобразования таблицы разделов.
Как обойтись без преобразования
Зайдите в BIOS и установите режим загрузки CSM (Compatibility Support Mode) или Legacy, отключив EFI. Отключите «Secure Boot».
Ранее я подробно рассмотрел процессы чистой установки Windows 10 и Windows 7.
Какие другие затруднения возникали у вас при установке Windows?
Авторизуясь, вы даете согласие на обработку персональных данных.