Jump to content











Photo
- - - - -

Having Problems Running Windows 7 via USB-Disk on Laptop


  • Please log in to reply
42 replies to this topic

#1 gnaf

gnaf

    Newbie

  • Members
  • 20 posts
  •  
    Austria

Posted 05 January 2012 - 01:22 AM

Hello!

Im running Windows 7 on a USB Harddisk, I used multiples tools for this, for example the Fast NT6 Installer, PWBoot and WinNTSetup2 , all make me the same problem:

On my tower pc i can boot from usb ok and install windows on my usb hard disk too without problems. USB hd is 120gb in size, im using ntfs and an iso from microsoft, "windows 7 sp1 integrated 64bit".

now my problem is, than when i try to install or use the portable usb windows 7 on my laptop, it fails at booting with the following message:



"Windows Boot Manager"
File: \Windows\system32\winload.exe
Status: 0xc000000e

Info: The selected entry could not be loaded...missing or corrupted


you might say, my laptop isnt usb bootable,thats wrong, i used portable linux on it without problems and I also can use the windows 7 usb setup, so it really annoys me that windows7 doesnt boot via usb only the install disk.

I tried to replace the file with one from my windows system and one extracted using "universal extractor",heard that 7zip had a bug which made files corrupt.

I also tried another thing to clearify the issue, I tried to install grub4dos on my usb drive, now the really strange thing:

on my laptop it boots up with a "bootmgr is missing" , it seems my laptop completely ignores certain areas of the harddrive ? strange thing is too, i tried to install windows 7 via usb flash pen and that worked, can it be the hard drives fault?

#2 amalux

amalux

    Platinum Member

  • Tutorial Writer
  • 2813 posts
  •  
    United States

Posted 05 January 2012 - 05:41 AM

Is this a new, clean formatted ntfs partition you've installed to? If you look at this drive in a drive/partition manager (not My Computer), is the partition you've installed to the first, active, primary partition on the drive? How did you install Win 7 to the drive, hooked up to internal IDE/SATA or backup image restored?

Fast NT6 Installer and WinNTSetup2 are utilities to install Win 7 (from PE); PWBoot is used to patch installation after install complete. Walk us through the exact steps you took to partition/format, install and patch this Windows 7 installation. Avoid talking about other computers or setups, just focus on exactly what you did with this one, the one your having an issue with. The exact steps you took in the exact order you did them ;)

#3 erwan.l

erwan.l

    Gold Member

  • Developer
  • 1994 posts
  • Location:Nantes - France
  •  
    France

Posted 05 January 2012 - 10:42 AM

you could try this (which more or less is what nt 6.x installer does) :

1.format to ntfs - make partition active
2.apply iso/wim to disk -> Imagex /apply D:SourcesInstall.wim 1 x:
3.add boot environement -> bcdboot x:windows /s x:
4.to enable usb boot on windows 7 systems, modify this in your USB installation registry :
HKLMSystemCurrentControlSetControlBootDriverFlags=0x6
HKLMSystemCurrentControlSetControlPnPPollBootPartitionTimeout=30000
5.bootsect /nt60 x: /force /mbr

/Erwan

#4 gnaf

gnaf

    Newbie

  • Members
  • 20 posts
  •  
    Austria

Posted 05 January 2012 - 03:42 PM

Is this a new, clean formatted ntfs partition you've installed to? If you look at this drive in a drive/partition manager (not My Computer), is the partition you've installed to the first, active, primary partition on the drive? How did you install Win 7 to the drive, hooked up to internal IDE/SATA or backup image restored?


@amalux:
Yes, its the first partition, primary and active.
I installed it using "WinNTSetup2", this tool can install linux from a "install.wim" directly onto a drive, it makes folder like Users,Program Files,Windows etc so it install the Windows 7 directly on my drive.

The problem is not how I installed it since on my tower pc it can boot correctly from usb, proceeds with windows installation, does "updating registry,installing devices" etc.

The big problem is that my laptop (Amilo Xi 2528) doesnt want to boot it, it just shows me the "winload.exe corrupted or missing" message I posted above, I did another test to clearify the situation.
I installed Grub4Dos and the Plop Boot Manager (plop.at) on my USB Disk, I tried booting with Qemu & my tower pc, both booted into plop correctly, now my laptop showed me something like "bootmgr is missing", I have the strong feeling, my laptop only boots certain things / only boots from a certain area on the disk, it completely ignored the installed plop !

@erwan.l:
Thanks for the instructions, is there a way to edit the registry of the windows which has been installed on my usb drive? Because since its not usb bootable,I would need to clone it to a real/fixed disk , boot it,change the registry to enable usb boot and maybe let sysprep run again after I clone it back to the usb disk, seems like a complicated way.

Edited by gnaf, 05 January 2012 - 03:46 PM.


#5 erwan.l

erwan.l

    Gold Member

  • Developer
  • 1994 posts
  • Location:Nantes - France
  •  
    France

Posted 05 January 2012 - 04:04 PM

open regedit, load hive, go to x:windowssystem32, pick up the "system" file, when asked for a folder name, enter "temp".
below that folder you will see your offline / loaded hive.
do your changes.
unload hive.

#6 gnaf

gnaf

    Newbie

  • Members
  • 20 posts
  •  
    Austria

Posted 05 January 2012 - 04:46 PM

Thanks Erwan for you fast reply but Im having some problem, firstly only the file "D:WindowsSystem32configSYSTEM" exists , then it asks me for a "Key Name" , I entered "temp", now that the Hive is loaded I have "ControlSet001" and "ControlSet002", which one should I edit now?

Edited by gnaf, 05 January 2012 - 04:47 PM.


#7 gnaf

gnaf

    Newbie

  • Members
  • 20 posts
  •  
    Austria

Posted 05 January 2012 - 05:23 PM

Nevermind, thats not the problem I need to solve, I already have a working USB Windows, I just tried it again, on my Tower PC it boots normally, on my laptop it outputs the "winload.exe missing or corrupted" message and When I press enter it says something like "BootBCD" corrupted, I dont understand what is going on on this laptop, why is it complaining about windows files?

And why does it completely ignore Plop and output the "bootmgr is missing" message instead? I can boot an usb installation drive ok, is there a big difference between how the usb install version boots of windows 7 and the one which is made to be used on a portable drive?

#8 Wonko the Sane

Wonko the Sane

    The Finder

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

Posted 05 January 2012 - 06:50 PM

I don't get it.

I installed Grub4Dos and the Plop Boot Manager (plop.at) on my USB Disk, I tried booting with Qemu & my tower pc, both booted into plop correctly, now my laptop showed me something like "bootmgr is missing", I have the strong feeling, my laptop only boots certain things / only boots from a certain area on the disk, it completely ignored the installed plop !

If you get "something like" bootmgr is missing, I wonder HOW EXACTLY you "installed" grub4dos and/or PLoP, which menu.lst entries you are using, etc., etc., as that message comes from the Vista :ph34r: or 7 bootsector or PBR.

Additionally, please post the contents of the bootBCD on that HD, the output of BCDEDIT will do nicely.

In other words, the 0x00000e is connected to the BCD, the "bootmgr is missing" is connected to the partition bootsector, it is "queer" that you have BOTH these errors.
Would it be possible that they are both related to either disk order or disk geometry (or however something connected with the way the laptop BIOS handles differently the disk from the desktop one)?
Can you boot to a straight grub4dos command line on the laptop? (and on the desktop) to check a few things?

:cheers:
Wonko

#9 cdob

cdob

    Gold Member

  • Expert
  • 1347 posts

Posted 05 January 2012 - 07:30 PM

The big problem is that my laptop (Amilo Xi 2528) doesnt want to boot

Which boot options offers the BIOS?
Try USB-HDD.

#10 gnaf

gnaf

    Newbie

  • Members
  • 20 posts
  •  
    Austria

Posted 05 January 2012 - 08:39 PM

@cdob:

Thanks for your interest, my bios basically list lots of devices and recognizes my usb hard drive, I can press enter to boot it if I press F12 first which gives me that boot menu.
My Bios is very limited, only energy saving mode and "ite cir" is possible to change, if it helps I have some screenshots for you of the menus.

Posted Image

The "Full" Bios Boot List

Posted Image

#11 gnaf

gnaf

    Newbie

  • Members
  • 20 posts
  •  
    Austria

Posted 05 January 2012 - 10:01 PM

I have been investigating a bit more, on another Laptop my USB Windows 7 boots to , so its specific to my laptop that it doesnt boot I guess.

Also I know that USB Windows 7 Install boot fine on that laptop, no message about "winload missing or corrupted" and usb linux is possible too on it.
As described above, Plop doesnt boot from USB too on that Laptop, it just outputs "Bootmgr is missing", anything I can do about it?

#12 cdob

cdob

    Gold Member

  • Expert
  • 1347 posts

Posted 05 January 2012 - 10:52 PM

my bios basically list lots of devices

Change BIOS settings: Move USB KEY and USB FDC

Excluded from boot order:

USB KEY

USB FDC



PCI dev

Other USB devices

Which BIOS version do you use?
What about update to a current version?

#13 gnaf

gnaf

    Newbie

  • Members
  • 20 posts
  •  
    Austria

Posted 05 January 2012 - 11:37 PM

@cdob:
I have the latest (Check on Fujitsu Webseite, Amilo Xi 258 is my Laptop) which is already some years old, updating BIOS was already on my mind so I checked that already.
I also did the BIOS Boot Priority change you suggested, still having the same winload corrupted/missing error.

My Laptop is not completely "Not USB Bootable", Win 7 Install via USB Boots, USB-Linux Boots to..

Edited by gnaf, 05 January 2012 - 11:37 PM.


#14 cdob

cdob

    Gold Member

  • Expert
  • 1347 posts

Posted 06 January 2012 - 07:50 AM

Win 7 Install via USB Boots

How do you do this?
Which hardware do you use? Do you use the same USB hard disk?

#15 Wonko the Sane

Wonko the Sane

    The Finder

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

Posted 06 January 2012 - 10:34 AM

gnaf,
at the risk of looking more grumpy then usual :w00t:, can you please describe:
  • HOW EXACTLY did you "prepare" the USB device?
  • HOW EXACTLY did you "install" grub4dos and/or PLoP?
  • The EXACT contents of your menu.lst (if any)?
  • The EXACT contents of the bootBCD (as seen by bcdedit?
Now, you can notice how the above are numbered questions (you can tell this from the fact that they start with a number and end with the little hook sign called "question mark"), unless you provide EXACT, COMPLETE answers to them, it is UNlikely that anyone can provide you with meaningful help.
Compare with:
http://homepages.tes...ard-litany.html

For the record, and just a guess at tthis stage, it is possible that your laptop has one of those crippled BIOSes that only "likes" standard MBR or PBR code, so it is possible that by changing the booting code the problem can be solved, but it is impossible to say until we know what ACTUAL MBR and PBR you are now using and what alternate code works (see cdob's questions above).

:cheers:
Wonko

#16 erwan.l

erwan.l

    Gold Member

  • Developer
  • 1994 posts
  • Location:Nantes - France
  •  
    France

Posted 06 January 2012 - 12:55 PM

my 2 cents to help you go thru Wonko's checks.

1-about preparing the usb device :
start all over from scratch : since you laptops sounds tricky, use the "2PTNS" trick (use rmprepusb ), format it to ntfs, ensure the ntfs partition is active.
but reading you it seems boot -> mbr -> bootmgr works fine.

2-about grub4dos (although windows 7 boot loader should work fine on usb) use bootice or rmprepusb.

3-about grub4dos menu.lst : if I am correct, the default menu should do it as it will already propose to boot to ntldlr (xp/2003) or bootmgr (vista/win7).
But you should definitely have something like that in your menu.lst :

title find and load BOOTMGR
find --set-root --ignore-floppies /bootmgr
chainloader /bootmgr

4-about bcd, the winload.exe missing would indicate an issue at that level indeed mbr seems to trigger bootmgr fine which in turn use info from bcd to load the OS.
So I would definitely check this part.

#17 NetFanTom

NetFanTom

    Frequent Member

  • .script developer
  • 117 posts
  •  
    Germany

Posted 06 January 2012 - 03:30 PM

Hi! :)

"Windows Boot Manager"
File: Windowssystem32winload.exe
Status: 0xc000000e

Info: The selected entry could not be loaded...missing or corrupted

This is a typical error message when the boot process uses eg Grub4dos and the win /nt60 bootmgr on a hard drive unlike the first built in hard drive .

The error message does not appear when you start as first the win /nt60 bootmgr.
:thumbup:
The win /nt60 bootmgr without other boot manager set the boot disk logical as the first hard drive.

#18 gnaf

gnaf

    Newbie

  • Members
  • 20 posts
  •  
    Austria

Posted 06 January 2012 - 05:44 PM

'NetFanTom'

How do you do this?
Which hardware do you use? Do you use the same USB hard disk?


I used a USB Flash Drive, its not the same as I use for Windows 7 Install, I will be trying to use my USB Hard Disk to make a Install Version to clear this. USB Hard Drive is "SeaGate FreeAgent Go 120GB", USB Stick is "Kingston Data Traveler 4GB".


gnaf,
at the risk of looking more grumpy then usual :w00t:, can you please describe:

  • HOW EXACTLY did you "prepare" the USB device?
  • HOW EXACTLY did you "install" grub4dos and/or PLoP?
  • The EXACT contents of your menu.lst (if any)?
  • The EXACT contents of the boot\BCD (as seen by bcdedit?
Now, you can notice how the above are numbered questions (you can tell this from the fact that they start with a number and end with the little hook sign called "question mark"), unless you provide EXACT, COMPLETE answers to them, it is UNlikely that anyone can provide you with meaningful help.
Compare with:
http://homepages.tes...ard-litany.html

For the record, and just a guess at tthis stage, it is possible that your laptop has one of those crippled BIOSes that only "likes" standard MBR or PBR code, so it is possible that by changing the booting code the problem can be solved, but it is impossible to say until we know what ACTUAL MBR and PBR you are now using and what alternate code works (see cdob's questions above).

:cheers:
Wonko


1) I first formatted the drive using "HP Format Tool" (Quick Format,NTFS), then I used the tool "WinNTSetup2_x64.exe" , I input a "install.wim" of my Windows 7 SP1 Integrated ISO, selected my USB HardDisks Letter as Boot Drive & Installation Drive. I clicked on Tweaks, selected everything except "Turn off USB Device after safe remove" to disable pagefile etc. Then I pressed "Setup" in that tool and selected "Enable native USB Boot of Windows 7" and "Update bootsect.exe to update the boot code".
On my tower pc, qemu and another laptop, windows booted and installed like this fine from USB,my Laptop gave me the winload.exe corrupted message.

2/3) I used RMPREPUSB 2.1.632, selected my drive and pressed "Install Grub4Dos", then I made a menu.lst like this:





title Run Plop

root (hd0,0)

kernel /plpbt.bin


Then I copied the referenced "plpbt.bin" to my USB Disk into the root plpbt-5.0.13.zip (Extracted. from plpbt-5.0.13.zip).
On my tower pc and qemu Plop booted fine like this,my laptop said "bootmgr is missing".
4) Contents of boot\BCD

C:\Users\gng>bcdedit /store D:\boot\BCD

Windows-Start-Manager

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

Bezeichner			  {bootmgr}

device				  partition=D:

description			 Windows Boot Manager

locale				  en-us

inherit				 {globalsettings}

default				 {default}

resumeobject		    {134e1312-37bc-11e1-9158-406186f46250}

displayorder		    {default}

toolsdisplayorder	   {memdiag}

timeout				 30Windows-Startladeprogramm

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

Bezeichner			  {default}

device				  partition=D:

path				    \windows\system32\winload.exe

description			 Windows 7

locale				  en-us

inherit				 {bootloadersettings}

osdevice			    partition=D:

systemroot			  \windows

resumeobject		    {134e1312-37bc-11e1-9158-406186f46250}

nx					  OptIn

detecthal			   Yes

C:\Users\gng>





my 2 cents to help you go thru Wonko's checks.

1-about preparing the usb device :
start all over from scratch : since you laptops sounds tricky, use the "2PTNS" trick (use rmprepusb ), format it to ntfs, ensure the ntfs partition is active.
but reading you it seems boot -> mbr -> bootmgr works fine.

2-about grub4dos (although windows 7 boot loader should work fine on usb) use bootice or rmprepusb.

3-about grub4dos menu.lst : if I am correct, the default menu should do it as it will already propose to boot to ntldlr (xp/2003) or bootmgr (vista/win7).
But you should definitely have something like that in your menu.lst :

title find and load BOOTMGR
find --set-root --ignore-floppies /bootmgr
chainloader /bootmgr

4-about bcd, the winload.exe missing would indicate an issue at that level indeed mbr seems to trigger bootmgr fine which in turn use info from bcd to load the OS.
So I would definitely check this part.


1) Sorry, I couldnt figure out how to use the 2PTN Trick and Install Windows 7 ,since the USB Windows 7 tools want to format my drive again, so the 2PTN is destroyed.
2) I used RMPREPUSB to Install Grub4Dos as explained above.


Hi! :)


This is a typical error message when the boot process uses eg Grub4dos and the win /nt60 bootmgr on a hard drive unlike the first built in hard drive .

The error message does not appear when you start as first the win /nt60 bootmgr.
:thumbup:
The win /nt60 bootmgr without other boot manager set the boot disk logical as the first hard drive.


Hello NetFanTom, I dont understand what you are trying to tell me.

And Yes, I think my BIOS is "crippled" since I tested my Windows 7 & Plop Drive on another Laptop and my Tower PC it booted fine on both of them. Seems like my Laptop ignores Plop and goes straight to "BOOTMGR".

#19 Wonko the Sane

Wonko the Sane

    The Finder

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

Posted 06 January 2012 - 07:14 PM

You seemingly installed the grub4dos grldr.mbr to the MBR + hidden sectors.
Some (expecially laptop) BIOSes are (presumably :ph34r: intentionally :w00t:) crippled as NOT to work with grldr.mbr.

Leave the Hard disk alone, let's continue on the SAME device (the USB stick).


Try the following:
replace the MBR with the standard Windows 7 one
to do the above you can use the Wiindows 7 bootsect.exe, with the /mbr switch
http://technet.micro...577(WS.10).aspx
bootsect.exe /nt60 <DriveLetter:> /mbr
Then, verify that your bootsector is a Windows 7 one (most probably unneeded since you are already getting a bootmgr related error). with:
bootsect.exe /nt60 <DriveLetter:>

Now you need to add an entry for grub4dos in your \boot\BCD, as in here:
http://diddy.boot-la...ws.htm#windows3
you may need to add the parameter as in here (if for any reason you have a Windows 7 "hidden" system partition :ph34r:):
http://reboot.pro/9697/

Remove (temporarily) any menu.lst and see if you can get to grub4dos command line (or post what is happening).

Explanation, what you have now:
BIOS->MBR (grldr.mbr)->grldr->menu.lst->single entry to PLoP->plpbt.bin

Something in the above is not working as it should, so we are trying to workaround the problem.

BTW it is NOT a god idea to hardcode to (hd0,0), this is better, expecially when experimenting:
title Run Plop

find --set-root  /plpbt.bin

kernel /plpbt.bin

But even better is to get to grub4dos command line, you will need to get familiar with:
http://diddy.boot-la...iles/basics.htm
http://diddy.boot-la...s/files/cli.htm

Suggested steps should take you through:
BIOS->MBR (standard Windows7)->Active Primary partition on device->Bootsector(standard Windows7)->BOOTMGR->\boot\BCD->grldr->grub4dos command line

:cheers:
Wonko

#20 cdob

cdob

    Gold Member

  • Expert
  • 1347 posts

Posted 06 January 2012 - 07:23 PM

I used a USB Flash Drive, its not the same as I use for Windows 7 Install, I will be trying to use my USB Hard Disk to make a Install Version to clear this. USB Hard Drive is "SeaGate FreeAgent Go 120GB", USB Stick is "Kingston Data Traveler 4GB".

1) I first formatted the drive using "HP Format Tool" (Quick Format,NTFS)

As for testing:
Run Windows 7 diskpart, select USB hard disk, clean, create a partitiion, set active and format
Copy Windows 7 installation files to usb hard disk.
Does Amilo Xi 2528 boot?

Which MBR signatur and partition offset uses USB hard disk and internal disk at Amilo Xi 2528?
http://diddy.boot-la...t/files/bcd.htm

#21 gnaf

gnaf

    Newbie

  • Members
  • 20 posts
  •  
    Austria

Posted 06 January 2012 - 08:18 PM

@cdob:

I just prepared my disk using diskpart (clean,active,assign etc) and copied all files from my Windows 7 ISO to my USB Hard Disk, and as I expected it boots the Windows 7 Install from USB fine.

#22 gnaf

gnaf

    Newbie

  • Members
  • 20 posts
  •  
    Austria

Posted 06 January 2012 - 08:21 PM

@Wonko the Sane:
I just formatted my USB Flash Stick, did the following

bootsect.exe /nt60 E: /mbr

bootsect.exe /nt60 E:

And I get an error message at the following part:

C:Usersgng>BCDEDIT.EXE /store E:BCDboot /create /d "Start GRUB4DOS" /applica

tion bootsector

Der Speicher für die Startkonfigurationsdaten konnte nicht geöffnet werden.

Das System kann die angegebene Datei nicht finden.


The message means something like Cannot Find Bootconfigdata, System cannot find the specified File in German.

Edited by gnaf, 06 January 2012 - 08:22 PM.


#23 NetFanTom

NetFanTom

    Frequent Member

  • .script developer
  • 117 posts
  •  
    Germany

Posted 06 January 2012 - 09:36 PM

C:\Users\gng>BCDEDIT.EXE /store E:\BCD\boot /create /d "Start GRUB4DOS"/applica
tion bootsector


please change it:

C:\Users\gng>BCDEDIT.EXE /store E:\boot\BCD /create /d "Start GRUB4DOS" /application bootsector

Two questions:

You are using x64 install.wim to install a USB drive?
Your laptop is designed for x86?

#24 cdob

cdob

    Gold Member

  • Expert
  • 1347 posts

Posted 06 January 2012 - 09:54 PM

I just prepared my disk using diskpart (clean,active,assign etc) and copied all files from my Windows 7 ISO to my USB Hard Disk, and as I expected it boots the Windows 7 Install from USB fine.

Next run "WinNTSetup2_x64.exe" and apply install.wim.
Does Amilo Xi 2528 boot from USB Hard Disk still?

#25 gnaf

gnaf

    Newbie

  • Members
  • 20 posts
  •  
    Austria

Posted 06 January 2012 - 10:46 PM

@NetFanTom:

I used the command you posted, It gives me the message I posted above.

You are using x64 install.wim to install a USB drive?
Your laptop is designed for x86?

Yes, its 64Bit Windows SP1 integrated, my laptop is designed for x86 but I have been running 64bit Windows on it without problems for years, I also used (even a persistent usb version) of 64bit Linux on it too.

@cdob:
What should I choose in the following dropdown (screen of winntsetup) ? The drive is now a portable usb windows 7 installer which could be booted,maybe I shouldnt select the update bootsect option in the drop down?

Posted Image

Edited by gnaf, 06 January 2012 - 10:46 PM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users