Dear ДАНИЯЛ УМУРЗАКОВ!
Welcome to the Microsoft Community!
If you're trying to install Windows 11 on a disk that is formatted with Btrfs (B-Tree Filesystem), you will encounter issues because Windows does not natively support Btrfs. You need to format the disk to a filesystem that Windows recognizes, such as NTFS or FAT32, before you can install Windows.
Here are the steps you should follow to format your disk and install Windows 11:
Back Up Your Data
Before you proceed, make sure to back up all important data from the Btrfs-formatted disk to another storage device. Formatting will erase all data on the disk.
Create a Windows Installation Media
Download Windows 11 ISO: From a reliable source, download the Windows 11 ISO file.
Create a Bootable USB Drive: Use a tool like Rufus or the Media Creation Tool to create a bootable USB drive from the ISO file.
Change the Disk Format
There are a few ways to format the disk:
Option 1: From Linux
Open a terminal in Linux.
Use the umount command to unmount the disk you want to format:
sudo umount /dev/sdX
Replace sdX with the actual device name of your disk (not the partition).
Use the wipefs command to clear the partition table:
sudo wipefs --all /dev/sdX
Now, you can create a new partition table and partitions using fdisk or parted:
sudo fdisk /dev/sdX
Follow the prompts to create a new partition table (GPT or MBR) and then create a new partition.
Format the new partition with NTFS:
sudo mkfs.ntfs /dev/sdX1
Replace sdX1 with the actual partition name.
Option 2: From Windows PE
Boot from the Windows installation media you created earlier.
At the "Install Windows" screen, click "Repair your computer" or "Troubleshoot".
Go to "Advanced options" > "Command Prompt".
Use the diskpart command to manage your disk:
diskpart
list disk
select disk X
clean
create partition primary
format fs=ntfs quick
assign
exit
Replace X with the number of your disk.
Install Windows
After formatting the disk to NTFS, you should be able to proceed with the Windows installation as normal. Follow the on-screen instructions to install Windows 11.
If you're unable to format the disk from within Linux or Windows PE, you might need to use a third-party tool or a different computer to create a bootable disk formatting tool. Always ensure you have a backup of your data before attempting to format a disk.
In fact, if you don't want to bother, you can directly use an empty hard drive to install the Windows operating system using the Windows installation media.
Generally speaking, we install the Windows operating system first and then partition the system before trying to install the Linux system, because the UEFI format boot boot Windows is also compatible with Linux boot. I have also tried to use Windows and Linux dual systems before, in order to use Raspberry Pi to write a driver, but I used a computer with the original operating system as Windows, and then manually partitioned and installed the Linux system.
Because Windows needs to use the hard disk partition format as NTFS to install the operating system.
- You need to use the tool to create a new NTFS primary partition (as the Windows system disk);
- You need to make a Windows 11 installation disk, it is recommended to use the official Windows boot disk creation tool as mentioned above;
- You need to make a Linux boot disk, because it may be impossible to enter Linux after Windows is installed (that is, the Linux system boot is missing or damaged), then you need to enter the Linux boot disk to repair the Linux boot.
Please note: When partitioning the system and installing a new system, please back up your important data.
I hope above information can help you. If you have any questions, please feel free to let me know. Tell me the results. I'm looking forward to hearing from you.
Thank you for your understanding and support!
In this special season, I wish you all the best—may your holiday be merry and bright! Merry Christmas!
Best regards,
Yang.Z - MSFT | Microsoft Community Support Specialist