wholesaleinternet怎么DD windows?
https://hostloc.com/thread-645849-1-1.html
(出处: 全球主机交流论坛)
没有DHCP,用QEMU-KVM虚拟安装,我试过可以成功,但是很麻烦
https://www.lowendtalk.com/discussion/81896/install-windows-on-any-wholesaleinternet-preconfigured-server-using-qemu-kvm
- First reload the OS and choose Grml. Open the SSH console using the password provided.
- # CAREFULL Wipe your hard disks. Let say we want to install the Windows in /dev/sda
- dd if=/dev/zero of=/dev/sda bs=1M count=1
- partprobe
- If you need temporary folder for the ISO. Need big RAM on this case. Depend on the ISO size.
- mount -t tmpfs -o size=4000m tmpfs /mnt
- Or if we have RAM less than 8GB we just need to creating small partition, put the ISO file there and don't touch it during Windows installations.
- Note: My WSI $10 box have second HDD so just I put my ISO inside it.
- Download the ISO to /mnt folder:
- wget -P /mnt http://example.com/win8-64.iso
- Download and extract the portable qemu-kvm. /tmp folder is enough for this portable qemu-kvm.
- wget -qO- /tmp http://notfor.pro/content/files/vkvm.tar.gz | tar xvz -C /tmp
- Excute the qemu-kvm:
- /tmp/qemu-system-x86_64 -net nic -net user,hostfwd=tcp::3389-:3389 -m 2048M -localtime -enable-kvm -cpu host,+nx -M pc -smp 2 -vga std -usbdevice tablet -k en-us -cdrom /mnt/win8-64.iso -hda /dev/sda -boot once=d -vnc :1
- Open the VNC viewer and visit your IP:1 to starting the installations.
- Network and Driver
- After finished, enable the RDP and turn-off the firewall temporary. You can add the network driver using:
- pnputil.exe -a c\yourdriver.inf
- Note: In my case Windows already have the driver but I still add the driver to the DriverStore .
- WSI use static IP so we must set the IP provided by WSI manually. Example:
- IP: 63.141.x.x
- Gateway: 63.141.x.x
- Subnet Mask: 255.255.255.252
- And we need to use DNS server provided by WSI also. Pick one below.
- # First DNS server
- 192.187.107.16
- 69.30.209.16
- # Second DNS server
- 208.67.220.220
- 208.67.222.222
- This is what the support staff tell me when I can't connect even I already enable the RDP, install the network driver, and turn-off the firewall temporarily but I am enabling the DHCP.
- Those are the DNS we set, once the service is online the client can change them to whatever they wish to use.
- Double check everything and reboot your server.
- Troubleshot
- Qemu can boot existing Windows installations so you just need to load the Grml, extract the portable qemu-KVM and reconfigure the Windows again.
- /tmp/qemu-system-x86_64 -net nic -net user,hostfwd=tcp::3389-:3389 -m 2048M -localtime -enable-kvm -cpu host,+nx -M pc -smp 2 -vga std -usbdevice tablet -k en-us -cdrom /mnt/win8-64.iso -hda /dev/sda -boot c -vnc :1
- If you can't connect to RDP you can creating netsh script to set the static IP automatically during startup or logon.
复制代码 |