Jump to content











Photo
- - - - -

Trying the impossible - Booting server 2016 from USB


  • Please log in to reply
6 replies to this topic

#1 netlord

netlord

    Member

  • Members
  • 36 posts
  •  
    Germany

Posted 02 February 2017 - 01:30 PM

Hi there

 

I´m trying to use an Server2016 from an USB-Stick (or maybe USB-Drive)

 

First I´ve installed Server2016 on an internal disk and changed some registry keys:

 

in HKLM\System\Currentcontrolset\ I´ve searched all usb-keys (usbohci usbxhci and so on) and changed the start to 0. Also I changed the usb-services to start at boot time (sc config usbxhci start= boot)

 

My first idea was to capture the installed server to a wim an put this wim on an PE Boot stick

(d:\windows\system32\dism /capture-Image /imagefile:d:\boot.wim /capturedir:d: /name:"2016")

 

This boots in a BSOD (c000017) Ramdisk device creation failed due to insufficient memory.

 

Then I changed the swap-file to 512 mb fixed. Same BSOD.

 

What else can I do?

 

Thanks

 

 



#2 Guest_AnonVendetta_*

Guest_AnonVendetta_*
  • Guests

Posted 02 February 2017 - 03:10 PM

It's not impossible, but you'll be waiting a very, very long time. I think you'll have better luck booting Server 2016 from a USB HDD, rather than from a USB stick. I tried booting an installed Windows 10 from a PNY/Patriot 256GB 3.0 stick, an hour later it was still installing drivers and running through the initial setup. I never got anywhere close to a login screen, EULA, etc.



#3 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 16066 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 03 February 2017 - 08:55 AM

@netlord

Check IF Winntsetup is compatible with Server 2016:
http://www.msfn.org/...inntsetup-v387/

 

:duff:

Wonko



#4 steve6375

steve6375

    Platinum Member

  • Developer
  • 7566 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films
  •  
    United Kingdom

Posted 03 February 2017 - 09:09 AM

Try using WinToUSB.

If you are using a Removable type of USB drive (e.g. SanDisk Extreme Flash drive) then you must create a VHD.

If you attempt to flat-boot to Win8/10/2016 from a set of files on a Removable USB drive, it will not work.

However, I do suggest you use a FAST USB drive (one that has good 4K Random-write Crystaldiskmark benchmark result of at least 5MB/s).



#5 Guest_AnonVendetta_*

Guest_AnonVendetta_*
  • Guests

Posted 04 February 2017 - 01:55 AM

@steve6375: He may or not have better luck with WinToUSB. I tried it, including with a VHD, same results. I think the common denominator may have been that maybe my flash drives just weren't fast enough. I figured that any USB 3.0 flash drive should be enough to do the trick. I simply don't understand why Linux, WinPEs, etc boot fine from these drives with good performance, but an installed Windows can't. Maybe Windows' system requirements are just too high, even with 10, whose requirements have been the lowest of any Windows edition since XP.



#6 steve6375

steve6375

    Platinum Member

  • Developer
  • 7566 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films
  •  
    United Kingdom

Posted 04 February 2017 - 09:51 AM

I used WinNTSetup.exe to install Server2016 to a USB 3.0 HDD (SSD, NTFS, single partition) because it seems you need to buy the Pro version of WinToUSB to use it with Server ISOs.

It worked fine.

If you are using a Removable USB drive then you should create a VHD and mount it in WInNTSetup and install to that.

 

The 4K Random Write benchmark is the essential figure for judging how WinToGo is going to perform on a USB drive.

For instance, the Lexar P20 is supposed to be a super-fast USb 3 flash drive, but it's 4K rand-wr benchmark stinks (0.01MB/s) - and it takes over 1 hour to boot to the Desktop. On the other hand, a Sandisk Extreme USB 3 flash drive (4K rand-wr = 10MB/s) takes only a minute or so.

See my blog post here about Lexar P20.

 

Linux and WinPE holds a great deal of the OS in RAM. Windows does not (even just the registry is huge!) and it uses a swap file,  which is why the 4K write performance is so important.

 

P.S. I just copied the flat-files on the USB HDD to a fixed .VHD file and added the .VHD file to my E2B Sandisk Extreme Pro USB drive. It boots to Server 2016 in less than 30 seconds.


Edited by steve6375, 04 February 2017 - 10:35 AM.


#7 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 16066 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 04 February 2017 - 12:09 PM

@netlord
Check IF Winntsetup is compatible with Server 2016:
http://www.msfn.org/...inntsetup-v387/


 

Try using WinToUSB.

 

I used WinNTSetup.exe to install Server2016 to a USB 3.0 HDD (SSD, NTFS, single partition) because it seems you need to buy the Pro version of WinToUSB to use it with Server ISOs.
It worked fine.

Good. ;)
 
:duff:
Wonko




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users