This article has been published on my Blog Ne0Ng’s Blog

Create Windows on the fedora 10 USB installation disc/start plate | Ne0Ng ‘s Blog

Due to the COVID-19 pandemic, all courses of the school have been transferred to online teaching this semester. At the beginning, I always use the mobile phone and the web to take classes, but some platforms do not have the web, and the mobile phone screen is too small, some things look troublesome. Frustrated with these issues, I used KVM to install Windows on Fedora. But running Windows 10 on a virtual machine always feels clunky. Then I realized I had an unused SSD and tried to install dual systems, but FEdora had some problems creating a Windows 10 installation disk.

Problems encountered:

  1. The size of install.wim in the official image has exceeded 4GB and cannot be placed in the USB flash drive of FAT32 file system.
  2. Microsoft’s official method for cutting Install.wim only provides the method for Windows

In addition to slicing the install.wim file, the Microsoft documentation provides several other methods. (See resources at the end of this article.)

After a bit of googling, THERE is a Wimlib-utils on Linux that provides a way to slice.wim files.

  1. Install wimlib – utils
sudo dnf install wimlib-utils -y
Copy the code
  1. To install the wim cutting
Wim cut two files install. SWM and install2.swm up to 4000M in size
wimlib-imagex split install.wim install.swm 4000
# delete the original install.wim
rm install.wim 

This way you can copy the image file directly to FAT32 usb drive
Copy the code

After installation

Fedora 30 hides GRUB by default, but I didn’t realize it was hidden until I installed Windows 10, and it doesn’t automatically unhide grub after installation.

sudo grub2-editenv - unset menu_auto_hide
sudo grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg
Copy the code

Reboot and you can see the GRUB menu.

The resources

  • WinPE: Store or split images to deploy Windows using a single USB drive | Microsoft Docs

  • EFI system partition – ArchWiki

  • Hidden grub menu in Fedora 30 – Discussions in English / on using Fedora – Ask Fedora

This article uses a CC BY-NC-SA 4.0 license. This paper links: blog. Ne0ng. Page/archives/cr…