Virtual Windows XP
From Wiki.cyring.fr
(Difference between revisions)
Line 112: | Line 112: | ||
256 KB | 256 KB | ||
+ | cd .. | ||
+ | cd .. | ||
+ | nk PnpInterface | ||
+ | cd PnpInterface | ||
+ | nv 4 5 | ||
+ | ed 5 | ||
+ | 00000001 | ||
+ | |||
+ | cd .. | ||
+ | cd .. | ||
+ | cd Enum | ||
+ | |||
+ | nv 1 0 | ||
+ | ed 0 | ||
+ | PCI\\VEN_1AF4&DEV_1001&SUBSYS_00021AF4&REV_00\\3&13c0b0c5&0&20 | ||
+ | nv 4 Count | ||
+ | ed Count | ||
+ | 00000001 | ||
+ | nv 4 NextInstance | ||
+ | ed NextInstance | ||
+ | 00000001 | ||
q | q |
Revision as of 10:37, 3 November 2012
qemu-img convert -f vpc -O raw "Virtual Windows XP.vhd" v2WinXP.img
sudo mount -o loop,offset=32256 v2WinXP.img /mnt
cp ~/tmp/WXP/X86/VIOSER.SYS /mnt/WINDOWS/system32/drivers/
mkdir ~/tmp/config
cp /mnt/WINDOWS/system32/config/* ~/tmp/config/
chntpw -e ~/tmp/config/system
nk CurrentControlSet cd CurrentControlSet nk Control cd Control nk pci#ven_1af4&dev_1001&subsys_00000000 nk pci#ven_1af4&dev_1001&subsys_00020000 nk pci#ven_1af4&dev_1001&subsys_00021af4 cd pci#ven_1af4&dev_1001&subsys_00000000 nv 1 ClassGUID ed ClassGUID {4D36E97B-E325-11CE-BFC1-08002BE10318} nv 1 Service ed Service viostor cd .. cd pci#ven_1af4&dev_1001&subsys_00020000 nv 1 ClassGUID ed ClassGUID {4D36E97B-E325-11CE-BFC1-08002BE10318} nv 1 Service ed Service viostor cd .. cd pci#ven_1af4&dev_1001&subsys_00021af4 nv 1 ClassGUID ed ClassGUID {4D36E97B-E325-11CE-BFC1-08002BE10318} nv 1 Service ed Service viostor cd .. cd .. cd .. nk Services cd Services nk viostor cd viostor nv 4 Type ed Type 00000001 nv 4 Start ed Start 00000000 nv 1 Group ed Group SCSI miniport nv 4 ErrorControl ed ErrorControl 00000001 nv 1 ImagePath ed ImagePath system32\drivers\viostor.sys nv 4 Tag ed Tag 00000021 nk Parameters nk Enum cd Parameters nv 4 BusType ed BusType 00000001 nk MaxTransferSize cd MaxTransferSize nv 1 ParamDesc ed ParamDesc Maximum Transfer Size nv 1 type ed type enum nv 1 default ed default 0 nk enum cd enum nv 1 0 ed 0 64 KB nv 1 1 ed 1 128 KB nv 1 2 ed 2 256 KB cd .. cd .. nk PnpInterface cd PnpInterface nv 4 5 ed 5 00000001 cd .. cd .. cd Enum nv 1 0 ed 0 PCI\\VEN_1AF4&DEV_1001&SUBSYS_00021AF4&REV_00\\3&13c0b0c5&0&20 nv 4 Count ed Count 00000001 nv 4 NextInstance ed NextInstance 00000001 q y
cp ~/tmp/config/system /mnt/WINDOWS/system32/config/
sudo umount /mnt