mirror of
https://github.com/croit/load-virtio-scsi-on-boot.git
synced 2026-09-24 07:50:08 +01:00
Update README.md
This commit is contained in:
@@ -2,7 +2,7 @@ Purpose of this script
|
||||
* make Windows load the VirtIO SCSI pass-through driver on boot without reboot or external programs
|
||||
|
||||
Prerequisites
|
||||
* VirtIO SCSI driver (vioscsi) must be installed OR path to the INF-File must be given as argument to the script
|
||||
* VirtIO SCSI driver (vioscsi) must be installed **OR** path to the INF-File must be given as argument to the script
|
||||
* Windows 7/8 or Windows Server 2008 or newer versions
|
||||
|
||||
Remarks
|
||||
@@ -16,18 +16,19 @@ Remarks
|
||||
|
||||
How to use
|
||||
either
|
||||
* install the vioscsi.inf before OR
|
||||
* tell the script to do it by -InfPath parameter OR
|
||||
* use virtio-win-guest-tools.exe /S to install it
|
||||
* install the ``vioscsi.inf`` before **OR**
|
||||
* tell the script to do it by ``-InfPath`` parameter **OR**
|
||||
* use ``virtio-win-guest-tools.exe /S`` to install it
|
||||
|
||||
depending on the set security policy it might be required to run the script via
|
||||
PowerShell /ExecutionPolicy Bypass /File <path-to-this-script-file> [-InfPath <path-to-vioscsi.inf>]
|
||||
``PowerShell /ExecutionPolicy Bypass /File <path-to-this-script-file> [-InfPath <path-to-vioscsi.inf>]``
|
||||
|
||||
How does the script work?
|
||||
* install the vioscsi driver, if requested
|
||||
* create a software based device via Win32-API
|
||||
* add some registry settings
|
||||
* use pnputil to install the driver for this device
|
||||
* use pnputil to remove the device
|
||||
* use ``pnputil`` to install the driver for this device
|
||||
* use ``pnputil`` to remove the device
|
||||
|
||||
The driver-to-device assignment marks the driver for being loaded on boot.
|
||||
Now the Windows is ready for migration to a VirtIO based SCSI disk.
|
||||
|
||||
Reference in New Issue
Block a user