Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with OpenID
Advertise on LowEndTalk.com

In this Discussion

[Updated] Windows on OVH VPS SSD

[Updated] Windows on OVH VPS SSD

ethancedrikethancedrik Member
edited April 28 in Tutorials

Some things have changed, so here is an updated tutorial with a few different Windows templates for you guys to use. Sorry about the delay, as I've been dealing with a lot recently that has delayed this over and over again.

Here is the old thread which mentions things about TOS, activation/licensing, etc that I won't bother mentioning again here.
http://www.bbs.bz/discussion/comment/2190003#Comment_2190003

Step #1. Purchase a VPS or use one you already have. ALL DATA WILL BE ERASED AND FORMATTED AND WILL BE IRRECOVERABLE ONCE YOU PREFORM THIS PROCEDURE. You can purchase a new OVH VPS from here. https://www.ovh.com/us/vps/vps-ssd.xml

Step #2. Reinstall your VPS with CentOS 6 x64. If you are purchasing the VPS for the first time select CentOS 6 as the OS you want to use when checking out.

Step #3. Once the VPS has been activated, installed and set up by OVH and is visible in your manager, go ahead and click on "Rescue mode" and wait for the VPS to reboot into rescue mode. You will need patience, it'll can unfortunately take anywhere from 5 minutes to 1 hour or longer to reboot into rescue mode and send you an email with the SSH login details.

Step #4. Install an SSH client like mRemoteNG or mobaXTerm if you are using windows or if you are on mac/linux open up a terminal and ssh [email protected](vps ip), this is assuming you've used SSH before. OVH has additional documentation on how to SSH into the live, netbooted recovery enviroment your VPS is now in.

Step #5. Once you are in the recovery-pro environment do the following commands in this order.

apt-get update

and press Y on any prompts you get, it is okay if you don't get a prompt or get an error, continue to the next step..

apt-get install tmux

lsblk

and you'll now see either one of two things,

vda 254:0 0 10G 0 disk
└─vda1 254:1 0 10G 0 part / vdb 254:16 0 10G 0 disk
├─vdb1 254:17 0 10G 0 part /mnt/vdb1

or you'll see

sda 8:0 0 4.9G 0 disk
└─sda1 8:1 0 4.9G 0 part /
sdb 8:16 0 10G 0 disk
└─sdb1 8:17 0 10G 0 part /mnt/sdb1

Depending on which one you'll see, vda/b or sda/b, you'll need to select the appropriate template.

Step #6. Prepare for template installation. Run the following commands...

umount /mnt/vdb1

or if yours is sda/b instead of vda/b do

umount /mnt/sdb1

then

rm -rf /mnt/vdb1

or if yours is sda/b instead of vda/b do

rm -rf /mnt/sdb1

then

tmux

Now we are finally ready to restore the Windows dd image. Keep in mind this can and may take well over an hour, so leave this running and go do something else until it finishes.

Here are the current commands for the various Windows images.

If your lsblk displays vda/b use these templates:

Windows Server 2012 R2:

wget -O- 'http://vpsfiles.mchaven.net/Server2012R2vdx.img.gz' | gunzip -c | dd of=/dev/vdb

Windows Server 2016:

wget -O- 'http://vpsfiles.mchaven.net/Server2016vdx.img.gz' | gunzip -c | dd of=/dev/vdb

Windows Server 2003 R2 x64:

wget -O- 'http://vpsfiles.mchaven.net/Server2003R2x64vdx.img.gz' | gunzip -c | dd of=/dev/vdb

If your lsblk displays sda/b use these templates:

Coming soon!

It will take around an hour or two for this to complete, so just relax and go and do something else whilst that happens, don't press or touch anything, you'll know when it's done when you see

[email protected]:~#

and you are able to type stuff again, if you think it's frozen give it at least 2 hours, if it still hasn't completed by then reconnect and type "tmux attach-session" and you'll most likely find it's completed.

Once it's done go back to your OVH manager and press the "Reboot my VPS" button, the VPS will take a bit to reboot, and once it's done click on the KVM button and then "Open in a new window".

You should now see the Windows login screen. Press the "control alt delete" button in the upper right hand corner of the noVNC window and type in TempPass123#* as the password, then you will be prompted to enter a new Administrator password for obvious security reasons, so enter yours and then press enter and if everything went well you should be booted to the desktop, and we are done! Additional IPs, an additional disk, etc will all work, you can set those up by following OVH's own documentation under the Windows section.

Remote desktop connection is NOT enabled by default for security reasons, you can set that up yourself of course, and your VPS will obtain it's dedicated IP via DHCP as that is how OVH has their system set up.

Lastly, please remember to open up run and type "diskmgmt.msc", and extend the primary 10GB partition to fill up your entire disk. If you don't do this you WILL be limited to 10GB no matter what your VPS has. For Server 2003 you need to do this a different way, I will post updated instructions for that specific template when I get a chance. Additionally for Server 2003 ignore the text file on the desktop with the link to the disk files needed for various things like installing services/roles, the new link is http://vpsfiles.mchaven.net/Server2003R2Disk1Files.zip

«1

Comments

  • ethancedrikethancedrik Member
    edited April 28

    -

  • EasedEased Member
    edited April 28

    Nice work. Do these work with OVH Cloud?

    ​All views and opinions expressed in this message are personal opinions and do not represent those of any company. No liability can be held for any damages, however caused, to any readers of this message.

  • Awesome! I get a 404 error when trying to download the image. Looking forward to trying this. Thanks!

  • WSSWSS Member

    Remove the spare quote, and blame Vanilla, because it blows goats. Then pick a real team to root for.

  • SHEN_JMSHEN_JM Member

    win7?

  • @cardinalfan said: Awesome! I get a 404 error when trying to download the image. Looking forward to trying this. Thanks!

    remove the trailing ' in the URL and it'll download correctly

  • For those of you that have the newer VPSs that use the sdb instead of VDB joodle beat me to it for making templates for those http://www.bbs.bz/discussion/112860/howto-install-windows-on-your-ovh-vps#latest

    Thanked by 1BlazeMuis
  • joojajooja Member

    Links are dead

  • @jooja said: Links are dead

    fixed

  • Eased said: Do these work with OVH Cloud?

    I am not sure, haven't tried OVH Cloud yet

  • rowboatrowboat Member
    edited May 9

    @ethancedrik said: For those of you that have the newer VPSs that use the sdb instead of VDB joodle beat me to it for making templates for those http://www.bbs.bz/discussion/112860/howto-install-windows-on-your-ovh-vps#latest

    Hi and thank you for your detailed tutorial here. However, I am having some trouble with this. I installed the template from the thread you linked in your quoted message but windows start up in recovery mode and nothing can be done, the errors say that the partition was unable to be found or something related to the hard drive/windows files.

    fyi I have the 10gb hard drive/2gb ram OVH VPS.

  • zeenigzeenig Member

    If your lsblk displays sda/b use these templates:

    Coming soon!

    When you provide these sda/b templates?

  • wget http://vpsfiles.mchaven.net/Server2012R2vdx.img.gz
    --2017-05-30 15:07:58--  http://vpsfiles.mchaven.net/Server2012R2vdx.img.gz
    Resolving vpsfiles.mchaven.net... 217.182.72.107
    Connecting to vpsfiles.mchaven.net|217.182.72.107|:80... failed: Connection refused.
    
  • clickclouditclickcloudit Member, Provider

    i have to come in and warn everybody, where do those images are coming from? any guarantee they are clean?

    Please, if your system must be secured, pay for your license, or use a provider already with it.

    cool guide OP by the way

    Regards

  • ethancedrikethancedrik Member
    edited May 30

    @dragon1993 said:

    > wget http://vpsfiles.mchaven.net/Server2012R2vdx.img.gz
    > --2017-05-30 15:07:58--  http://vpsfiles.mchaven.net/Server2012R2vdx.img.gz
    > Resolving vpsfiles.mchaven.net... 217.182.72.107
    > Connecting to vpsfiles.mchaven.net|217.182.72.107|:80... failed: Connection refused.
    > 

    Looking into this, VPS hosting the files may have rebooted without httpd or symlinks over sshfs working, I'll post back here once that's taken care of

  • @ethancedrik said:

    @dragon1993 said:

    > > wget http://vpsfiles.mchaven.net/Server2012R2vdx.img.gz
    > > --2017-05-30 15:07:58--  http://vpsfiles.mchaven.net/Server2012R2vdx.img.gz
    > > Resolving vpsfiles.mchaven.net... 217.182.72.107
    > > Connecting to vpsfiles.mchaven.net|217.182.72.107|:80... failed: Connection refused.
    > > 

    Looking into this, VPS hosting the files may have rebooted without httpd or symlinks over sshfs working, I'll post back here once that's taken care of

    I try again but not work.

    [email protected]:~$ wget http://vpsfiles.mchaven.net/Server2012R2vdx.img.gz
    --2017-06-01 20:50:17--  http://vpsfiles.mchaven.net/Server2012R2vdx.img.gz
    Resolving vpsfiles.mchaven.net (vpsfiles.mchaven.net)... 217.182.72.107
    Connecting to vpsfiles.mchaven.net (vpsfiles.mchaven.net)|217.182.72.107|:80... failed: Connection refused.
    
  • B1g4B1g4 Member

    I tried the same. No luck. Will wait till the weekend. Also, are there any other sources for the Windows image files?

  • B1g4B1g4 Member

    @ethancedrik said:

    @dragon1993 said:

    > > wget http://vpsfiles.mchaven.net/Server2012R2vdx.img.gz
    > > --2017-05-30 15:07:58--  http://vpsfiles.mchaven.net/Server2012R2vdx.img.gz
    > > Resolving vpsfiles.mchaven.net... 217.182.72.107
    > > Connecting to vpsfiles.mchaven.net|217.182.72.107|:80... failed: Connection refused.
    > > 

    Looking into this, VPS hosting the files may have rebooted without httpd or symlinks over sshfs working, I'll post back here once that's taken care of

    @ethancedric - any luck getting the sshfs working to fix the windows image links?

  • it's fixed and up again

    Thanked by 1GegeEmbrie
  • I believe whatuptime has the templates that work if yours shows sda or sdb

    Thanked by 1GegeEmbrie
  • B1g4B1g4 Member

    @ethancedrik said: it's fixed and up again

    Thanks!

  • Anybody can mirror to google drive for WindowsServer2012R2 and Windows server 2016?

  • @GegeEmbrie said: Anybody can mirror to google drive for WindowsServer2012R2 and Windows server 2016?

    I'll make a mirror as soon as the download is done. ETA 2-3 day (20KB/s)

  • That's embarassing, Yeah I'll post a google drive link here with them as well as get that slow speed thing sorted

  • B1g4B1g4 Member

    @dragon1993 said:

    @GegeEmbrie said: Anybody can mirror to google drive for WindowsServer2012R2 and Windows server 2016?

    I'll make a mirror as soon as the download is done. ETA 2-3 day (20KB/s)

    My downloads been at 20KB/s and ETA 2 days. Looking forward to the google drive link.

  • ihadpihadp Member

    @ethancedrik said: I believe whatuptime has the templates that work if yours shows sda or sdb

    Correct, we have templates for VirtIO and VirtIO-SCSI - thank you for the mention!

    www.whatuptime.com
    Microsoft Windows Templates for Online.net, Kimsufi, DigitalOcean, OVH, Vultr & Much More!

  • --2017-06-06 17:37:46--  (try:14)  http://vpsfiles.mchaven.net/Server2012R2vdx.img.gz
    Connecting to vpsfiles.mchaven.net (vpsfiles.mchaven.net)|103.217.254.3|:80... failed: Connection timed out.
    Retrying.
    
  • almost done moving them to an OVH VPS with 100 up and down so it'll be fast again, as well as making a google drive link

    Thanked by 1GegeEmbrie
  • GegeEmbrieGegeEmbrie Member
    edited June 8

    @ethancedrik said: almost done moving them to an OVH VPS with 100 up and down so it'll be fast again, as well as making a google drive link

    Okay, thank you.. :)

  • almost done

  • dragon1993dragon1993 Member
    edited June 9

    Any update?

    @ethancedrik said: almost done

  • @ethancedrik said: almost done

    Do you have a windows 10 template ?

  • ethancedrikethancedrik Member
    edited June 9

    Edit: I was trying to do symlinks but apache2 refused to work with that giving me a HTTP 403 error every time so I'm working on a different solution

  • @ethancedrik Please create mega or google drive link, i try download but current link useless

  • Links are working again!

    Now working on a mega/google drive link, sorry about the downtime

    Thanked by 2B1g4 dragon1993
  • @ethancedrik said: Links are working again!

    Now working on a mega/google drive link, sorry about the downtime

    My VPS show sda/b What are special templates?

  • B1g4B1g4 Member

    @ethancedrik said: Links are working again!

    Now working on a mega/google drive link, sorry about the downtime

    Thanks! My Windows 2016 server is working on the smallest VPS on OVH with 10GB disk space. After installation, there's only 796MB free space on the VM.

    I had issues with the mouse not working when using novnc from Chrome/Firefox. But it works with IE Edge.

  • B1g4 said: I had issues with the mouse not working when using novnc from Chrome/Firefox.

    are you on a laptop with a touchscreen perhaps? I had the same issue and had to disable touchscreen support in chrome

  • B1g4 said: After installation, there's only 796MB free space on the VM.

    Yeah I eventually had to order a second disk or upgrade due to the fact that Server 2016 likes to take up a decent amount of space for some reason

    Thanked by 1B1g4
  • B1g4B1g4 Member

    @ethancedrik said:

    B1g4 said: I had issues with the mouse not working when using novnc from Chrome/Firefox.

    are you on a laptop with a touchscreen perhaps? I had the same issue and had to disable touchscreen support in chrome

    Yes. Mine is a touchscreen, which i use a lot. I found the IE Edge solution to be convenient without having to disable my touchscreen.

    Also, wondering if I can install Windows 2016 the same way for the VPS'es from other OVH resellers? Would that work?

  • ihadpihadp Member

    @B1g4 said:

    @ethancedrik said:

    B1g4 said: I had issues with the mouse not working when using novnc from Chrome/Firefox.

    are you on a laptop with a touchscreen perhaps? I had the same issue and had to disable touchscreen support in chrome

    Yes. Mine is a touchscreen, which i use a lot. I found the IE Edge solution to be convenient without having to disable my touchscreen.

    Also, wondering if I can install Windows 2016 the same way for the VPS'es from other OVH resellers? Would that work?

    Are you referring to reselling OVH VPS's or vendor whom buy a dedicated server and chop it up into VPS's?

    www.whatuptime.com
    Microsoft Windows Templates for Online.net, Kimsufi, DigitalOcean, OVH, Vultr & Much More!

  • B1g4B1g4 Member

    @ihadp said: Are you referring to reselling OVH VPS's or vendor whom buy a dedicated server and chop it up into VPS's?

    OVH reseller like https://www.dedicenter.com/cart.php?a=confproduct&i=1 which uses OVH for France locations.

  • ihadpihadp Member

    @B1g4 said:

    @ihadp said: Are you referring to reselling OVH VPS's or vendor whom buy a dedicated server and chop it up into VPS's?

    OVH reseller like https://www.dedicenter.com/cart.php?a=confproduct&i=1 which uses OVH for France locations.

    That link just defaults to all of their packages.

    www.whatuptime.com
    Microsoft Windows Templates for Online.net, Kimsufi, DigitalOcean, OVH, Vultr & Much More!

  • B1g4B1g4 Member

    @ihadp said:

    @B1g4 said:

    @ihadp said: Are you referring to reselling OVH VPS's or vendor whom buy a dedicated server and chop it up into VPS's?

    OVH reseller like https://www.dedicenter.com/cart.php?a=confproduct&i=1 which uses OVH for France locations.

    That link just defaults to all of their packages.

    My Bad! The correct link is https://www.dedicenter.com/cart.php?a=add&pid=203

    As per another thread, their French location uses OVH Datacenter.

  • ihadpihadp Member
    edited June 12

    @B1g4 said:

    @ihadp said:

    @B1g4 said:

    @ihadp said: Are you referring to reselling OVH VPS's or vendor whom buy a dedicated server and chop it up into VPS's?

    OVH reseller like https://www.dedicenter.com/cart.php?a=confproduct&i=1 which uses OVH for France locations.

    That link just defaults to all of their packages.

    My Bad! The correct link is https://www.dedicenter.com/cart.php?a=add&pid=203

    As per another thread, their French location uses OVH Datacenter.

    They are purchasing a dedicated server from OVH and then chopping it up themselves. In this case they are using OpenVZ so you cannot use the templates here or elsewhere as OpenVZ doesn't support Windows.

    You need a VPS provider using KVM to use the templates here. OVH VPS (Direct with OVH), DigitalOcean, Vultr, etc.

    www.whatuptime.com
    Microsoft Windows Templates for Online.net, Kimsufi, DigitalOcean, OVH, Vultr & Much More!

    Thanked by 1B1g4
  • B1g4B1g4 Member

    @ihadp said: They are purchasing a dedicated server from OVH and then chopping it up themselves. In this case they are using OpenVZ so you cannot use the templates here or elsewhere as OpenVZ doesn't support Windows.

    You need a VPS provider using KVM to use the templates here. OVH VPS (Direct with OVH), DigitalOcean, Vultr, etc.

    @ihadp - Thanks for the clarification!

    Also, for those who're trying to install the windows templates on OVH 10GB VM, the 2012R2 images gives about 1.34GB free space compared to the 796MB on Windows 2016.

  • @ihadp I donated the $5 and tried using the DigitalOcean template links on my OVH VPS, with /dev/sdb specified as the correct disk, but I'm getting a broken pipe error each and every time I try and run the command,

    HTTP request sent, awaiting response... 200 OK
    Length: 4742419180 (4.4G) [application/x-gzip]
    Saving to: “STDOUT”

    0% [ ] 33,031 --.-K/s in 0.002s

    Cannot write to “-” (Broken pipe).

  • ihadpihadp Member

    @ethancedrik said: @ihadp I donated the $5 and tried using the DigitalOcean template links on my OVH VPS, with /dev/sdb specified as the correct disk, but I'm getting a broken pipe error each and every time I try and run the command,

    HTTP request sent, awaiting response... 200 OK
    Length: 4742419180 (4.4G) [application/x-gzip]
    Saving to: “STDOUT”

    0% [ ] 33,031 --.-K/s in 0.002s


    Cannot write to “-” (Broken pipe).

    Apologies I haven't been here on the forums for a little while, please create a thread on www.whatuptime.com and I will do my best to assist.

    www.whatuptime.com
    Microsoft Windows Templates for Online.net, Kimsufi, DigitalOcean, OVH, Vultr & Much More!

  • javimusejavimuse Member

    @ethancedrik said: @ihadp I donated the $5 and tried using the DigitalOcean template links on my OVH VPS, with /dev/sdb specified as the correct disk, but I'm getting a broken pipe error each and every time I try and run the command,

    HTTP request sent, awaiting response... 200 OK
    Length: 4742419180 (4.4G) [application/x-gzip]
    Saving to: “STDOUT”

    0% [ ] 33,031 --.-K/s in 0.002s


    Cannot write to “-” (Broken pipe).

    You have problems with admin privileges, try

    sudo -i

    or

    sudo wget -O- 'templatelink.gz' | sudo gunzip | sudo dd of=/dev/sda

  • I figured that out, turns out I bought an older version of the template (the DigitalOcean ones, not the Kimsufi ones) so sdb/sda wasn't working reguardless.

    I have made progress on my own Windows Server 2012 R2 template and have gotten it to boot so I'm working with that

Sign In or Register to comment.