If you’ve been trying to create a bootable USB drive using WinUSB, you might have encountered an issue where the installation process seems to halt indefinitely at the “Installing for i386-pc platform” stage. This can be a frustrating issue, but fortunately, there are a few potential solutions to get you back on track. This article will walk you through the steps to fix this error.
To fix the "Installing for i386-pc platform" error when using WinUSB, you can try applying the 512 error fix by modifying the WinUSB script and ensuring the necessary package is installed. Alternatively, you can create the bootable USB drive manually using the
dd command. If these solutions don’t work, you may need to be patient as the installation process can sometimes take longer than expected.
Understanding the Issue
Before we delve into the solutions, it’s important to understand what’s causing the issue. The “Installing for i386-pc platform” message is part of the process where WinUSB is trying to install the GRUB bootloader on your USB drive. This process can sometimes take longer than expected, leading to the perception that the installation has frozen.
Solution 1: Apply the 512 Error Fix
One of the most common solutions to this issue involves applying what’s known as the “512 error fix”. This involves modifying the WinUSB script to include a specific argument in the
- Locate the WinUSB script. This is typically found in the
- Open the script with a text editor. You’ll need to do this with root permissions. You can use the
sudocommand for this purpose. For example, if you’re using the nano text editor, you would use the command
sudo nano /usr/bin/winusb.
- Modify the
grub-installcommand. Look for the line in the script that contains
grub-install. You’ll need to modify this line to include the
--target=i386-pcargument. This tells the
grub-installcommand to specifically target the i386-pc platform, which can help to resolve the issue.
- Save and close the script. Once you’ve made the necessary modification, save your changes and close the text editor.
- Ensure you have the
grub-pc-binpackage installed. This package is necessary for the
grub-installcommand to work correctly. You can install it using the command
sudo apt-get install grub-pc-bin.
- Try using WinUSB again. With the modifications made and the necessary package installed, try running WinUSB again. The installation process should now proceed past the “Installing for i386-pc platform” stage.
Solution 2: Manual Method
If the above solution doesn’t work for you, or if you’re comfortable with a more hands-on approach, you can try creating the bootable USB drive manually. This involves using the
dd command to write the Windows ISO file directly to the USB drive.
dd command is a powerful tool that can copy and convert raw data. It’s commonly used for tasks such as backing up entire hard drives, copying disks, and, in this case, creating bootable USB drives.
Here’s an example of how you might use the
dd command to create your bootable USB drive:
sudo dd if=/path/to/your/windows.iso of=/dev/sdx bs=4M && sync
In this command:
if=/path/to/your/windows.isospecifies the input file, which is your Windows ISO file.
of=/dev/sdxspecifies the output file, which is your USB drive. Be sure to replace
sdxwith the actual device identifier for your USB drive.
bs=4Msets the block size to 4M. This can help to speed up the process.
&& syncensures that all write operations are completed before the command finishes.
Solution 3: Patience is a Virtue
Sometimes, the best solution is simply to wait. As mentioned earlier, the “Installing for i386-pc platform” stage can sometimes take longer than expected. Some users have reported that this stage can take anywhere from 10 to 30 minutes to complete. So, if you’ve tried the above solutions and you’re still encountering the issue, it might be worth letting the installation run for a bit longer to see if it progresses.
The “Installing for i386-pc platform” error when using WinUSB can be a frustrating issue, but it’s one that can usually be resolved with a bit of patience and a few tweaks. Whether you choose to apply the 512 error fix, try the manual method, or simply wait it out, you should be able to get your bootable USB drive up and running in no time.
The WinUSB script is typically located in the
To open the WinUSB script with a text editor, you’ll need to use the command
sudo nano /usr/bin/winusb in the terminal. This command opens the script with the nano text editor with root permissions.
In the WinUSB script, look for the line that contains
grub-install. Add the
--target=i386-pc argument to this line to specifically target the i386-pc platform.
After making the necessary modifications in the WinUSB script, press
Ctrl + X to exit the nano text editor. You will be prompted to save the changes. Press
Y to save the changes and then press
Enter to confirm the filename.
You can install the
grub-pc-bin package by running the command
sudo apt-get install grub-pc-bin in the terminal.
To create a bootable USB drive manually using the
dd command, use the following command format:
sudo dd if=/path/to/your/windows.iso of=/dev/sdx bs=4M && sync. Replace
/path/to/your/windows.iso with the actual path to your Windows ISO file, and replace
/dev/sdx with the device identifier of your USB drive.
The "Installing for i386-pc platform" stage can take longer than expected, with some users reporting it taking anywhere from 10 to 30 minutes to complete. Patience is often required during this stage.