TweakHomePCDual-booting all versions of Windows and Linux |
| Dual-Boot | Win 8 | Win 7 | Vista | Win XP/2K/NT | Win9x/Me | | How to | Legacy 9x Tweaks | SiteMap |
Here: Home > How do I ... > |
|
|
Edit Boot.ini in Windows or MS-DOSLast reviewed: March 2005 On this page:
About Boot.iniThe contents of the Boot.ini file determine the behaviour of, and what options will appear in, the boot menu (Startup Menu) for Windows XP, 2K, NT. Boot.ini is a small file in the root of the system partition which is nearly always the C: drive. The computer uses the system partition during early bootup before loading the OS from the OS's boot partition which may, or may not, also be the system partition. Boot.ini is not normally visible in Windows Explorer as it has the Read-only, System, and Hidden attributes set. The method you use to edit will depend on your circumstances. The safest method is to use Startup and Recovery which eliminates mistakes or typing errors but it has limited functionality. The most thorough method is a manual edit from Windows or MS-DOS but beware of typing errors or grossly incorrect entries. About Editing Boot.iniBe careful with your typing when you edit Boot.ini. And remember that spaces are as important as content. A few examples: bootcfg /rebuild uses correct syntax.
attrib -s -r -h c:\boot.ini uses correct syntax.
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP" /fastdetect uses correct syntax (beware of word-wrap!).
C:\="Microsoft Windows 98" uses correct syntax.
multi()disk()rdisk()partition()\ directory=&menu text&
|
#2 Use Bootcfg from XP/2K to Rebuild Boot.ini
|
#3 Use Msconfig to Edit Boot.ini
|
#6 Use Bootcfg from XP/2K Recovery Console to Rebuild Boot.iniThis, and the next method, is commonly used when the user can't boot Windows XP, 2K, NT.
When Windows boots you can use Method #1 in comfort if the new Boot.ini needs further editing.
|
#8: Use THPC's Rescue Boot Disk if Boot.ini is on an NTFS partitionIf you have made THPC's Rescue Boot Disk you can use it to boot to an NTFS Windows (or its Safe Mode) and edit Boot.ini from there provided the boot problem is with the Boot Sector or with any boot files. Obviously this will not work if the problem is with that Windows' file(s) but you can still edit Boot.ini if the problem is with a different Windows' file(s). Alternatively you can copy Boot.ini and other boot files from the Rescue Boot Disk to the root of the System partition. Use the next option is this is inappropriate. |
#9 Use EditBINI if Boot.ini is on an NTFS partitionWhen Windows will not boot, option #6 above is the easiest option (#6 Use XP/2K Recovery Console to Rebuild Boot.ini). If that's not satisfactory then you must edit Boot.ini from true MS-DOS.
Full Procedure:
Download editbini.zip (freeware, 74 KB) from THPC, or visit the TeraByte's utilities page. |
Sample Boot.iniThis is a sample of a default Boot.ini file from a Windows XP computer.
|
|
Please remember that you alone are responsible for the consequences of any changes you make to your computer hardware or software. Copyright © LarryM 1998-2015 thpc@mail.com |