1.8 KiB
1.8 KiB
How to create an install media
From Windows
- Install rufus
- Select the desired device ensure it is the correct device, all data will be DELETED
- On the right side click
SELECTand select the desired .iso file - Re-verify correct device and click
STARTNote, for linux iso files select dd mode when prompted.
From Linux
For linux .iso
- use
lsblkor other methods to determine correct device, such assda - Ensure it is the correct device, all data will be DELETED
- Ensure the device is not mounted
- run
sudo pv -Y -o /dev/sda /path/to/isowheresdais the desired storage device
For Windows install .iso
- use
lsblkor other methods to determine correct device, such assda - Ensure it is the correct device, all data will be DELETED
- Ensure the device is not mounted
- run
sudo wipefs -a /dev/sdawhere sda is the desired device all data will be deleted - Use a partition tool such as
cfdiskto create 2 partitions, the first one will be 2GB big, the other will use the rest of the space. - Assuming the disk is sda (replace to match yours) run
sudo mkfs.fat -F 32 /dev/sda1sudo mkfs.exfat /dev/sda2exfat-utils may need to be installed
- Mount the iso file to access it
sudo mkdir /media/windows-isosudo mount /path/to/iso /media/windows-iso
- Mount both partitions
sudo mkdir /media/win-boot && sudo mkdir /media/win-datasudo mount /dev/sda1 /media/win-boot && sudo mount /dev/sda2 /media/win-data
- Copy everything from
/media/windows-isoexcept forsourcesfolder to/media/win-boot - Create a
sourcesin/media/win-bootand copy over/media/windows-iso/sources/boot.wiminto it. - Copy everything from
/media/windows-iso/into/media/win-data - Unmount everything, USB should now function as a windows install media