Prerequisite Link to heading
- Bootable USB with Arch Linux live environment
- Bootable USB with Windows installation ISO
If your computer uses the new Intel Volume Management Device (VMD) technology:
- USB with the Intel Rapid Storage Technology (IRST) driver package inside
- Or, Bootable USB with Windows installation ISO provided by the computer manufacturer instead
Enlarge the EFI System Partition (ESP) in the Arch Linux Live Environment Link to heading
Boot the computer with Arch Linux live environment
Use a partitioning tool like
parted
to make room for the ESPMount the ESP:
# mount /dev/sdx1 /mnt
# replace sdx1 with ESPBackup the contents of the ESP:
# mkdir ~/esp
# rsync -av /mnt/ ~/esp/
Unmount the ESP:
# umount /mnt
Delete and recreate the ESP:
gdisk /dev/sdx # replace sdx with disk containing ESP p (list partitions) (ensure the ESP is the first partition) d (delete partition) 1 (select first partition) n (create partition) Enter (use default partition number, should be 1) Enter (use default first sector, should be 2048) Enter (use default last sector, should be all available space) EF00 (hex code for EFI system partition) w (write changes to disk and exit)
Format the ESP:
# mkfs.fat -F32 /dev/sdx1
Restore the contents of the ESP:
# mount /dev/sdx1 /mnt
# rsync -av ~/esp/ /mnt
Unmount the ESP:
# umount /mnt
Mount the root volume of the installed Arch Linux
# mount /dev/sdx2 /mnt
# replace sdx2 with root volumeChange root into the Arch Linux
# arch-chroot /mnt
Get the new UUID of the ESP
# blkid | grep EFI
Update EFI entry in
/etc/fstab
of Arch LinuxUUID=XXXX-XXXX /boot vfat umask=0077 0 2 # Replace with UUID from blkid
Update GRUB
# grub-mkconfig -o /boot/grub/grub.cfg
Rebuild Windows boot configuration data (BCD) in Windows Installation Environment Link to heading
If your computer uses the new Intel Volume Management Device (VMD) technology:
a. You may need to prepare another USB with the Intel Rapid Storage Technology (IRST) driver package inside.
b. Or, use the Windows installation ISO provided by the computer manufacturer, e.g., Dell provides the Windows installation ISO with basic drivers.
Dell media does include basic drivers for RAID controllers, so if a RAID is deleted and partitions are cleared, the installation media will recreate partitions and install Windows 10 without the need for additional driver installations.
--- link
Boot the computer with the Windows installation environment
Open the command prompt
Use
diskpart
to check whether the Windows installed volume is visible> diskpart diskpart> list disk diskpart> select disk disk_num # disk_num is the disk where you installed windows diskpart> list volume diskpart> exit
Backup the BCD of the Windows Installation Environment
> ren BCD BCD.bak
Rebuild BCD
> bootrec /rebuildbcd
Boot the computer with installed Arch Linux
Update GRUB for the new Windows BCD
$ sudo grub-mkconfig -o /boot/grub/grub.cfg
Reference & More Information Link to heading
- https://superuser.com/questions/1230741/how-to-resize-the-efi-system-partition
- https://www.lifewire.com/how-to-rebuild-the-bcd-in-windows-2624508
- https://www.dell.com/support/kbdoc/en-us/000123667/how-to-download-and-use-the-dell-os-recovery-image-in-microsoft-windows
- https://www.dell.com/support/kbdoc/en-us/000146119/windows-10-command-line-driver-install-for-dell-media-missing-nvme-driver
- https://www.dell.com/support/kbdoc/en-us/000188116/intel-11th-generation-processors-no-drives-can-be-found-during-windows-10-installation