Jump to content











Photo
* * * - - 2 votes

NT 6.x fast installer: install win7 directly to usb external drive


  • Please log in to reply
594 replies to this topic

#201 Uncle_HQ

Uncle_HQ

    Newbie

  • Members
  • 28 posts
  •  
    United Arab Emirates

Posted 23 February 2011 - 06:31 PM

Dear fujinabc, cdob, wonko the sane, steve6375, karyonix, and crazedbinary,

Thanks to all your support and valuable contributions, I have successfully managed to boot Win 7 x64 from a USB 3 HDD. :thumbsup: This tool is really awesome !! Hats off to fujinabc for providing such a simple and easy toolset which supports external USB device booting. Moreover, even supports booting from USB 3 ! I managed to get everything figured out and working thanks to the community contributions on this forum. Special thanks to cdob for his repeated timely support.
This actually ended up being much easier than I thought it would be. So, I want to summarize and document what I have achieved and how I achieved it for the benefit of others who might one day walk into my shoes.

My Objective Was: To be able to install Windows 7 x64 onto an external USB 3.0 hard drive plugged directly into USB 3 ports of a laptop, and then be able to boot into Windows 7 x64 from this USB 3 external HDD. For the record, my laptop is a HP EliteBook 8540w which comes equipped with two built in USB 3.0 ports.

End Result Achieved: Successfully installed Win 7 x64 on my USB 3 HDD. Win 7 x64 Enterprise Boot time from USB 3.0 7200 RPM HDD, is about 22 secs !!! Blazing F-A-S-T performance !!! Copying large files is lightning fast over USB 3 !! I was able to achieve crazy speeds of around 350-400 MB/s while copying a large directory to another directory within the SAME USB 3 HDD. My expectations were exceeded !!! This is crazy fast !!!!!!

Procedure which worked for me:

1) First I copied install.wim from my windows 7 DVD to a read/writable location (c:\mytempfolder). Located my 64-bit version USB 3 drivers from HP's website, and downloaded them, extracted them and put them in a directory called, c:\USB3. I then copied imagex.exe, bcdboot.exe, and bootsect.exe to c:\mytempfolder. I then extracted Fujinab’s toolset to the same c:\mytempfolder.

2) I then injected the required x64 version of my USB 3 driver (nusb3drv.inf) into install.wim using the following series of commands:

md c:\mount


(create a mount directory into a convenient location)

Dism /Get-WimInfo /WimFile:E:\sources\install.wim
Read your output. In my case it was “Microsoft Windows Setup (x64)”

Next, I mounted install.wim by issuing the following command:

Dism /Mount-Wim /WimFile:E:\sources\install.wim /Name:"Microsoft Windows Setup (x64)" /MountDir:c:\mount

In the above example E: refers to my Windows 7 source drive. (Need to make sure that this source location is both READ and WRITEABLE. Adjust this to your drive letter). I made the mistake before of reading the source from the original DVD, which obviously led to WRITE permissions error. So make sure the drive location you use, is WRITEABLE with the required permissions.

Then, I issued the following command to inject my USB 3 driver:

Dism /Image:C:\mount /Add-Driver /Driver:c:\USB3\x64\nusb3drv.inf

Next, I un-mounted and committed changes to the install.wim located in c:\mount by issuing the following command:

Dism /unmount-Wim /mountdir:c:\mount /commit

(Note: I had no interest in 32 bit version, so I ignored the 32 bit version USB 3 drivers. Also, in my case, I didn’t have to worry about injecting any USB 3 drivers into boot.wim, since for my scenario, boot.wim was not required. In your case, you may have to inject drivers into boot.wim. My BIOS was fully capable of booting from an external USB 3 port on my laptop.)

3) Then I made the following changes to usb.reg by adding the following lines:

[HKEY_LOCAL_MACHINE\sys\ControlSet001\services\nusb3hub]

"Start"=dword:00000000

"Group"="boot bus extender"

[HKEY_LOCAL_MACHINE\sys\ControlSet001\services\nusb3xhc]

"Start"=dword:00000000

"Group"="boot bus extender"

4) Then I made the following changes to UsbBootWatcher.conf by adding the following lines:

[nusb3hub]

Start@REG_DWORD=0

Group@REG_SZ="Boot Bus Extender"

[nusb3xhc]

Start@REG_DWORD=0

Group@REG_SZ="Boot Bus Extender"

5) Then using the Windows 7 standard Disk Management Tool, I setup the required target partition on my USB 3 external drive where I planned to install Win 7. I formatted this partition, and finally set it ACTIVE. I double checked, to make sure that my changes were actually reflected as intended.

6) Next, I made sure that my BIOS was set to allow booting from my USB 3 port.

7) Finally, I ran fujinab’s tool set, by running installer.cmd at an elevated DOS prompt.

8) When I was prompted to reboot my machine, I ensured I was booting from my USB 3 HDD.

That’s it … It worked, and the results are amazing !!

Thanks again to this wonderful forum and to cdob and others for their support. Thanks to wonko the sane for pointing me in the right direction and setting me on the right track. Of course, a very special thanks is owed to fujinabc for his extremely valuable contribution of providing this magic tool set.

I hope I can re-pay this gratitude, by documenting what worked for me based on my requirements and setup, in case someone else in the future has similar requirements.

Thank you everyone !! You have all been very helpful. :dubbio:

#202 Wonko the Sane

Wonko the Sane

    The Finder

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

Posted 23 February 2011 - 07:24 PM

Thank you everyone !! You have all been very helpful. :thumbsup:

It is such a pleasure when people, like you, express their gratitude by compiling simple, plain, exhaustive reports that can help other people! :thumbsup:

Only too happy to have contributed a little to another happy bunny in the basket. :smiling9:

;)
Wonko

#203 Uncle_HQ

Uncle_HQ

    Newbie

  • Members
  • 28 posts
  •  
    United Arab Emirates

Posted 20 March 2011 - 07:39 PM

Hi Folks...I'm back again, for another question. Everything was running swell on my USB 3 HDD, until I tried to upgrade my Win 7 to SP1 (windows6.1-KB976932-X64) over my USB 3 interface. The install went ok, until my laptop had to re-boot (post-install). Now I am getting the infamous BSOD 0x7b. I presume it's because my USB 3 drivers got wiped out during the SP1 install, and now it can't boot over USB 3 any more. Luckily I made a backup image (Paragon Backup) of my USB 3 HDD a few weeks ago. So I could restore it and try again. But I will end up with the same BSOD unless I figure out a way to resolve this before SP1 installation. Does the same concept apply here...Would I have to use DISM to inject the USB 3 drivers ? I downloaded windows6.1-KB976932-X64 from microsoft website. What do I need to do here to ensure a smooth SP1 install to a USB3 HDD ?

I would assume, its irrelevant whether its USB 3 or USB 2. For all you folks who are using USB 2 bootable Win 7, I would imagine you would probably experience the same error if you tried to upgrade to SP1.

So how do we overcome this error ? Thanks.

Uncle_HQ

#204 maanu

maanu

    Gold Member

  • Advanced user
  • 1134 posts
  •  
    Pakistan

Posted 20 March 2011 - 07:55 PM

a shot in the dark.

restore your paragon backup on the target usb.
boot it.
backup the usb3.0 driver with any driver backup tool like double driver etc,
upgrade to sp1.
boot in ANY other pe , use driver injection tool (search amalux's posts if you dont have it )
, inject your backup usb 3.0 driver on the usb 3.0 hdd (your win7 partition actually which you have upgraded to sp1.

see if it goes well.

#205 Uncle_HQ

Uncle_HQ

    Newbie

  • Members
  • 28 posts
  •  
    United Arab Emirates

Posted 21 March 2011 - 04:02 AM

How do you inject drivers onto an existing win 7 partition which is giving you a BSOD ? I can boot from another pe, but then how would I inject drivers to my USB3 win 7 partition ?

#206 amalux

amalux

    Platinum Member

  • Tutorial Writer
  • 2813 posts
  •  
    United States

Posted 21 March 2011 - 10:14 AM

Hi Uncle_HQ :clap:

There is an easier way to do this IMO, sorry for the delay in posting but I had to confirm it was going to work with W7-SP1 and USB30; it does. I like this method because it's simple and allows you to set everything up ahead of time on your host machine, then transfer a fully working setup to your external USB-HDD or flash drive. Also, it doesn't require a new install or special setup or opening external cases etc. You can take your existing, working Windows 7 (SP1) installation, complete with drivers, programs and customizations intact and transfer it directly to a bootable USB in minutes.

1) Setup OS the way you want it on host, install any drivers, programs etc. and customize it the way you want (or just use existing OS setup).

2) Create a full partition backup with your favorite hard drive imaging SW, I use Acronis but Ghost, Macrium, Paragon etc. should be fine.

3) Restore the image to your external USB20/30 HDD or flash drive from the comfort of your host OS or favorite PE boot disk (don't reboot yet).

4) Run PWBoot patch (here) on the external drive you just restored your image to. You run the patch from your host OS or PE and select external drive as target.
2011-03-21_020752.png
Note: No other patching, USBootwatcher etc. is needed, PWBoot is all you need.

5) Now reboot to your USB-HDD or flash drive to see the magic. I've done this many times now with Windows 7 x64 (x86 works too) SP0 and SP1 Enterprise. I've restored images to USB-HDD 2.0 and 3.0 and UFDs as well, I'm always surprised how fast and easy it is and thought I'd share it with you, hope it helps.

--
EDIT: I just realized I posted this in wrong place. My apologies to fujianabc, whos NT 6.x fast installer tool is wonderful. I didn't mean to go off topic or advertise other tools in your thread; please accept my apology.

#207 Sahan

Sahan
  • Members
  • 1 posts
  •  
    Turkey

Posted 23 March 2011 - 09:50 AM

Hi fujianabc,
First of all thank you very much for your kind efforts,
I need your help about usb.reg file in the NT6.X_fast_installer_100219.7z.

http://img12.imagesh...s/i/usbreg.png/

There are simplified chinese characters in the file and I dont know how to fix it.
I am sending the visual of the file when i open it via notepad.

#208 ireneuszp

ireneuszp

    Frequent Member

  • Advanced user
  • 191 posts
  •  
    Poland

Posted 27 March 2011 - 09:02 AM

nt6 hdd installer
http://cid-305405f66...hdd%20installer

http://ovwhga.bay.li...download&psid=1

http://ovwhga.bay.li...download&psid=1

:smiling9:


hangzhou
http://cid-305405f66...e.com/home.aspx :thumbsup:

#209 Escorpiom

Escorpiom

    Member

  • Members
  • 40 posts
  •  
    Colombia

Posted 29 March 2011 - 10:06 AM

ireneuszp, it's good you are sharing that project, but there is no documentation other than Chinese.
You may not be the author of nt6 hdd installer, but either way it's impossible for me to understand Chinese.

Cheers.

Edited by Escorpiom, 29 March 2011 - 10:16 AM.


#210 pita

pita
  • Members
  • 5 posts
  •  
    Israel

Posted 01 April 2011 - 03:24 PM

Interesting question:

How can i use an SD card as active partition?
Windows does not allow it like any other normal USB flash disk in the partition manager.

Any suggestion?

Thank you!

#211 steve6375

steve6375

    Platinum Member

  • Developer
  • 6881 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films,guitars, www.easy2boot.com
  •  
    United Kingdom

Posted 01 April 2011 - 03:31 PM

Use Diskpart or RMPrepUSB?

#212 rb666

rb666
  • Members
  • 1 posts
  •  
    United Nations

Posted 11 May 2011 - 08:47 AM

My Windows 7 Ultimate DVD has bootsect.exe, but neither magex.exe nor bcdboot.exe. Is there another source for these two files?

#213 steve6375

steve6375

    Platinum Member

  • Developer
  • 6881 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films,guitars, www.easy2boot.com
  •  
    United Kingdom

Posted 11 May 2011 - 09:03 AM

My Windows 7 Ultimate DVD has bootsect.exe, but neither magex.exe nor bcdboot.exe. Is there another source for these two files?


RMBootSect from http://sites.google....nts/release-2-0

For ImageX, and bcdboot download the Windows WAIK kit and install it.

#214 Doodoo

Doodoo

    Frequent Member

  • Advanced user
  • 344 posts

Posted 11 May 2011 - 12:33 PM

For ImageX, and bcdboot download the Windows WAIK kit and install it.

Just in case, you can get ImageX.exe and other required files (e.g. for GImageX) without installing the AIK. Just open "neutral.cab" in the ISO, extract all files named F1_* (for the 32-bit version) and rename them appropriately (look in GImageX help, "installation" section, if you don't know the proper name)

#215 shab zee

shab zee
  • Members
  • 4 posts
  •  
    India

Posted 11 June 2011 - 09:56 AM

HEY HEY ! help! after it says everything is complete and continue the installation, what are we supposed to do after that?

#216 atee12

atee12
  • Members
  • 2 posts
  •  
    Singapore

Posted 13 June 2011 - 09:05 AM

I try to install win 7 (x64) on my USB 3.0 HDD, when I boot up I have a bluescreen. Could it be usb driver problem or storage driver problem? I have seen a bluescreen error, somebody post it, but there is no sure answer yet...

One more thing is where to go and find the usb.reg and usbwatcher.conf??? currently i am following Uncle_HQ, but i am stuck at:


3) Then I made the following changes to usb.reg by adding the following lines:

[HKEY_LOCAL_MACHINE\sys\ControlSet001\services\nusb3hub]
"Start"=dword:00000000
"Group"="boot bus extender"
[HKEY_LOCAL_MACHINE\sys\ControlSet001\services\nusb3xhc]
"Start"=dword:00000000
"Group"="boot bus extender"


4) Then I made the following changes to UsbBootWatcher.conf by adding the following lines:

[nusb3hub]
Start@REG_DWORD=0
Group@REG_SZ="Boot Bus Extender"
[nusb3xhc]
Start@REG_DWORD=0
Group@REG_SZ="Boot Bus Extender"

Please advice,,, thanks in Advance!!!!!

#217 Wonko the Sane

Wonko the Sane

    The Finder

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

Posted 13 June 2011 - 10:39 AM

As always, you don't have "a" bluescreen, you have a SPECIFIC bluescreen with a STOP ERROR number.
Without this info and without an EXACT DETAILED list of the steps you did, there is no way anyone (short of clairvoyancy) can try and help you.

Usbbootwatcher is a service by marv, you need it to have usbbootwatcher.conf working.

Here:
http://www.911cd.net...showtopic=22473

READ the "generic" Windows 7 on USB (2.0) guide by karyonix:
http://reboot.pro/9196/
the one by marietto2009:
http://reboot.pro/9193/
there may be there steps that you missed. :smiling9:


:cheers:
Wonko

#218 atee12

atee12
  • Members
  • 2 posts
  •  
    Singapore

Posted 13 June 2011 - 03:21 PM

As always, you don't have "a" bluescreen, you have a SPECIFIC bluescreen with a STOP ERROR number.
Without this info and without an EXACT DETAILED list of the steps you did, there is no way anyone (short of clairvoyancy) can try and help you.



hi wonko

the blue screen i have is 0x0000007B.

Thanks!!!!

#219 Wonko the Sane

Wonko the Sane

    The Finder

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

Posted 13 June 2011 - 03:52 PM

the blue screen i have is 0x0000007B.


I'll try again:

As always, you don't have "a" bluescreen, you have a SPECIFIC bluescreen with a STOP ERROR number.
Without this info and without an EXACT DETAILED list of the steps you did, there is no way anyone (short of clairvoyancy) can try and help you.


2 (two) things were asked:
  • actual STOP ERROR <-Ok, that is 0x0000007b, "Inaccessible boot device", basically one or more USB related services/drivers did not start or did not start early enough
  • EXACT DETAILED list of the steps you did <- Cannot see it :smiling9:

Anyway, do review the given links first.

:cheers:
Wonko

#220 shab zee

shab zee
  • Members
  • 4 posts
  •  
    India

Posted 15 June 2011 - 12:30 PM

hey, can anyone solve my problem? i am not able to install win7 on my hdd. After everything is done, it says continue installation. i press any key to exit, so it exits and i plug it out and put it in other system so that it cn boot (after running the command specified to make it run on another computer) but all i can see is a cursor blinking. That is it. What to do? Thanks in advance, cheers

#221 Wonko the Sane

Wonko the Sane

    The Finder

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

Posted 15 June 2011 - 04:15 PM

hey, can anyone solve my problem? i am not able to install win7 on my hdd. After everything is done, it says continue installation. i press any key to exit, so it exits and i plug it out and put it in other system so that it cn boot (after running the command specified to make it run on another computer) but all i can see is a cursor blinking. That is it. What to do? Thanks in advance, cheers


Blinking cursor is typical of a problem within the MBR or bootsector DATA (usually related to CHS and LBA not "balanced").

It is also possible that you partition/format the hard disk on a PC that uses the standard x/255/63 (this would apply as an example to a USB connected hard disk) geometry and you try later to boot it on a system which BIOS uses a non-standard y/240/63 geometry.


You need to inspect (and fix if needed) both the MBR and the bootsector.

Some info can be found here:
http://www.911cd.net...topic=23408&hl=
and here:
http://www.911cd.net...ic=24161&st=520

Ideally you should start a NEW thread dedicated to this problem that is seemingly NOT related to the NT 6.x fast installer, but rather to the non-standard approach you are using.

Without more details and a copy of the MBR and bootsector cannot say more.

:cheers:
Wonko

#222 shab zee

shab zee
  • Members
  • 4 posts
  •  
    India

Posted 16 June 2011 - 07:24 PM

Thanks for the quick reply wonko. I have been trying to get windows on an usb hdd for weeks now but with no success. Then i found this installer but even this has failed, am i doing anything wrong? I have followed all the steps, in the end i also get the message "everything is complete" , but still not able to run the os on my hp nx6115 laptop . What am i missing?

#223 Wonko the Sane

Wonko the Sane

    The Finder

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

Posted 17 June 2011 - 08:19 AM

Thanks for the quick reply wonko. I have been trying to get windows on an usb hdd for weeks now but with no success. Then i found this installer but even this has failed, am i doing anything wrong? I have followed all the steps, in the end i also get the message "everything is complete" , but still not able to run the os on my hp nx6115 laptop . What am i missing?

Three things (see previous post):
  • start a NEW dedicated thread
  • provide the missing details (and NO "I have followed all steps" doesn't count as "details" :P )
  • provide a copy of the MBR and bootsector

:wheelchair:
Wonko

#224 shab zee

shab zee
  • Members
  • 4 posts
  •  
    India

Posted 17 June 2011 - 11:21 AM

I don't know how to make a cop of mbr. Anyways leave it as you're only getting more and more angry. Thanks, cheers :dubbio:

#225 Wonko the Sane

Wonko the Sane

    The Finder

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

Posted 17 June 2011 - 12:11 PM

I don't know how to make a cop of mbr. Anyways leave it as you're only getting more and more angry. Thanks, cheers :dubbio:

I am not at all angry :unsure: if you want I can become so (in order to let you learn the difference ;))

Out of three things asked (in a given order) you don't know how to fulfill the THIRD request.

WHAT prevents you from fulfilling the first TWO? :cheers:

They are simple, plain and need not any previous experience with MBR or disk tools.

You only need to get here:
http://reboot.pro/forum/77/
  • click on the button "Start new topic"
  • type in it an EXACT, DETAILED resume of what you did and what you want to accomplish
  • add to it (if needed) questions/instructions related to what you were already asked for and could not provide since you don't know (yet :cheers:) how to do that
  • click on the "Post new topic" button

Something you may want to read, beside the "common sense advice" attached to Rules:
http://reboot.pro/in...tion=boardrules
are:
http://homepage.ntlw...ard-litany.html
http://homepage.ntlw...red-banana.html


:(
Wonko




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users