Blinking cursor at failed boot

B

BillW50

Or open boot.ini in a Linux text editor, and see whether it
looks reasonable.

The BIOS has a bad habit of renumbering disks, during
BIOS hardware detection. There is a difference sometimes,
between setting the boot order in the BIOS (save and exit),
versus using the popup boot menu. On my backup machine,
that was preventing Windows from booting, just because
two additional SATA drives happened to be plugged in at
the time.

My primary computer doesn't have that problem, and WinXP
on there always behaves. Because the BIOS doesn't have
quite as many curve balls in it.

We tried that already and no joy. Well changing the partition in
boot.ini anyway. Jon never changed disk in boot.ini as far as I know
(although the drive is set at master and I didn't think that was the
problem). Although now knowing about that NTLDR error, I don't think
boot.ini has anything to do with the problem.
 
J

Jon Danniken

You know this is something that is a super long shot. But delete the
pagefile.sys file and retry. I figure success is like less than like
0.001% chance that it will help, but it is easy to try and won't hurt
anything.

Sorry Bill, I didn't phrase that correctly. I meant to say that I have
seen that message before in the past with other systems I have worked
on; I have not seen that message on this system. I have never had any
trouble with it, other than now.

I did move in to get rid of the pagefile, but there wasn't one (which
struck me as odd). Usually a missing pagefile will throw up a message
during logon, but of course I'm not getting that far.

I did find the hiberfil.sys file, which I backed up and deleted, but
still no joy.

Jon
 
J

Jon Danniken

OK one more thing to try from the repair console


BOOTCFG /REBUILD

Thanks philo, I gave that a whirl, and it added a line in boot.ini, but
still no boot.

Jon
 
P

Paul

Jon said:
Thanks philo, I gave that a whirl, and it added a line in boot.ini, but
still no boot.

Jon

A Googling, suggests removing any extraneous USB devices.
For example, some USB printers have a USB SD card reader,
and a computer BIOS may interpret that as a boot device
and become confused.

Paul
 
J

Jon Danniken

A Googling, suggests removing any extraneous USB devices.
For example, some USB printers have a USB SD card reader,
and a computer BIOS may interpret that as a boot device
and become confused.

Thanks Paul, I have nothing extraneous connected to the laptop. Didn't
enable anything in the BIOS, either.

Jon
 
P

Paul

Jon said:
Thanks Paul, I have nothing extraneous connected to the laptop. Didn't
enable anything in the BIOS, either.

Jon

"Computer stops responding with a black screen when you start Windows XP"

http://support.microsoft.com/kb/314503

Here's another.

http://www.bleepingcomputer.com/for...oesnt-boot-black-screen-with-blinking-cursor/

"Finally, out of my own frusteration, I booted the computer to
Hirem's Boot CD and used it's "Fix NTLDR Is Missing" tool using
the first option out of 10 possible fixes and wham! Boots Windows
first try. However, upon restart of the customer's computer I am
again greeted with the black screen and a blinking cursor. I must
use Hirem's Boot CD to boot Windows each time."

Weird. I wonder if a pagefile problem could throw it off early
in the boot process ?

Another web page suggests copying the files from a WinXP installer CD.

COPY D:\I386\NTLDR C:\
COPY D:\I386\NTDETECT.COM C:\
Remove the Windows XP CD from the drive and restart the computer.

HTH,
Paul
 
P

philo 

<snip>

l, and Ben. Linux (fdisk -l) is indeed showing the WinXP
Thanks philo, I gave that a whirl, and it added a line in boot.ini, but
still no boot.

Jon


OK , I've lost track of everything you tried but I've overlooked
something . I'd try running chkdsk /r from the repair console.


If you have already tried that there is one other thing I've done to fix
a non-booting system.

I use a Win7pe boot cd which boots to a win7 environment
then run chkdsk /f on the drive


Makes no sense really but I've seen that fix the system when chkdsk /r
from the console did not.
 
J

J. P. Gilliver (John)

In message <[email protected]>, Jon Danniken
Thanks Paul, and Ben. Linux (fdisk -l) is indeed showing the WinXP
partition as the boot partition (it has the asterisk in the Boot column).

Jon
Would (backing up some files and then) installing something simple and
bootable _on that partition_ eliminate some possible scenarios? (I was
going to say a DOS boot, but the partition is I'm guessing NTFS, and I
don't think DOS will run from that.) If you can do this, and it does
boot, then it would tie the problem down to being definitely something
about the Windows XP system, rather than any other partition/config or
whatever.
 
J

J. P. Gilliver (John)

Jon Danniken said:
Thanks Paul, I have nothing extraneous connected to the laptop. Didn't
enable anything in the BIOS, either.

Jon
If it's a laptop, it's quite likely that some of the internal hardware
is - either in reality or at least as far as the processor is concerned
- connected via USB; the webcam quite often is, for example.

(Though that's unlikely to be the cause of the problem as that
hardware's been there throughout.)
 
B

BillW50

In J. P. Gilliver (John) typed:
In message <[email protected]>, Jon Danniken

Would (backing up some files and then) installing something simple and
bootable _on that partition_ eliminate some possible scenarios? (I was
going to say a DOS boot, but the partition is I'm guessing NTFS, and I
don't think DOS will run from that.) If you can do this, and it does
boot, then it would tie the problem down to being definitely something
about the Windows XP system, rather than any other partition/config or
whatever.

How about installing the Recovery Console on the hard drive? It installs
right in the Windows boot partition. And it sets up either booting the
Recovery Console or XP.

http://www.bleepingcomputer.com/tutorials/how-to-install-the-windows-xp-recovery-console/
 
B

BillW50

In J. P. Gilliver (John) typed:
If it's a laptop, it's quite likely that some of the internal hardware
is - either in reality or at least as far as the processor is
concerned - connected via USB; the webcam quite often is, for example.

(Though that's unlikely to be the cause of the problem as that
hardware's been there throughout.)

Yes this is true. My EeePC netbooks has two USB devices built in. The
cam and the SD card slot. I can't think of a reason the SD card reader
was ever a problem for anything. Although there are conditions where the
cam is a problem. And I believe it gets in the way when you install an
OS. As OS like Windows Setup I guess switches all USB devices down to
v1.1 speeds by default when you start an install. And the cam can't run
at 1.1 speeds and locks up the system. So the trick is disabling the cam
through the BIOS Setup. Then you can toggle it back on later after it is
installed.
 
J

Jon Danniken

"Computer stops responding with a black screen when you start Windows XP"

http://support.microsoft.com/kb/314503

Here's another.

http://www.bleepingcomputer.com/for...oesnt-boot-black-screen-with-blinking-cursor/


"Finally, out of my own frusteration, I booted the computer to
Hirem's Boot CD and used it's "Fix NTLDR Is Missing" tool using
the first option out of 10 possible fixes and wham! Boots Windows
first try. However, upon restart of the customer's computer I am
again greeted with the black screen and a blinking cursor. I must
use Hirem's Boot CD to boot Windows each time."

Weird. I wonder if a pagefile problem could throw it off early
in the boot process ?

Another web page suggests copying the files from a WinXP installer CD.

COPY D:\I386\NTLDR C:\
COPY D:\I386\NTDETECT.COM C:\
Remove the Windows XP CD from the drive and restart the computer.

Thanks Paul. I've wanted a Hiren for awhile, so I burned one; sure
enough, it was able to boot into WinXP without any trouble whatsoever,
just using the first option (not the "fix ntldr" option). Without
using Hiren, though, it doesn't boot.

Once it boots with Hiren pagefile.sys is rebuilt, and it persists after
shut down.

I did try changing out ntldr and ntdetect, but again no dice. The MS
site suggested making a boot floppy, but I don't have a USB floppy drive
(yet), nor any floppy drives on this one.


Jon
 
J

Jon Danniken

OK , I've lost track of everything you tried but I've overlooked
something . I'd try running chkdsk /r from the repair console.


If you have already tried that there is one other thing I've done to fix
a non-booting system.

I use a Win7pe boot cd which boots to a win7 environment
then run chkdsk /f on the drive


Makes no sense really but I've seen that fix the system when chkdsk /r
from the console did not.

Thanks philo. I did try a "chkdsk /r" yesterday, and /f isn't available
with the XP repair console (it is implied, however).

I don't have a Win7PE disk made up, but I'll put that on the plate.

Jon
 
J

Jon Danniken

In J. P. Gilliver (John) typed:


How about installing the Recovery Console on the hard drive? It installs
right in the Windows boot partition. And it sets up either booting the
Recovery Console or XP.

http://www.bleepingcomputer.com/tutorials/how-to-install-the-windows-xp-recovery-console/

Thanks John and Bill. I was able to boot the system with Hiron's boot
disk, and I went through the procedure to install the recovery console
to the C:\ partision.

Unfortunately, as it is referenced through boot.ini, which I am unable
to get to, I don't even get to that option.

Oddly enough, when I boot with Hiron, I can see the line to boot into
the recovery console I created, but selecting it does nothing but the
blinking cursor. Hiron is, however, able to boot into the system using
the "Microsoft Windows XP Professional" line, however.

Jon
 
P

philo 

Thanks philo. I did try a "chkdsk /r" yesterday, and /f isn't available
with the XP repair console (it is implied, however).

I don't have a Win7PE disk made up, but I'll put that on the plate.

Jon




I have not investigated everything in the Hirens CD

it may even have such a utility.


Also, supposedly gparted has a repair capability
The one on my machine does not...but I've seen some posts referencing it.
 
J

Jon Danniken

I have not investigated everything in the Hirens CD

it may even have such a utility.


Also, supposedly gparted has a repair capability
The one on my machine does not...but I've seen some posts referencing it.

Aye, gparted has a fix option, and I actually tried that the other day
when this started.

Jon
 
J

Jon Danniken

I did try changing out ntldr and ntdetect, but again no dice. The MS
site suggested making a boot floppy, but I don't have a USB floppy drive
(yet), nor any floppy drives on this one.

Just for fun I deleted ntldr and rebooted. I didn't get the "NTLDR
Missing or Corrupt" message, so whatever is happening isn't getting that
far in the process.

Jon
 
B

BillW50

In Jon Danniken typed:
Thanks John and Bill. I was able to boot the system with Hiron's boot
disk, and I went through the procedure to install the recovery console
to the C:\ partision.

Unfortunately, as it is referenced through boot.ini, which I am unable
to get to, I don't even get to that option.

Oddly enough, when I boot with Hiron, I can see the line to boot into
the recovery console I created, but selecting it does nothing but the
blinking cursor. Hiron is, however, able to boot into the system
using the "Microsoft Windows XP Professional" line, however.

Using Hirem's Boot CD, you can edit the boot.ini file within Windows
under Control Panel -> Systems -> and Advanced tab. Or you can do this
manually. Instead of hitting the F8 key to pop up the menu on a
perfectly working XP system, you can tell boot.ini to pop it up there
automatically. I forget what the line looks like though. Maybe it is
this one.

timeout=30

An example where it goes is like this:

boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Windows XP Professional"
/fastdetect
multi(0)disk(0)rdisk(0)partition(2)\WINNT="Windows 2000 Professional"
/fastdetect

This is an example of booting either XP or 2000. The menu will stay
there in this example for 30 seconds waiting for the user to select one.
If 30 seconds passes, the default one will load.
 
P

philo 

Just for fun I deleted ntldr and rebooted. I didn't get the "NTLDR
Missing or Corrupt" message, so whatever is happening isn't getting that
far in the process.

Jon



If the drive was totally blank you'd get an error message such as "non
system disk".



I beleive the first file to load would be NTLDR so if it's missing you
will of course get the "NTLDR missing" message.


So it looks like the problem is in the MBR


I found some MBR tools here, they may be useful but I've never tried them.

http://www.raymond.cc/blog/5-free-tools-to-backup-and-restore-master-boot-record-mbr/
 
P

Paul

Jon said:
Just for fun I deleted ntldr and rebooted. I didn't get the "NTLDR
Missing or Corrupt" message, so whatever is happening isn't getting that
far in the process.

Jon

Interesting.

I was going to suggest this, but I guess not. As you'd
proved it's not going to help.

http://support.microsoft.com/kb/305595

The idea is, you use the Windows installer CD, go to i386 and
get a copy of NTLDR and NTDETECT.com and copy those to a floppy.
Then, I went to the existing C: drive and copied boot.ini from
C: to the floppy, a total of 3 files. Note - before you object,
the usage of a floppy, is part of an imaging trick - this floppy
will *not* be offered to the broken computer.

Then, I used this.

http://www.chrysocome.net/dd

( http://www.chrysocome.net/downloads/dd-0.6beta3.zip )

Then, make an image of the floppy. This is a sector by
sector image. It copies every sector on the floppy.
DD has some bugs in its "end-of-device" check, but in
this case, it knows where the end of the floppy is.

dd if=\\?\Device\Floppy0 of=bootxp.dd bs=512

The resulting file should be 1,474,560 bytes (2880 sectors).
So now I have an image of a FAT12 floppy, with three files on
it, stored in a 1,474,560 byte file.

Next, I transfer that to my 1GB Kingston USB flash.

dd if=bootxp.dd of=\\?\Device\Harddisk2\Partition0 bs=32768 count=45

which will transfer the floppy image to a USB stick. The larger the
block size parameter the better, as long as it's a power_of_two. So 32768
is as close as I can get to the larger USB flash stick storage size.

Note, the files that were already on the USB stick, I didn't lose them,
because I backed them up.

dd if=\\?\Device\Harddisk2\Partition0 of=savethefiles.dd bs=262144 count=3838

The dimensions of devices can be determine by using this command,
as described on the program author's web site.

dd --list

and knowing that "Partition0" represents the whole device as a block device.
That's where I get the information that my USB stick is 1,006,108,672 bytes.
And know that 262144 * 3838, copies the entire USB stick.

I can reverse the dd transfer, and put the image of what was on there, back.

*******

OK, I did two boot tests. I booted the floppy with NTLDR, NTDETECT.com
and boot.ini, and it presented the OS boot choice menu (WinXP boot manager).
So that worked. That means the floppy bootstrapped me into WinXP, and
the WinXP boot manager took over. The boot.ini ARC path was important
to that process selecting the correct disk. I have two disks, and WinXP
is on only one of the disks. The floppy targeted the correct disk.

Next, I used the popup boot and selected the USB flash stick. And the same
thing happened, it booted to the WinXP boot manager, and WinXP booted. So the
Microsoft recipe works :)

The reason the image transfer using "dd" is needed, is to get around the
USB flash stick formatting issue. The format on the floppy is likely
something like FAT12 or FAT16. You can't expect to take a huge USB flash
stick, and convince Windows to format it FAT12. By imaging a floppy diskette,
file system and all, and transplanting it onto the USB key, that is part of
what makes this work. The floppy is used as an intermediate "cheating" step.

The other part, is certain "emulation" modes the BIOS has. It treats USB
devices according to size in some cases. Some BIOS even know when a USB ZIP
drive is connected to the computer, and do something different internally
for those. So there's no guarantee that my experience would have worked
for you. Some older BIOS, just don't have good working USB boot options.

*******

Is the file system on that disk, mountable from Linux ? That would
tell you the file system header is at least partially OK. Linux
may not check everything in there for consistency. I would have
thought CHKDSK run from some Windows environment (recovery console),
should also have been looking at that. Windows probably wouldn't have
mounted the partition, if it didn't recognize it. So right away,
that suggests the file system header (bytes at the very beginning
of the partition) are OK.

In Linux, you can do

sudo disktype /dev/sda

to get a rundown of what Linux thinks is on the disk in terms of
file systems. I expect GParted would display the information
as well. I like disktype because it's a small (optional) tool
which is handy when something is broken.

http://disktype.sourceforge.net/

With enough fiddling, you can even get Package Manager and
a network connection on a LiveCD, to give you a copy of the
binary of that. Few distros come with that as standard. You
have to go into the Package Manager, turn on all the Repositories,
reload, then search for disktype, all to get the tiny executable.

I don't really know where to go next. You did a fixboot (update
the boot sector in the C: partition, in the file system header
area) as well as fixmbr (fix the 440 bytes in the MBR sector 0).
You shouldn't really need to do a fixboot, unless the partition
had been formatted and the file system header overwritten by
a formatter. I know this, because I copy the files off my
WinXP occasionally, format C:, and copy the files back. And
the OS won't boot, unless that is followed by a fixboot. Otherwise,
you probably wouldn't (normally) need it.

So that's yet another option for you (if you're bored). Copy
all the files off C:. Reformat C:. Copy all the files back.
Do a fixboot. Make sure NTLDR, NTDETECT.com and boot.ini
are present. And try booting. That's a lot of work, and
when I do that process, I dual boot Win2K and do the file
copying step from there. So it's not something you do with
only one OS present. While you can do things like run an
NTBACKUP plugin from BartPE and other exotic things, that's
really reserved for when you have a running system and
need a hobby :)

Paul
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top