Windows Installation: Difference between revisions
No edit summary |
(→Mac OS) |
||
| Line 5: | Line 5: | ||
The flash drive should have a capacity of at least 10 Gb. <ref>[https://www.freecodecamp.org/news/how-make-a-windows-10-usb-using-your-mac-build-a-bootable-iso-from-your-macs-terminal/ How to Make a Windows 10 USB Using Your Mac - Build a Bootable ISO From Your Mac's Terminal] -- freeCodeCamp</ref> | The flash drive should have a capacity of at least 10 Gb. <ref>[https://www.freecodecamp.org/news/how-make-a-windows-10-usb-using-your-mac-build-a-bootable-iso-from-your-macs-terminal/ How to Make a Windows 10 USB Using Your Mac - Build a Bootable ISO From Your Mac's Terminal] -- freeCodeCamp</ref> | ||
''' Identify the drive where the USB flash drive is mounted''' | |||
Insert the flash drive on a Mac. | |||
Open a terminal window. | Open a terminal window. | ||
| Line 13: | Line 15: | ||
</pre> | </pre> | ||
This should display all the disks currently mounted on the system along with the USB flash drive. Take note of the `IDENTIFIER` value, e.g. `disk2`. | This should display all the disks currently mounted on the system along with the USB flash drive. Take note of the `IDENTIFIER` value, e.g. `/dev/disk2`. | ||
'''Format the USB flash drive''' | |||
<pre> | |||
$ diskutil eraseDisk MS-DOS "WIN10INST" GPT /dev/disk2 | |||
</pre> | |||
* `MS-DOS` is the filesystem | |||
* `"WIN10INST"` will be the name of the drive. This can be any arbitrary name. | |||
* `GPT` is the partition type. "GPT" is necessary for PCS that boot in UEFI mode. | |||
* `/dev/disk2` is the identifier of the USB drive. This identifier could be a different value depending on the Mac. | |||
== Troubleshooting == | == Troubleshooting == | ||
Revision as of 16:33, 16 January 2021
Creating an installation disk
Mac OS
The flash drive should have a capacity of at least 10 Gb. [1]
Identify the drive where the USB flash drive is mounted
Insert the flash drive on a Mac.
Open a terminal window.
$ diskutil list
This should display all the disks currently mounted on the system along with the USB flash drive. Take note of the IDENTIFIER value, e.g. /dev/disk2.
Format the USB flash drive
$ diskutil eraseDisk MS-DOS "WIN10INST" GPT /dev/disk2
MS-DOSis the filesystem"WIN10INST"will be the name of the drive. This can be any arbitrary name.GPTis the partition type. "GPT" is necessary for PCS that boot in UEFI mode./dev/disk2is the identifier of the USB drive. This identifier could be a different value depending on the Mac.
Troubleshooting
Windows installer complains that it can't install from or on a particular drive
Possible cause
The Windows installer can't boot from EFI/UEFI drives.
Solution
Look at the boot order in the BIOS. The primary boot drive should not start with UEFI or EFI. If the USB drive starts with UEFI, the installation files must be copied to a drive (SATA) that does not start with UEFI and the installer must be booted off that drive.
Can't create a new partition or locate an existing one
Error
Error: "We couldn't create a new partition or locate an existing one." on the Where do you want to install Windows? prompt.
Cause
The installer is having difficulty installing from the flash drive.
Solution
Create a partition on the hard drive and copy the Windows install files there. [2]
- Plug the flash drive with the installer on it into an USB port.
- Boot from the flash drive.
- At the Where do you want to install Windows? screen displaying the error message press Shift + F10 to get a command prompt.
> diskpart > list disk > select disk 0 > clean > create partition primary size=5000 > format fs=ntfs quick > assign > active > list volume > exit > cd c: > xcopy e: c:/e/h/k > exit
select disk 0selects the hard drive onto which the installation files will be copied.create partitionmakes a partition on the hard drive where the installation files can be copied.assignassigns a drive letter to the new partition.xcopycopies the installation file from the USB drive to the hard drive.- The last
exitcloses the command prompt window.
- After closing the command prompt, remove the USB flash drive and click the X button at the top right of the Windows installation window to close the current installation and reboot the computer.
- Without a mouse, click Esc, the confirm to quit the installation. If this leads back to the first window of the Windows installation, click Esc again, and again confirm that the installation will be canceled.
- The computer should now boot from the hard drive and the installation will use the files from the new partition.
Notes
References
- ↑ How to Make a Windows 10 USB Using Your Mac - Build a Bootable ISO From Your Mac's Terminal -- freeCodeCamp
- ↑ We couldn't create a new partition or locate an existing one. -- answers.microsoft.com