Invalid boot ini file booting from windows

Invalid boot ini file booting from windows

Сообщения: 2907
Благодарности: 331

Конфигурация компьютера
Материнская плата: Asus P8P67
HDD: 1 Тб
Звук: Интегрированная
CD/DVD: DVD читающий/пишущий
ОС: Windows 7 Home Premium x64

И еще: незнакомых процессов нет!

Petya V4sechkin, вирусы ТОЛЬКО в программе R&Q, которая устанавливалась вручную (без инсталлятора).

Ошибка «Неправильный файл boot.ini» в Windows XP

В Windows XP файл boot.ini управляет меню загрузки операционных систем и указывает откуда именно загружать файлы операционной системы. Если его случайно или злонамеренно удалить, грузиться Windows будет, но станет доставать ошибкой «Неправильный файл boot.ini. Загрузка с C:\WINDOWS».

Однако если установлено более одной операционной системы, то выбрать их при загрузке не получится. Восстановить boot.ini довольно легко, рассмотрим три самых распространённых случая с содержимым файла boot.ini.

Что нужно сделать

1. Если установлена одна операционная система Windows XP на первом разделе жесткого диска (на диске C:), то файл должен содержать следующие строки:

multi(0)disk(0)rdisk(0)partition(1)\WINDOWS=»Microsoft Windows XP Professional RU» /noexecute=optin /fastdetect

Нужно всего лишь создать текстовый файл и скопировать в него эти строки, а сам файл положить в корневую папку диска «C:».

2. Если было установлено две операционные системы Windows XP, на диски C: и D:, тогда содержимое изменится на такое:

multi(0)disk(0)rdisk(0)partition(1)\WINDOWS=»Microsoft Windows XP» /noexecute=optin /fastdetect

multi(0)disk(0)rdisk(0)partition(2)\WINDOWS=»Microsoft Windows XP (2)» /noexecute=optin /fastdetect

3. Если на компьютере установлена «Консоль восстановления», то к обоим первым случаям добавляется такая строчка:

c:\CMDCONS\BOOTSECT.DAT=»Microsoft Windows XP Recovery Console» /CMDCONS

С помощью параметра timeout можно указать время ожидания выбора из меню, работает только если есть больше одного пункта, минимальное значение 3.

Можно восстановить файл boot.ini в полуавтоматическом режиме, для этого понадобится установочный диск Windows, с помощью которого входим в «Консоль восстановления».

В консоли проводим следующие действия:

  1. вводим: bootcfg /rebuild
  2. после поиска имеющихся операционных систем консоль спросит:

«Добавить систему в список загрузки? ([Y(да)/N(нет)/A(все)]:»

вводим «Microsoft Windows XP Professional RU» или как хочется чтобы отображалось в меню.

вводим «/fastdetect»

Всё, теперь вводим «exit» чтобы перезагрузиться, файл boot.ini создан заново. А я желаю вам удачи, будьте осторожны, не удаляйте системные файлы.

PS: в зависимости от версии и языка операционной системы сообщения могут отличаться, но смысл тот же.

Invalid BOOT.INI file Booting from c:\WINDOWS\

#1 pilot

  • Posters
  • 143 Сообщений:
  • на ноуте две системы — хр и вин7.

    при загрузке, после меню выбора системы, появляется надпись:

    Invalid BOOT.INI file

    Booting from c:\WINDOWS\

    если гружусь в хр, то диск с хр становится С:

    если гружусь в вин7, то диск с вин7 становится С:

    насчет надписи. как убрать эту ошибку, где поправить?

    по форумам — всякое, кто грит вирус, кто пытается править.

    Сообщение было изменено pilot: 14 Август 2015 — 10:15

    #2 pilot

  • Posters
  • 143 Сообщений:
  • да, содержимое boot.ini при загрузке в хр :

    ; This boot.ini was automatically generated by NeoSmart Technologies’ BootGrabber.exe
    ; Use EasyBCD from http://neosmart.net/dl.php?id=1to manage your bootloader

    [boot loader]
    timeout=15
    default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
    [operating systems]
    multi(0)disk(0)rdisk(0)partition(1)\WINDOWS=»Windows XP on C:\» /fastdetect

    #3 Dmitry_rus

  • Helpers
  • 3 044 Сообщений:
  • Загрузчик семерочный стоит? Тогда bcdedit в руки, гугл — в помощь. Если другой загрузчик — то курить мануалы к нему.

    Читайте также:  Как выключить помощник по обновлению windows 10

    #4 pilot

  • Posters
  • 143 Сообщений:
  • видимо, да , семерочный. ибо ставилась хр на семерку, а потом правилось через EasyBCD 2.2.

    в принципе, обе системы работают ок, только смущает надпись при старте.

    #5 pilot

  • Posters
  • 143 Сообщений:
  • bcdedit, да, мощное средство, но шо там править в моем конкретном случае — ХЗ.

    Дмитро, бразэ.. нужен хелп. конкретный хэлп

    #6 Dmitry_rus

  • Helpers
  • 3 044 Сообщений:
  • На сколько разделов разбит диск? Где установлены ХР и 7? В какой последовательности устанавливались ОС? Существует ли boot.ini (именно с расширением ini, а не ini.txt, как частенько бывает, когда его редактируют Блокнотом и сохраняют «по умолчанию» в txt) в корне диска с:? Переназначали ли вы буквы дисков? Восстанавливали ли вы загрузчик из консоли восстановления?

    #7 АВаТар

  • Posters
  • 784 Сообщений:
  • pilot, Я успешно пользуюсь программой MultiBoot в таких случаях.

    Сообщение было изменено АВаТар: 14 Август 2015 — 15:28

    #8 pilot

  • Posters
  • 143 Сообщений:
  • ответы — выделены жирным

    На сколько разделов разбит диск? 4

    Где установлены ХР и 7? d, c

    В какой последовательности устанавливались ОС? вин7, потом хр, и далее правка загрузки EasyBCD

    Существует ли boot.ini (именно с расширением ini, а не ini.txt, как частенько бывает, когда его редактируют Блокнотом и сохраняют «по умолчанию» в txt) в корне диска с:? да, есть именно boot.ini

    Переназначали ли вы буквы дисков? нет

    Восстанавливали ли вы загрузчик из консоли восстановления? нет

    если гружусь в хр, то диск с файлами хр становится С:, при этом диск с файлами вин7 становится D:

    если гружусь в вин7, то диск с файлами вин7 становится С: , при этом диск с файлами xp становится D:

    ‘INVALID BOOT.INI file message when starting Windows XP

    If you are seeing a message like this:

    Invalid BOOT.INI file
    Booting from C:\windows\

    That usually means the c:\boot.ini file is missing, but you can replace it.

    For the file to be missing would require some extra effort since it is normally a hidden, read-only, system file, but I can think of many things that are happy to delete it for you.

    If the system used to work properly, what do you think happened to the system since the last time it did work properly?

    Do you now or have you ever had the Ask Toolbar installed on your system?

    Have you now or nave you ever used any third party applications on your system where the product description includes such descriptive phrases as:

    cleaner, mechanic, detective, doctor, cure, optimize, clean up, tune up, speed up, fix up, compact, compress, faster, power, boost, booster, eraser, muncher. guaranteed or anything that has an icon resembling a wrench, spanner or screwdriver?

    In a single partition installation XP does not even need a c:\boot.ini file to boot — it will complain, but it sill still boot.

    You need to create a new c:\boot.ini file. It is just a text file so you can use any text editor such as Notepad or WordPad to create a new file.

    Here is an example of a simple c:\boot.ini file you can copy/paste the text to make a new file.:

    [boot loader]
    timeout=5
    default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
    [operating systems]
    multi(0)disk(0)rdisk(0)partition(1)\WINDOWS=»Microsoft Windows XP Professional» /noexecute=optin /fastdetect

    When you get that text entered into your text editor, do a Save As. and save the file as:

    Respond in the affirmative if asked to overwrite or replace the existing file.

    Then reboot your system.

    If the file comes up missing again, we will have to figure out why and fix it.

    Invalid BOOT.INI file: Fix for Windows XP

    Get the fix to the boot-time error message “Invalid BOOT.INI file Booting from C:\Windows\” and other BOOT.INI problems affecting Windows XP.

    About “Invalid BOOT.INI file”

    The following information on this error has been compiled by NeoSmart Technologies, based on the information gathered and reported by our global network of engineers, developers, and technicians or partner organizations.

    Description and Symptoms

    The error messages, alerts, warnings, and symptoms below are tied to this error.

    Symptom 1: Invalid BOOT.INI file

    Boot.ini, a critical component of the Windows XP boot process responsible for maintaining a list of installed operating systems and what partitions they are located on, must be correctly configured for successful boot up of Windows.

    Читайте также:  Manjaro linux как обновить систему

    In cases where boot.ini is misconfigured, incorrect, corrupted, or unreadable, the following error may be seen when attempting to start the PC:

    It is important to note that this error may or may not be accompanied by a complete boot failure.

    If Windows is located at C:\Windows\ then this “Invalid boot.ini file” message may only flash briefly on the screen before your PC proceeds to boot into Windows XP.

    Causes of this Error

    This error has been known to occur as a result of one or more of the following:

    Cause 1: Misconfigured boot.ini file

    BOOT.INI is the configuration file for the Windows NT bootloader, NTLDR (also used by Windows XP and Windows Server 2003).

    The “language” or format of the boot.ini file is standard and the same as any other .INI configuration file, with section headers in between [square brackets] and the actual configurations settings on the lines that follow.

    If these rules are violated, for example the boot.ini file cannot be parsed as an INI file, the [boot loader] section is missing or misspelled, the boot.ini is empty, etc. this message can be displayed.

    Cause 2: [operating systems] is blank

    A correctly-structured boot.ini with the correct [boot loader] and [operating system] sections may cause this boot exception to occur at system startup if the contents of either of these two sections are empty.

    Cause 3: Incorrect ARC paths

    One reason why boot.ini has always been very difficult to edit and maintain is the arcane nature of the references to the Windows partitions.

    While syntax like C:\Windows=»Microsoft Windows» is technically valid for some versions of Windows XP and NTLDR, it is more common to see ARC paths used in boot.ini, as is described in the comprehensive boot.ini knowledgebase article.

    If these ARC paths are not in the correct format (example: multi(0)disk(0)rdisk(0)partition(1)\WINDOWS ) or point to an invalid or incorrect partition, this error can be displayed.

    Cause 4: Boot.ini in UTF-16/UCS-2 or other non-ASCII encoding

    One of the undiscovered causes of “invalid boot.ini” messages stems from the usage of double-byte Unicode encoding for the contents of the boot.ini file.

    Without getting into extensive details, the encoding of a text file determines how the letters of the text file are stored on the disk in binary format. Most versions of NTLDR only support an ASCII-encoded boot.ini file.

    Later versions of NTLDR shipping with updated releases of Windows XP SP2 or SP3 and Windows Server 2003 R2 can read boot.ini files encoded in UCS-2 or UTF-16 as well.

    The presence of a BOM (byte order marker) in the text file will also cause NTLDR to be unable to read the boot.ini as it is saved to the disk, and the “invalid boot.ini file” error will be seen.

    Cause 5: Boot.ini has been compressed

    As with other critical boot files, BOOT.INI must be saved to the NTFS or FAT partition without any compression whatsoever. Unlike when Windows is booted, during the bootloading procedure a very restricted version of the NTFS or FAT32 driver is loaded, and is incapable of reading dependency files that are compressed, zipped, or fragmented.

    Use of disk compression tools like DoubleSpace and DriveSpace or manually enabling file and folder compression on the boot partition can cause errors reading and loading boot.ini, resulting an a computer that will not start or boot.

    Fixing “Invalid boot.ini file” on Windows

    Windows Setup CD/DVD Required!
    Some of the solutions below require the use of the Microsoft Windows setup CD or DVD. If your PC did not come with a Windows installation disc or if you no longer have your Windows setup media, you can use Easy Recovery Essentials for Windows instead. EasyRE will automatically find and fix many problems, and can also be used to solve this problem with the directions below.

    Читайте также:  Restart windows from network

    Fix #1: Rebuild BOOT.ini via Easy Recovery Essentials

    Easy Recovery Essentials’ one-click automated system repair feature incorporates full repair and reconstruction of boot.ini to resolve the “invalid boot.ini file” error, even in cases where Windows won’t boot as a result of the error.

    The automated boot repair component of EasyRE will address all boot.ini-related issues, including correctly boot.ini files using the incorrect encoding and correctly identifying the appropriate ARC path for the boot.ini entries.

    This will also take care of a compressed or fragmented boot.ini.

    Easy Recovery Essentials is guaranteed to fix the “Invalid boot.ini file” error automatically using its built-in Automated Repair option. EasyRE is currently available for Windows XP, Vista, 7 and 8 and can be downloaded and created on any PC.

    1. Download Easy Recovery Essentials. Make sure to note your Windows version (XP, Vista, 7 or 8) before you download EasyRE. This guide can help you identify what version of Windows you have installed.
    2. Burn the image. Follow these instructions on how to burn the bootable ISO image very carefully, as making a bootable CD can be tricky! Alternatively, these instructions explain how to create a bootable EasyRE recovery USB stick/drive.
    3. Boot up your PC from the Easy Recovery Essentials CD or USB you created.
    4. Once EasyRE is running, choose the “Automated Repair” option and click Continue .

    Choose “Automated Repair” in Easy Recovery Essentials

    Choose the drive associated with the Windows installation you’re trying to repair.

    Easy Recovery Essentials searches for errors and makes corrections to the selected Windows installation.

    Windows, booting up successfully.

    You can download Easy Recovery Essentials from here.

    Fix #2: Manually attempt recreation of boot.ini

    If boot.ini is incorrectly configured, does not contain the correct or expected contents, or is in a format that NTLDR cannot understand, the following steps on manually recreating boot.ini may help.

    Note that these steps may not resolve “invalid boot.ini file” errors if boot.ini has been previously compressed or fragmented, in which case the above EasyRE instructions should be employed instead.

    A boot.ini file is used by Windows to configure and display its operating system options. Instructions on manually recreating the boot.ini file are also available, but require a moderate level of computer expertise. The instructions below will guide you on recreating boot.ini automatically from the Windows XP setup CD.

    Unable to boot into the Windows setup CD?
    See our guide on setting up a PC to boot from the CD or DVD for troubleshooting and more detailed instructions.

    1. Insert your Windows XP CD and restart your computer.
    2. Press a key to boot into the CD when you see the “Press any key to boot from CD” message.
    3. When you arrive at the “Welcome to Setup” message, press R to start the Recovery Console.
    4. Type in your Administrator password; hit Enter
    5. The next command you need to write is below; hit Enter afterwards:

    The above command, bootcfg /rebuild , will scan your computer for installed Windows copies. If you have Windows XP, here are the next steps:

    1. Press Y if the command prompt shows a message similar to the one below:
    2. When you receive a message like this:

    You are being asked to provide a name to be assigned and shown in the boot menu for the installation you picked in the previous step. Examples:

    (Optional) When you receive a message like this:

    Type in /fastdetect followed by Enter

  • Restart your computer.
  • Bootcfg utility results screen

    More Information

    Linked Entries

    The errors below have been verified as being associated with or related to this problem:

    It’s an easy-to-use and automated diagnostics disk. It’s available for Windows 8, Windows 7 and Windows Vista. It’s also available for Windows XP and Windows Server.

    Read more at Windows Recovery Disks.

  • The NeoSmart Support Forums, member-to-member technical support and troubleshooting.
  • Get a discounted price on replacement setup and installation discs: Windows XP.
  • Applicable Systems

    This Windows-related knowledgebase article applies to the following operating systems:

    • Windows XP (all editions)
    • Windows Server 2003 (all editions)
    Оцените статью
    Adblock
    detector