Jump to content











Photo
- - - - -

Fast boot Windows PE 3.0


  • Please log in to reply
51 replies to this topic

#1 Michele13

Michele13

    Frequent Member

  • Tutorial Writer
  • 167 posts
  •  
    Italy

Posted 30 August 2012 - 12:01 PM

I noticed that the boot of winpe 3.0 from my pendrive is very slow (Verbatim 16GB NTFS Formatted USB 2.0) how can I speed up the booting process?

#2 panreyes

panreyes

    Member

  • Members
  • 57 posts
  •  
    Spain

Posted 30 August 2012 - 12:10 PM

First, by buying a good pendrive, like Kingston's Data Traveler R400. It's up to 5 times faster than the cheap ones.

Secondly, try to boot another computer with that pendrive. Some BIOSes boot USBs in USB1.1 mode for some reason :\

#3 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7771 posts

Posted 30 August 2012 - 01:24 PM

Like panreyes already said, get a faster USB-Stick and hope, that your computer can make use of that speed, while booting from the stick.

The easiest way to check the max. USB-boot-speed of your computer is, to try to boot the PE from a USB-HDD.
That's as fast as it gets.

Under certain conditions, building a standard PE, instead of a ramloaded Wim based one, can improve boot time.

btw. How slow is very slow?

:cheers:

#4 Michele13

Michele13

    Frequent Member

  • Tutorial Writer
  • 167 posts
  •  
    Italy

Posted 30 August 2012 - 01:30 PM

I'd like to make a WinPE 3.0 that does not have to be copied to the RAM but I'm not comfortable to make such CD using BCDEdit and other tools from commandline. I'd like something more easier to use...It's not so slow it's a little more slower than CD-ROM. Now I'll check the Speed of my USB Flash Drive

#5 Michele13

Michele13

    Frequent Member

  • Tutorial Writer
  • 167 posts
  •  
    Italy

Posted 30 August 2012 - 02:41 PM

These are the detail of my USB Flash Drive


-----------------------------------------------------------------------

CrystalDiskMark 3.0.1 (C) 2007-2010 hiyohiyo

						   Crystal Dew World : http://crystalmark.info/

-----------------------------------------------------------------------

* MB/s = 1,000,000 byte/s [SATA/300 = 300,000,000 byte/s]

		   Sequential Read :    14.937 MB/s

		  Sequential Write :	 4.583 MB/s

		 Random Read 512KB :    11.147 MB/s

	    Random Write 512KB :	 0.706 MB/s

    Random Read 4KB (QD=1) :	 3.286 MB/s [   802.2 IOPS]

   Random Write 4KB (QD=1) :	 0.007 MB/s [	 1.7 IOPS]

   Random Read 4KB (QD=32) :	 3.812 MB/s [   930.7 IOPS]

  Random Write 4KB (QD=32) :	 0.008 MB/s [	 1.9 IOPS]

  Test : 500 MB [G: 2.3% (0.3/14.9 GB)] (x5)

  Date : 2012/08/30 16:40:40

    OS : Windows XP Professional SP3 [5.1 Build 2600] (x86)

 



#6 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7771 posts

Posted 30 August 2012 - 04:16 PM

As your test shows, your drive can deliver only up to 14MB/s, values of 33MB/s are the max. possible with USB2.0.
Thus it is theoretical possible, to cut the time, the loading of the wim takes, in half. Rest of the boot process will not benefit and take the same time as before.
If that increase is worth a new stick, is up to you.

As you can also see, the reading speend of your stick falls way off, when not used to transfer a single big file.
Hence doing a non-ramboot will probably be even slower. But depends on the boot performance of your computer.

You can try Win7PE_SE to create something similar to a WinPE3.0. If you want some GUI help in creating your PE.

:cheers:

#7 cdob

cdob

    Gold Member

  • Expert
  • 1469 posts

Posted 30 August 2012 - 05:25 PM

I noticed that the boot of winpe 3.0 from my pendrive is very slow


Can you clarify some parts?

Do you use flat files at pendrive?

Do you use a image file boot.wim at pendrive? Which size goes to this file?
How long does it take to load this file to RAM?

Do you remember PloP Boot manager?

#8 Michele13

Michele13

    Frequent Member

  • Tutorial Writer
  • 167 posts
  •  
    Italy

Posted 30 August 2012 - 05:53 PM

what are flat files? is it the boot.wim uncompressed? No I have a boot.wim image of 109MB that is loaded to RamDrive I thought to time how long does it take to boot. I will do that soon. Yes I remember PloP Boot Manager. It is my "best friend" when I have to boot my Kingston Data Traveler 4GB (Damn it, it doesn't want to boot on its own! :P). Why you ask about PloP boot Manager? What does it has to do with boot time?

#9 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7771 posts

Posted 30 August 2012 - 06:11 PM

Flat files are files that are not in any container.

About Plop. Some people have experienced an increased boot performance, when using Plop.
For me it has never improved speed just the opposite.

:cheers:

#10 Michele13

Michele13

    Frequent Member

  • Tutorial Writer
  • 167 posts
  •  
    Italy

Posted 30 August 2012 - 06:29 PM

How do I create a flat version of windows PE without typing too strange things in the cmd? I don't feel comfortable with BcdEdit

#11 cdob

cdob

    Gold Member

  • Expert
  • 1469 posts

Posted 30 August 2012 - 07:00 PM

How do I create a flat version of windows PE without typing too strange things in the cmd?

No, don't do this. Most likely its slower at boot.
Well, Kansas City shuffle and Windows PE 3.0 may be another challenge.

Measure RAM load time first.
If image is loaded at USB 1.1 speed, try PloP Boot manager.

#12 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7771 posts

Posted 30 August 2012 - 07:37 PM

How do I create a flat version of windows PE without typing too strange things in the cmd?

Like i said above, a Winbuilder project.
If you don't want to use one of those, you're back at doing it manually.

I don't feel comfortable with BcdEdit

How about EasyBCD?

:cheers:

#13 Michele13

Michele13

    Frequent Member

  • Tutorial Writer
  • 167 posts
  •  
    Italy

Posted 30 August 2012 - 07:38 PM

However my basic windows pe 3.0 takes 4 min and 36 seconds to be operative (With the command prompt waiting for your imput)
I don't like to wait all this time. I already don't like the fact that I have to mount a wim image to add some files, if I have to wait almost 5 minutes before it loads I may fall asleep during this time xD

Updated load times

4:35.80 (Min:sec:ms) without Plop Boot Manager
3:05.56 (Min:sec:ms) with Plop Boot Manager

this is an acceptable time! however it takes less time if I don't count the time that it takes to load from when the boot splash apper to when I can type some commands :) Any other tricks? Oh yeah I can't boot from usb with Plop by choosing directly USB from the boot menu but I have to force USB 1.1 Mode from the setup menu, How can I make this configuration permanent?

#14 cdob

cdob

    Gold Member

  • Expert
  • 1469 posts

Posted 30 August 2012 - 09:09 PM

I don't like to wait all this time.

Change hardware:
A USB boot friendly BIOS with USB 3.0 BIOS speed and a USB SSD.

How can I make this configuration permanent?

I don't understand clearly. Read http://forum.plop.at...php/topic,165.0

#15 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7771 posts

Posted 30 August 2012 - 09:41 PM

If your computer can only boot at USB1.1 speed, a flat build should be faster and a faster stick would do you no good.

Also if you only use the PE on one computer, put the wim on the internal HDD. Works wonders for speed ;)

:cheers:

#16 Michele13

Michele13

    Frequent Member

  • Tutorial Writer
  • 167 posts
  •  
    Italy

Posted 30 August 2012 - 11:22 PM

Again how can I build it?

#17 Michele13

Michele13

    Frequent Member

  • Tutorial Writer
  • 167 posts
  •  
    Italy

Posted 30 August 2012 - 11:27 PM

I did some experiments with the various WinPE versions and timed them

WinPE 3.0: 4:35.80
WinPE 3.0 (Plop): 3:05.56
---------------------------------
WinPE 2.0: 6:11.94
WinPE 2.0 (Plop): 4:24.34

WinPE 2.0 (Prep): 6:07.74
WinPE 2.0 (Prep, Plop): 4:04.00

How about it?

#18 cdob

cdob

    Gold Member

  • Expert
  • 1469 posts

Posted 31 August 2012 - 04:26 AM

These are the detail of my USB Flash Drive
Random Read 512KB : 11.147 MB/s
Random Read 4KB (QD=1) : 3.286 MB/s [ 802.2 IOPS]
Random Read 4KB (QD=32) : 3.812 MB/s [ 930.7 IOPS]

That's long access time to read single files.

Again how can I build it?

http://technet.micro...y/hh825045.aspx
Example uses a Windows 8 dism.exe and a PE 4.
Remember there is imagex.exe too.
And configure PE 3 to load USB drivers early.

No, don't do this at this slow USB Flash Drive.

I did some experiments with the various WinPE versions and timed them

WinPE 3.0: 4:35.80
WinPE 3.0 (Plop): 3:05.56
---------------------------------
WinPE 2.0: 6:11.94
WinPE 2.0 (Plop): 4:24.34

WinPE 2.0 (Prep): 6:07.74
WinPE 2.0 (Prep, Plop): 4:04.00

How about it?

We don't know details, Results can't be compared.

Booting loads .wim file to RAM first.
Next windows is started.
Provide details for both parts.

Which size goes to each .wim file?
How long is RAM load part? That's the black screen

#19 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7771 posts

Posted 31 August 2012 - 07:40 AM

Again how can I build it?

Download a Win7PE_SE choose in 'Main Configuration' 'Build Model'=Normal that will create a flat build.

:cheers:

#20 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7771 posts

Posted 31 August 2012 - 08:03 AM

btw. Given that you load the image at only USB 1.1 speed, i don't consider those times slow.

USB1.1 read speed ~ 900 kBps

109MB * 1024 = 111616kB
111616kB / 900 kBps = 124,02s = 2min 4sec for the loading of the wim image alone!

:cheers:

#21 Michele13

Michele13

    Frequent Member

  • Tutorial Writer
  • 167 posts
  •  
    Italy

Posted 31 August 2012 - 11:11 AM

I tried to follow this tutorial
http://technet.micro...45.aspx#option1
but when I try to run the command

BcdBoot F:Windows /s F:

I get this error
BFSVC: Failed to open handle to resume object. Status = [c0000034]

any fix? :(

#22 cdob

cdob

    Gold Member

  • Expert
  • 1469 posts

Posted 31 August 2012 - 03:23 PM

BFSVC: Failed to open handle to resume object. Status = [c0000034]

Which OS do you use?
Which BcdBoot.exe do you use?
Which protection software do you use?
Which PE do you like to apply?


Walkthrough: Boot Windows PE from Hard Disk
Step 3: Copy Windows PE Files to the Hard Disk
http://technet.micro...4(v=ws.10).aspx

#23 Michele13

Michele13

    Frequent Member

  • Tutorial Writer
  • 167 posts
  •  
    Italy

Posted 31 August 2012 - 09:03 PM

Which OS do you use?
Which BcdBoot.exe do you use?
Which protection software do you use?
Which PE do you like to apply?


Walkthrough: Boot Windows PE from Hard Disk
Step 3: Copy Windows PE Files to the Hard Disk
http://technet.micro...4(v=ws.10).aspx


I'm using Windows 7 the BCDboot is that one that is featured with windows 7 I want to apply WinPE 3.0 to an USB Flash Drive. I'd rather to skip the step 4 of that tutorial. BCD is the worst boot loader that was ever created. I think that NTLDR and Grub4Dos are better because they are easy to configure. BCD IS NOT EASY TO CONFIGURE I dont' have an AV installed neither a FireWall

#24 cdob

cdob

    Gold Member

  • Expert
  • 1469 posts

Posted 01 September 2012 - 04:54 PM

I'm using Windows 7 the BCDboot is that one that is featured with windows 7 I want to apply WinPE 3.0 to an USB Flash Drive.

First example assumes a Windows 8 BCDboot.exe.

I'd rather to skip the step 4 of that tutorial

Use the step 4 from the second example instead.

PE_flat_file.cmd
@ECHO OFF

path ..;%path%



Rem create a PE flat file BCD store



set BCD="H:\Boot\BCD"

IF EXIST %BCD% del %BCD%

echo on

BCDedit.exe /createstore %BCD%



for /f "tokens=1-3" %%a in ('BCDedit.exe /store %BCD% /create /application OSLOADER') do set GUID=%%c

BCDedit.exe /store %BCD% /set %GUID% device boot

BCDedit.exe /store %BCD% /set %GUID% osdevice boot

BCDedit.exe /store %BCD% /set %GUID% path \windows\system32\boot\winload.exe

BCDedit.exe /store %BCD% /set %GUID% description "PE Flat file"

BCDedit.exe /store %BCD% /set %GUID% systemroot \Windows

BCDedit.exe /store %BCD% /set %GUID% winpe Yes

BCDedit.exe /store %BCD% /set %GUID% nx OptIn

BCDedit.exe /store %BCD% /set %GUID% ems No

rem PE4 BCDedit.exe /store %BCD% /set %GUID% bootmenupolicy legacy



BCDedit.exe /store %BCD% /create {bootmgr} /d "Boot Manager"

BCDedit.exe /store %BCD% /set {bootmgr} device boot

BCDedit.exe /store %BCD% /set {bootmgr} default %GUID%

BCDedit.exe /store %BCD% /set {bootmgr} displayorder %GUID%



BCDedit.exe /store %BCD% /enum all /v
Adjust H:\Boot\BCD to your local configuration.


And set USB drivers load: set_7_usb_boot.cmd
http://reboot.pro/14186/#entry127772

#25 Michele13

Michele13

    Frequent Member

  • Tutorial Writer
  • 167 posts
  •  
    Italy

Posted 03 September 2012 - 04:52 PM

i've created a flat bootable disc using imagex and using bootice to make it bootable. I created the menu with the correct settings, I've patched the registry to load usb drivers with your batch file, It booted but BSOD 7b! what should i do now?




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users