Jump to content

USB Booting issues


toja92

Recommended Posts

The files you sent are invalid.

WHY did you save them as .txt?

They are filled with 2E's :w00t:

What did you use to 00 fill the drive?

You didn't open them in NOTEPAD (or other non-binary-enabled application) and saved them, didn't you? :unsure:

Since you are working with Vista :(, try using it's DISKPART utility as follows:

list disk

(to make sure that the USB stick is disk 1 below, if not change accordingly)

select disk 1

clean

create partition primary

select partition 1

active

exit

Remove the USB stick.

Reinsert USB stick.

Right click on it in Explorer and choose to format it.

Run bootsect.exe /nt52

Remove the USB stick.

Reinsert USB stick.

Use HDhacker to save MBR and bootsector, give to the files the extension .dat, do not open them with any program, just zip or rar them and attach them.

jaclaz

Link to comment
Share on other sites


Run bootsect.exe /nt52

Quite hard to run since I don't have the DVD, I bought a cheap laptop with preinstalled Vista and I did not get a DVD with it, so I can't run it.

Anyways I skipped that step and posting the .dat files here.

BootSector_MBR.rar

Edited by toja92
Link to comment
Share on other sites

Run bootsect.exe /nt52

Quite hard to run since I don't have the DVD, I bought a cheap laptop with preinstalled Vista and I did not get a DVD with it, so I can't run it.

Anyways I skipped that step and posting the .dat files here.

Strange. :unsure:

I thought bootsect.exe wass installed by default, have you tried opening a command prompt and running it?

http://support.microsoft.com/kb/919529/en-us

However the MBR you posted is simply "crazy", cannot say what may cause this behaviour.

Get beeblebrox here:

http://students.cs.byu.edu/~codyb/

and use it to access your stick, you'll see values:

06-80-0-2-3-248-254-63-128-4013568

"Right" values should be:

06-80-0-1-1-248-254-63-63-4000122

Try correcting them, save changes, extract and reinsert USB stick, re-format it.

Still we need to find a way to correct the bootsector to invoke NTLDR if you do not have bootsect.exe, Vistabootpro should have a feature for it:

http://www.pronetworks.org/forum/viewtopic.php?t=77547

http://www.vistabootpro.org/

See if it works...

jaclaz

Link to comment
Share on other sites

I found a working version of bootsect, so I did a /nt52, should I try placing ntdetect.com, ntldr and boot.ini files on it? And I corrected the values with beeblebrox too....

EDIT: Placed ntdetect.com, ntldr and boot.ini files, and it worked(I see the two fake entries I wrote in boot.ini) :D So, to see if it worked, I started the installation, copied the files (no change partitioning, so it's FAT16), and guess what? Same old blinking "_" and it don't work. I tried running a bootsect /nt52 again, changing boot.ini (the two old entries still not there and changed timeout to 30, but still, no dice. I appreciate your big help so far, do you know how I should continue? Can you make it boot some way? Remember, windows is "half-installed" (files only copied), or should I remove the files and try something else?

Edited by toja92
Link to comment
Share on other sites

Well, the good news is that we found a replicable way to make the stick bootable. :)

I need to know EXACTLY which steps you took for "starting" the installation, or if you prefer, a link to the tutorial you are using/trying to follow.

Since this "peculiar" machine (or couple stick/motherboard) appear to behave weirdly, ANY step that involves re-formatting or re-partitioning the stick should be avoided, if the stick is booting and after the whatever-you-do it is not booting anymore, it means that the procedure changes something.

For the record, a blinking cursor is usually connected to a problem with the bootsector, whilst the "Non system disk, replace and press any key" is usually connected to a MBR problem.

You should repeat the steps that made the stick bootable, I would try also - before formatting - to experiment in beeblebrox changing the 06 (FAT16 CHS mapped) to 0E (FAT16 LBA mapped).

Once you have a booting stick, simply use hdhacker to save both MBR and bootsector, then, once the stick fails to boot, simply restore those two sectors with hdhacker.

Please save your current (NOT BOOTING) MBR + bootsector, then repeat the procedure for making the stick bootable and save the (GOOD, BOOTING) MBR + bootsector, post the four of them, maybe I can find by looking at them what is wrong.

jaclaz

Edited by jaclaz
Link to comment
Share on other sites

I had partial success after writing the working bootsect & mbr, but Windows was only "half installed" and after that I tried to boot which failed with a bluescreen. I will try again soon. Here are three different mbrs and bootsectors, one none working, one working and one after win xp setup. The tutorial I'm following is available on WinUSB (I downloaded tutorial 5, but you can choose "tutorial" from the menu at top to just read). Big thanks for your help so far :thumbup

HDHacker.rar

Link to comment
Share on other sites

Hmmm, still something is strange...:unsure:

The three bootsectors are IDENTICAL (exception made for volume serial that is irrelevant).

The three MBR's are ALMOST identical:

Bad_MBR_HardDisk1.dat and MBR_HardDisk1.dat are identical.

Win_XP_MBR_HardDisk1.dat, instead has partition type set as 0E instead of 06.

The non-booting of the couple Win_XP_MBR_HardDisk1.dat+Win_XP_BootSector_DriveH.dat can be attributed to the partition type change (it should mean that your motherboard BIOS does not like LBA addressing on USB stick).

But there is NO reason :w00t: why the couple Bad_MBR_HardDisk1.dat+Bad_BootSector_DriveH.dat does not boot while the couple

MBR_HardDisk1.dat+BootSector_DriveH.dat works, as they are IDENTICAL.

Maybe in the haste of testing you "mixed" versions? Or a "cold" or "warm" reboot was needed? :unsure:

Just in case I am attaching a "fixed" MBR that implements the same "hack" the HP USB formatting utility uses, see here for reference:

http://www.boot-land.net/forums/?showtopic=2246&st=15

It should be "more" compatible and hopefully let you boot with both 06 and 0E as partition type.

jaclaz

MBR_HardDisk1_fixed.zip

Link to comment
Share on other sites

Do you have any idea why windows only gets "half installed" ie. It copies the files and when I rewrite the working boot sectors, it think windows already is installed but it isnt, so I end up with a bsod.

Link to comment
Share on other sites

You do not get "a" BSOD, you get a BSOD with an error number.

If it is 0x0000007b "Inaccessible boot device", first thing to try is the modified NTDETECT.COM:

http://www.msfn.org/board/0x0000007B-Blue-...xt-t112630.html

However, besides tutorial 5, you may want to look here:

http://forums.ngine.de/viewforum.php?f=4

http://www.ngine.de/index.jsp?pageid=4176

And here, a "less known" page that may clear some points:

http://www.nedprod.com/Niall_stuff/BootWinUSB/

And even try the "fully automated" way:

http://www.usboot.org/tiki-index.php

Just in case I am attaching an archive containing the (supposedly working, UNTESTED by me) .sif and .in_/.inf files.

jaclaz

USBBOOT_files.zip

Edited by jaclaz
Link to comment
Share on other sites

Now here's something ;) I got it partially working (installed, and booting). But after I logged in (only have one account except administrator acc.) logonui.exe freezes. I tried pressing ctrl+alt+delete and task manager turns up. Two seconds later, I get a POOL_BAD_DRIVER bsod, and I can't boot in safe mode (after logging in, whole windows crash, no bsod). Any clue about whats wrong?

Link to comment
Share on other sites

Check, re-check, and triple check EVERYTHING.

Set the BIOS to use as less "advanced" options as possible, disable in it any device that is not vital, like audio, parallel ports, network card, etc.

Boot with /BASEVIDEO and /BOOTLOG

http://technet.microsoft.com/en-us/sysinte...s/bb963892.aspx

Check the the file %SystemRoot%\Ntbtlog.txt

POOL_BAD_DRIVER says nothing to me, post the CODE of the BSOD, and any other reference.

http://www.geekstogo.com/forum/Windows-XP-...des-t43519.html

http://northtechs.com/blscreen.htm

http://www.updatexp.com/stop-messages.html

Check the Event Viewer files on a working machine:

http://support.microsoft.com/kb/165959/en-us

i.e. *.evt under %SystemRoot%\System32\Config\

This app has a FREE personal license:

http://www.eventlogxp.com/

A good idea could be that of starting again from scratch.

I assume you ALREADY tested the nliting by installing from the modified source on a "normal" HD, didn't you? :unsure:

Use the files I posted, after having re-chacked them.

jaclaz

Link to comment
Share on other sites

"I assume you ALREADY tested the nliting by installing from the modified source on a "normal" HD, didn't you?" Actually, no. I don't have any spare / extra harddrive laying around here. I have a external drive, but I don't want to "challenge destiny". That's why I want to install to my usb drive, so I don't have to use a extra harddrive.

"POOL_BAD_DRIVER says nothing to me, post the CODE of the BSOD, and any other reference." Tricky part, the bsod flashses by one second and then my computer restarts. Should I disable "reboot on system errors" when I press F8 before windows tries to boot?

Actually, it works (partially) with your .sif and .in_/.inf files. And no, I can't use the automated way, I don't know which computer I should do these steps on (it changes some system files, right? plus I can't NLite the files also ;))

I attached ntbtlog.txt (Or, one "normal" and one in "safe mode")

ntbtlog.rar

Edited by toja92
Link to comment
Share on other sites

"I assume you ALREADY tested the nliting by installing from the modified source on a "normal" HD, didn't you?"

Actually, no. I don't have any spare / extra harddrive laying around here. I have a external drive, but I don't want to "challenge destiny". That's why I want to install to my usb drive, so I don't have to use a extra harddrive.

Yes, but the result is that you cannot boot from it, and we have several "layers" of possible causes:

1) the "quality" of the source (meaning the number of integrated SP's and KB fixes/security updates)

2) the "entity" of your nliting (did you remove too much? :unsure:)

3) hardware drivers

4) "my" .sif and .inf's

You should AT LEAST try installing your source (WITHOUT and WITH) the USB mods, in a Virtual Machine, VirtualBox should be allright:

http://www.virtualbox.org/

"POOL_BAD_DRIVER says nothing to me, post the CODE of the BSOD, and any other reference."

Tricky part, the bsod flashses by one second and then my computer restarts. Should I disable "reboot on system errors" when I press F8 before windows tries to boot?

YES, it is VITAL to know which exact error is, it may help in finding what the problem is.

You can change the Registry Entry:

http://www.pctools.com/guides/registry/detail/229/

autoreboot to 0

(Offline you will need to access ControlSet001 instead of CurrentControlSet)

Actually, it works (partially) with your .sif and .in_/.inf files. And no, I can't use the automated way, I don't know which computer I should do these steps on (it changes some system files, right? plus I can't NLite the files also ;))

No, it does not change system files, only cannot say if it would run under Vista.

I attached ntbtlog.txt (Or, one "normal" and one in "safe mode")

As expected, (since you get to the logon screen) the initial loading appers to be OK, the error happens later, do check the Event Logs.

jaclaz

Link to comment
Share on other sites

Just remembered, have Microsoft Virtual PC 2007 Lol,... Will try right away... :P

EDIT: Seems like it's removed, trying virtual box instead.

EDIT2/update: Virtual Box is better than Virtual PC 2007, I have to admit. Now I can do the "fully automated" way, because I can "insert" my usb drive to the virtual XP. Here's the error message I got by the way:

***stop: 0x000000c2 0x00000007 0x00000CD4 0x00000000 0xE15D0004

I will try the automated way & report back ;)

EDIT3: Oh noes, I managed to write the MBR of the stick to my external drive, so now windows thinks it needs to be formatted and acronis disk director suite only finds a 1.91 gB (exactly the size of my stick) of the drive. Do you know how to recover my data? I'm searching with acronis disk direcor suite now to see if I find a deleted partition, but how should I do if it can't find it?

Nevermind. Will backup necessary files to various mp3's, my stick and my internal drive, so I'll work it out. Besides I will probably buy another 500 gB tomorrow, or in two days :D

EDIT4: Installed a nlited xp sp 3 in a virtual machine. It runs good. Used USBoot, worked good. Copied the files to my stick. Worked good. Trying to boot. Total failure. I tried replacing the bootsector with bootsect /nt52 <driveletter>, before doing that, it said invalid system disk. Now I only see a black screen, no "_" or something. So I don't know how to continue. Any clues?

Edited by toja92
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...