-
Notifications
You must be signed in to change notification settings - Fork 386
Driver installation
Remember to be cautious when installing or updating drivers, as improper installation or incompatible drivers can cause system instability. Make sure you have the correct driver for your hardware, and back up your data before making any significant changes to your system.
This is the best option for regular users that just want to install the drivers on their VM
-
Download Virtio-Win ISO:
- Visit the official Virtio-Win repository (https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/latest-virtio/virtio-win.iso) and download the latest Virtio-Win ISO file to your host machine.
-
Attach the Virtio-Win ISO to the VM:
- Ensure your VM is powered on and running.
- In the VM management software (e.g., VirtualBox, VMware, QEMU, etc.), locate the option to attach the Virtio-Win ISO as a virtual CD/DVD drive to the VM. The specific steps may vary depending on the virtualization software you're using.
-
Inside the VM:
- Access the VM's desktop or file system.
-
Open File Explorer:
- Open File Explorer (Windows Explorer) within the VM.
-
Navigate to the Virtio-Win ISO:
- In File Explorer, locate and click on the virtual CD/DVD drive where the Virtio-Win ISO is mounted. It should be listed under "This PC" or "Computer."
-
Launch the Installation Wizard:
- Inside the Virtio-Win ISO, locate the
virtio-win-guest-tools-xxx.exe
(where "xxx" represents the version number) file and run it by double-clicking it. This file contains the Virtio-Win drivers and the Installation Wizard.
- Inside the Virtio-Win ISO, locate the
-
Select Components:
- The Virtio-Win Installation Wizard will launch. It will prompt you to select the components you want to install, such as network drivers, storage drivers, and balloon drivers. You can choose to install all available drivers by default or select specific components based on your requirements. Click "Install" to proceed.
-
Driver Installation:
- The Installation Wizard will begin to install the selected drivers. You will see progress bars for each driver component being installed.
-
Reboot the VM (if prompted):
- After the drivers are installed, the Installation Wizard may prompt you to reboot the VM for the changes to take effect. If prompted, save your work and restart the VM.
-
Verify Driver Installation:
- After the VM restarts, check Device Manager to ensure that the Virtio-Win drivers are correctly installed. There should be no unknown devices or driver-related errors.
-
Prepare Driver Files:
- Before you begin the Windows installation, you'll need to have the necessary driver files for your hardware component ready. This usually includes the hard disk or storage controller drivers. Download these drivers from the manufacturer's website.
-
Insert Windows Installation Media:
- Insert the Windows installation media (DVD or USB) into your computer and boot from it. You may need to access the BIOS/UEFI settings to set the boot order to prioritize the installation media.
-
Start the Windows Installation:
- Power on or restart your computer to initiate the Windows installation from the installation media. If it doesn't start automatically, you may need to press a key (e.g., F2, F12, Delete) to access the boot menu and select the installation media.
-
Language and Region Settings:
- In the initial Windows setup screen, select your preferred language, time format, keyboard layout, and click "Next."
-
Click "Install Now":
- On the next screen, click "Install Now" to start the Windows installation.
-
Accept License Terms:
- Read and accept the Microsoft Software License Terms.
-
Choose Installation Type:
- Select "Custom: Install Windows only (advanced)" as you will be specifying driver installation manually.
-
Partitioning and Drive Selection:
- In the "Where do you want to install Windows?" window, you may not see your hard disk or storage device listed if it's not recognized. Click "Load Driver."
-
Load Drivers:
- The "Load Driver" window will open. Insert the USB flash drive or attach the Virtio-Win ISO containing the driver files you prepared earlier.
-
Browse for Drivers:
- Click "Browse" and navigate to the USB flash drive to find the driver files you downloaded. Select the appropriate driver and click "Next."
-
Install the Driver:
- Windows will load the driver. Once the driver is loaded successfully, you should see your hard disk or storage device listed in the installation window.
-
Select the Drive:
- Choose your hard disk or storage device and click "Next."
-
Complete Windows Setup:
- Continue with the Windows setup, which includes creating or signing in with a Microsoft account, setting up your preferences, and configuring your system settings.
By following these steps, you can successfully install the required drivers, such as hard disk drivers, during the Windows installation process. This ensures that your storage devices are recognized, allowing you to proceed with the installation and use your computer as intended.
-
Plug in the Device: First, make sure the device for which you want to install the driver is connected to your computer. It should be recognized as an unknown device or have an error indicator in Device Manager.
-
Open Device Manager:
- Press the Windows key.
- Type "Device Manager" into the search bar.
- Click on "Device Manager" in the search results.
-
Locate the Device: In Device Manager, find and expand the category that corresponds to the device you want to install a driver for. The device may appear under "Other devices" with a yellow triangle icon, indicating a problem with the driver.
-
Install the Driver: Right-click on the device with the missing driver and select "Update driver."
-
Choose How to Search for Drivers:
- Select "Search automatically for updated driver software" if you want Windows to search for the driver online. This option requires an active internet connection.
- Select "Browse my computer for drivers" if you have already downloaded the driver and have it saved on your computer. Then, click "Next."
-
Specify the Driver Location (if needed): If you selected "Browse my computer for drivers," browse to the folder containing the downloaded driver files, or select the appropriate folder where the driver is located. Click "Next" to continue.
-
Confirm Driver Installation: Windows will analyze the driver package and confirm whether it's compatible with your device. If it is, you'll see a message confirming that the driver will be installed. Click "Install" to proceed.
-
Wait for Installation: Windows will install the driver. This may take a moment, and you may see a progress bar.
-
Complete the Installation: Once the driver installation is complete, you'll see a message indicating the successful installation. Click "Close" or "Finish" to complete the process.
-
Verify Installation: After the installation, the device should no longer have an error indicator in Device Manager. It should be listed under the appropriate category without any warnings.
-
Reboot (if necessary): In some cases, Windows may prompt you to restart your computer to finalize the driver installation. If prompted, save your work and restart your computer.
-
Download the Correct INF File:
- Visit the manufacturer's website or a trusted source to download the correct INF file for the driver that matches your hardware device and Windows version. Ensure that you have the latest version of the driver if available.
-
Locate the Downloaded INF File:
- Once the INF file is downloaded, locate it in your computer's file system. It is usually in the Downloads folder unless you specified a different location during the download.
-
Right-Click on the INF File:
- Right-click on the downloaded INF file.
-
Select "Install" from the Context Menu:
- In the context menu that appears when you right-click the INF file, choose "Install." This action will initiate the installation process.
-
Driver Installation Process:
- Windows will begin the installation process for the driver based on the information provided in the INF file. During this process, you may see a series of dialogs or prompts, depending on the driver. These prompts may ask for confirmation to install the driver.
-
Follow On-Screen Prompts:
- Follow any on-screen prompts or instructions provided during the installation. These may include agreeing to the driver's terms and conditions, confirming the installation, or selecting installation options.
-
Complete the Installation:
- Once the installation is complete, you'll receive a message indicating the successful installation of the driver.
-
Reboot (if necessary):
- In some cases, Windows may prompt you to restart your computer to finalize the driver installation. If prompted, save your work and restart your computer.
-
Verify Installation:
- After installation, check Device Manager to ensure the driver is listed under the appropriate category without any warnings or errors. If the device is listed correctly, the driver installation was successful.
-
Open a Command Prompt with administrative privileges:
- Press the Windows key.
- Type "cmd" or "Command Prompt" into the search bar.
- Right-click on "Command Prompt" and select "Run as administrator."
-
Type the following command to list all the installed drivers and their package names:
pnputil /enum-drivers
This will provide a list of installed drivers along with their published names, which you will need to identify the correct driver package.
-
Locate the INF file for the driver you want to install. INF files are typically located in the driver package folder or on the manufacturer's website.
-
Install the driver using the
pnputil
utility. Replacepath\to\driver.inf
with the actual path to the INF file of the driver you want to install:pnputil /add-driver "path\to\driver.inf"
If you want to specify a package name (use the published name from step 2), you can do so with the
/package
option:pnputil /add-driver "path\to\driver.inf" /package PackageName
If the driver package contains multiple INF files, you should specify the INF file that corresponds to the specific hardware component you want to update.
-
Windows may prompt you to confirm the installation of the driver. Confirm and proceed with the installation if prompted.
-
After a successful installation, you should see a message indicating that the driver has been added.
-
You may need to restart your computer for the changes to take effect. Use the following command to check the status of the driver installation:
pnputil /e
This command will show a list of installed driver packages.