Site feedback

SaikatDas-0468 avatar image
0 Votes"
SaikatDas-0468 suggested SaikatDas-0468 published

Unable to install SQL 2019 Express / Standard Edition on Windows 11 in MacBook Pro 16” / 1TB SSD / Apple M1 Max Chip / 64GB RAM / 2021 Model with parallel environment

We are unable to install SQL Server 2019 (Express or Standard) in the following scenario:

MacBook Pro 16” / 1TB SSD / Apple M1 Max Chip / 64GB RAM / 2021 Model

Total Number of Cores = 10 (8 performance and 2 efficiency)

System Firmware Version = 7429.61.2

OS Loader Version = 7429.61.2

macOS Monterey 12.1 (updated as of 10 January 2022)

Parallels Ver 17

Windows 11 Pro (downloaded the ARM based not x86, which is the right version for my Macbook Pro M1)


In the above environment, my observations so far after reading many threads:
1. If the Primary Hard Drive does not exceed 980GB, SQL Server 2019 installs properly (this option is not available to me)
2. If you have a Second “Physical” Hard Drive, SQL Server 2019 installs properly on the second drive (this option is not available to me)
3. If you partition the Primary 1TB SSD, the problem persists because the partition is still recognised internally as “One Single Hard Drive”
4. SQL Server 2019 can be installed successfully on Windows 10 but I am unable to install Windows 10 in the above environment due to the M1 Chip (ARM based, not x86)
5. Even if I sign up for “Windows Insider Program”, Windows 10 ISO File is not available for the above environment
6. The Gurus say: Windows 11 verifies (this is not done by Windows 10) and returns the “Sector Size” and if it is higher than 4K (4096 Bytes), SQL Server installation fails
7. It seems that this issue is not isolated to the Mac 2021 as even someone using a Samsung Laptop with 1TB SSD is facing the same issue
8. Microsoft Website clearly says that SQL Server 2019 is compatible with Windows 11 (RTM) – so we should safely rule out the issues of Windows 11 pre-release version incompatibility
9. The net result is that I have no option but to somehow get SQL Server 2019 to be successfully installed on Windows 11 in the above environment



I followed the following steps as recommended by the Gurus (to Fix “Sector Size)
1. Change Registry (run as Administrator) as follows:
Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\stornvme\Parameters\Device
• New
• Multi-String value
• ForcedPhysicalSectorSizeInBytes
• 4095

Run the following on CMD Prompt (run as Administrator)
"HKLM\SYSTEM\CurrentControlSet\Services\stornvme\Parameters\Device" /v "ForcedPhysicalSectorSizeInBytes" /t REG_MULTI_SZ /d "* 4095" /f


Verify as follows on CMD Prompt (run as Administrator):
REG QUERY "HKLM\SYSTEM\CurrentControlSet\Services\stornvme\Parameters\Device" /v "ForcedPhysicalSectorSizeInBytes"


Run the following on PowerShell (run as Administrator)
New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\stornvme\Parameters\Device" -Name "ForcedPhysicalSectorSizeInBytes" -PropertyType MultiString -Force -Value "* 4095"


Verify the following on PowerShell (run as Administrator)
Get-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\stornvme\Parameters\Device" -Name "ForcedPhysicalSectorSizeInBytes"

Restart Windows 11 and Install SQL Server 2019

My Results after doing the above

SQL Server Standard 2019 Installation Results:

163525-sql-2019-failed.png

Installation Failed for
1. Data Quality Services
2. Full-Text and Semantic Extractions for Search
3. Python
4. R
5. Machine Learning Services and Language Extensions
6. Database Engine Services
7. SQL Server Replication

—————————————————————

HELP REQUIRED!
I really need your help in getting a resolution for the above. It is really strange that both SQL Server 2019 and Windows 11 are Microsoft products and they seem to have such a huge glitch.

Thank you in advance, everyone!
—————————————————————

qna-feedback
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

No Solutions

Your Opinion Counts

Share your feedback, or help out by voting for other people's feedback.