We’d like to remind Forumites to please avoid political debate on the Forum.

This is to keep it a safe and useful space for MoneySaving discussions. Threads that are – or become – political in nature may be removed in line with the Forum’s rules. Thank you for your understanding.

📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!
The Forum now has a brand new text editor, adding a bunch of handy features to use when creating posts. Read more in our how-to guide

boot.ini empty

Here's one for you..
XP Laptop.
Major virus took down file structure.
Windows rebuilt it ok but it's left me with an empty boot.ini.

Normally I'd just do a repair, but the Xp disk is not even giving me that option.

Tried system restore. didn't solve the problem.

Any alternatives to a clean install?

Comments

  • [Deleted User]
    [Deleted User] Posts: 262 Forumite
    Part of the Furniture 100 Posts Combo Breaker
    edited 9 February 2010 at 8:00PM
    Assuming that Windows is installed on the first partition, edit your boot.ini file so that it contains 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" /fastdetect
    


    If that doesn't work, try changing the partition number (in both places) to 2, then 3, then 4. One of those numbers will work.

    All this assumes that you only have a normal laptop with one hard drive and not a particularly large one with 2 hard drives and possibly RAID.
  • busenbust
    busenbust Posts: 4,782 Forumite
    Although the boot.ini is empty does everything else in the OS work OK?
  • busenbust
    busenbust Posts: 4,782 Forumite
    ...and provided the machine is now virus and malware free, do any of the recovery options in this thread help?
  • -TangleFoot-
    -TangleFoot- Posts: 4,673 Forumite
    Part of the Furniture Combo Breaker
    tentonine wrote: »
    Edit: after viewing the post on the forum, there appear to be some extra space (e.g. WINDOW S instead of WINDOWS). Those spaces shouldn't be there and they do not appear when I edit the message.
    If the forum mangles your text, use
    tags to preserve spacing.[QUOTE]HKEY_LOCAL_MACHINE\System\CurrentControlSet\Hardware Profiles\Current[/QUOTE][code]HKEY_LOCAL_MACHINE\System\CurrentControlSet\Hardware Profiles\Current
    
  • If the forum mangles your text, use [code] tags to preserve spacing.
    Thanks - that's very useful.
  • chunter
    chunter Posts: 2,026 Forumite
    Part of the Furniture 1,000 Posts Combo Breaker
    In the end it was either the graphics driver or Avira which had been corrupted.
    Took off both and it stopped stalling.
    Stuck SP3 on it and it's playing ball now.

    boot.ini still empty and giving me a dos error "boot.ini corrupted" at boot,
    but it's booting up ok.
    i'll stick tentonline's stuff in it tomorrow.

    I'm surprised XP doesn't keep a backup of it somewhere.
  • I think the reason there is no backup is that it is essentially the same on all computers and easy to reconstruct. It can be reconstructed with the command line utility bootcfg, but it is generally easier just to type it in manually.
  • tentonine wrote: »
    It can be reconstructed with the command line utility bootcfg, but it is generally easier just to type it in manually.
    I suspect one would be less likely to make a mistake if one were to use the utility...
This discussion has been closed.
Meet your Ambassadors

🚀 Getting Started

Hi new member!

Our Getting Started Guide will help you get the most out of the Forum

Categories

  • All Categories
  • 353.5K Banking & Borrowing
  • 254.1K Reduce Debt & Boost Income
  • 455K Spending & Discounts
  • 246.6K Work, Benefits & Business
  • 602.9K Mortgages, Homes & Bills
  • 178.1K Life & Family
  • 260.6K Travel & Transport
  • 1.5M Hobbies & Leisure
  • 16K Discuss & Feedback
  • 37.7K Read-Only Boards

Is this how you want to be seen?

We see you are using a default avatar. It takes only a few seconds to pick a picture.