Installing Windows on Linux with new HDD

Dmitrii Korolkov

Being a linux user is definitely is cool experience and totally worth it while doing development, it’s just faster and easier in many ways. But, despite the fact that we have Wine installed, sometimes the required software is not available on it or, lagging and throwing the errors. Gaming, and some tools like Adobe XD for UI designing and sketching won’t work on Wine. Let’s assume you got the new SSD or HDD and want to install Windows on it, here are the steps: 

Prepare the installation on pen drive

Prepare the pen drive wit the capacity at least 4 GB, it will ensure that the ISO installation file will fit. Download the installation ISO for Win 10 here:  click me.

Create one partition on pend drive and format as NTFS

The reason of that is:
1) Some of the pen drives may have 3 different partitions, for example 15 GB drive could have 500 KB, 15GB, 2 MB ( mostly because they come with backup tools in case of data loss, etc.) We need to have one to install Windows installation kit, for that we need only one partition. Let’s prepare the required software. Install disks tool (usually comes with Ubuntu) to create one partition for the drive, run this from the terminal:

$sudo apt-get install -y gnome-disk-utility

#Before we start, backup all data!

After the utility was installed, run it and select the disk that you are going to use for installation. Remove all extra partitions, create the new volume (write the same volume as the physical size), unmount usb: $sudo umount /dev/sdb, where dev usb is your device, you can find it in the row called “Device” in the disks software or by running the command $sudo fdisk -l

2) Now, we can easily format the device, I prefer to do it through the terminal: $sudo mkfs -t ntfs /dev/sdb it will take a while, but after that the device is ready for transferring the windows installation files. 

3) The fastest way to transfer installation files to the pen drive is to use the tool WoeUSB. Install it by the following commands:

$sudo add-apt-repository ppa:nilarimogard/webupd8

$sudo apt update

$sudo apt install woeusb

The tool had a bug with FAT32 file system, so I strongly recommend to follow the steps and format as NTFS. Select the path to ISO file and and select the file system. If the process doesn’t stop withing first minutes, then it’s a good sign. At the end of the procedure, you may get the error message, you can simply ignore that. 

Select the boot option 

You can enter BIOS by holding F8 or F10 after reboot. Select your drive, save and save. Congrats, the windows installer should launch the installation process! Select the new HDD and follow the steps. 

proudly runned on WordPress