Forum Discussion
Need some help to create EndeavourOS bootable usb on Windows 11
The free xcopy utility.
XCOPY is a command-line utility in Windows that is used to copy files and directories, including subdirectories, from one location to another. Unlike the basic COPY command, XCOPY provides more advanced options such as copying entire directory trees, preserving file attributes, and much more.
In the context of creating a bootable EndeavourOS USB on Windows 11, XCOPY can be used to copy all the files from the EndeavourOS ISO to the USB drive after it has been properly formatted and partitioned. Here's how you can use it:
First, type the following commands one by one to format the USB drive.
diskpart
list disk
select disk X
clean
create partition primary.
select partition 1
format fs=fat32 quick
assign letter=Z
exit
Next, mount the EndeavourOS ISO in Windows 11 by simply right clicking the ISO file and select "Mount." Once mounted, the contents of the ISO will appear as a new drive. Note the drive letter of the mounted ISO (e.g., F:).
Now, use the XCOPY command to copy all files and subdirectories from the mounted ISO to the USB drive. Replace D: with the drive letter of your ISO and Z: with the letter of your USB drive:
xcopy D:\*.* Z:\ /E /H /K /R /Y
After copying the files, you need to make the USB bootable. You can use bootsect to apply the bootloader:
bootsect /nt60 Z: /mbr
This command applies the bootloader to the USB drive and there is the whole process to create EndeavourOS install USB on Windows pc.
Once the process is complete, you can safely eject the USB drive. Insert the USB into the PC where you want to install EndeavourOS, boot from the USB, and proceed with the installation.