|  | |
06-01-2008, 05:55 PM
|
#11 (permalink)
|
Super Techie Join Date: Feb 2008 Posts: 302
| Re: Boot.ini Quote:
Originally Posted by Osiris What about c:\boot.ini ?
If you want, you can rebuild it but since you arent having issues you might just want to leave it alone | I don't have a C: drive.
Yeah, I wasn't going to bother, I was just wondering if anyone knew how it could boot. Quote:
Originally Posted by MrCoffee well, the boot.ini must be somewhere, I take it a search doesn't turn it up?
If I remember rightly the system partition is where windows boots from and where your boot files will be (ntdetect.com, ntldr, boot.ini, etc.) generally speaking this is C: drive but it can be any primary partition.
The boot partition is the partition that windows is installed on, that is usually the same partition as the system partition but it doesn't have to be.
How many drives/partitions do you have? | Search produces nothing. I have ntdetect.com and ntldr right on the the D: drive, not in any subfolders, but no boot.ini.
2 drives, 2 partitions. |
| |
06-01-2008, 08:22 PM
|
#12 (permalink)
|
Join Date: Sep 2004 Location: C:\Windows\System32 Posts: 25,661
| Re: Boot.ini
__________________ R.I.P. Danny L. Trotter
14 Nov 1945 - 4 Sept 2009 Images created by CarnageX | Decaptured...Listen! | Visit Baezware!! | You've been Mak'd! | 儿做好 I do not accept support questions via EMail, PM, IM or my Spaces page! .:|:. This is what happens when an unstoppable force meets an immovable object. Thanks to all the guys on the staff for your support in my time of need. Hefe you are my personal Hero for your contribution. <<<< If I help you, or you just like what I said, rep me  |
| |
06-01-2008, 09:17 PM
|
#13 (permalink)
|
Super Techie Join Date: Feb 2008 Posts: 302
| Re: Boot.ini Quote:
Originally Posted by Mak213 Rebuild boot.ini | Yes, thank you.
So, does anyone know the answer to my initial question of why it still boots? |
| |
06-01-2008, 09:19 PM
|
#14 (permalink)
|
Join Date: Sep 2004 Location: C:\Windows\System32 Posts: 25,661
| Re: Boot.ini AGain it will look for the first open partition that has Windows files. Even without boot.ini all it needs is to find the Windows drive. The boot.ini is critical but even without it i have seen Widnows boot. I have had this happen to me several times when i have hide XP from Vista and vice versa.
All it does is a quick scan of the first drive first partition as i said. It may not be albeled as C but i can almost bet that it is still the same even if the letters are not.
__________________ R.I.P. Danny L. Trotter
14 Nov 1945 - 4 Sept 2009 Images created by CarnageX | Decaptured...Listen! | Visit Baezware!! | You've been Mak'd! | 儿做好 I do not accept support questions via EMail, PM, IM or my Spaces page! .:|:. This is what happens when an unstoppable force meets an immovable object. Thanks to all the guys on the staff for your support in my time of need. Hefe you are my personal Hero for your contribution. <<<< If I help you, or you just like what I said, rep me  |
| |
06-01-2008, 09:34 PM
|
#15 (permalink)
|
Super Techie Join Date: Feb 2008 Posts: 302
| Re: Boot.ini So, boot.ini is critical but not necesary? So what does it do? |
| |
06-01-2008, 09:39 PM
|
#16 (permalink)
|
Join Date: Sep 2004 Location: C:\Windows\System32 Posts: 25,661
| Re: Boot.ini When you are at a command prompt back when Windows 95 and 98 was out did you have a boot.ini when you typwin in Windows and the GUI loaded? No. The kernel loads and then it loads up after that.
I do not know the exact details of what is happening but i know it can cause while the boot.ini info may not be present or recognized by Windows that does not mean that the Boot drive doesn have these files.
Do you have any other partitions? Like one that you had Vista on?
__________________ R.I.P. Danny L. Trotter
14 Nov 1945 - 4 Sept 2009 Images created by CarnageX | Decaptured...Listen! | Visit Baezware!! | You've been Mak'd! | 儿做好 I do not accept support questions via EMail, PM, IM or my Spaces page! .:|:. This is what happens when an unstoppable force meets an immovable object. Thanks to all the guys on the staff for your support in my time of need. Hefe you are my personal Hero for your contribution. <<<< If I help you, or you just like what I said, rep me  |
| |
06-01-2008, 11:05 PM
|
#17 (permalink)
|
Join Date: Sep 2004 Location: C:\Windows\System32 Posts: 25,661
| Re: Boot.ini Here is a full explination of how XP boots: Code: Understanding How Windows XP Starts
After the computer starts and hands off the process to the operating system, Windows XP continues to load in the following manner:
1. The MBR is a small program typically found on the first sector of a hard drive. Because the MBR is so small, it cannot do much. In fact, the MBR that is used in Windows XP has only one function: it loads a program named NTLDR into memory.
Tip
NTLDR is probably a name that you recognize. When a computer tries to start from a disk that is not bootable, but has been formatted with a file system that is compatible with Windows XP, you will often see the message "NTLDR is missing. Press CTRL+ALT+DEL to restart" (or something like it). If you see this message, Windows is telling you that either the disk that you are trying to start from is not a valid boot disk (maybe a floppy disk is still in the drive) or that the NTLDR file is invalid.
2. NTLDR switches your computer to a flat memory model (thus bypassing the 640 KB memory restrictions placed on PCs) and then reads the contents of a file named BOOT.INI. The BOOT.INI file contains information on the different boot sectors that exist on your computer.
3. If a computer has multiple bootable partitions, NTLDR uses the information in the BOOT.INI file to display a menu. That menu contains options on the various operating systems that you can load. If a computer has only one bootable partition, NTLDR bypasses the menu and loads Windows XP.
4. Before Windows XP loads, NTLDR opens yet another program into memory named NTDETECT.COM. NTDETECT.COM performs a complete hardware test on your computer. After determining the hardware that is present, NTDETECT.COM gives that information back to NTLDR.
5. NTLDR then attempts to load the version of Windows XP that you selected in Step 3 (if you selected one). It does this by finding the NTOSKRNL file in the System32 folder of your Windows XP directory. NTOSKRNL is the root program of the Windows operating system: the kernel. After the kernel is loaded into memory, NTLDR passes control of the boot process to the kernel and to another file named HAL.DLL. HAL.DLL controls Windows' famous hardware abstraction layer (HAL), which is the protective layer between Windows and a computer's hardware that enables such stability in the Windows XP environment.
6. NTOSKRNL handles the rest of the boot process. First, it loads several low-level system drivers. Next, NTOSKRNL loads all the additional files that make up the core Windows XP operating system.
7. Next, Windows verifies whether there is more than one hardware profile configured for the computer (see Chapter 6 for more information about hardware profiles). If there is more than one profile, Windows displays a menu from which to choose. If there is only one hardware profile, Windows bypasses the menu and loads the default profile.
8. After Windows knows which hardware profile to use, Windows next loads all the device drivers for the hardware on your computer. By this time, you are looking at the Welcome To Windows XP boot screen.
9. Finally, Windows starts any services that are scheduled to start automatically. While services are starting, Windows displays the logon screen.
So from what i am gathering about your setup is that it goes from NTLDR to NTDETECT and continues to load the Kernel and then Windows. It passes right over the boot.ini file.
__________________ R.I.P. Danny L. Trotter
14 Nov 1945 - 4 Sept 2009 Images created by CarnageX | Decaptured...Listen! | Visit Baezware!! | You've been Mak'd! | 儿做好 I do not accept support questions via EMail, PM, IM or my Spaces page! .:|:. This is what happens when an unstoppable force meets an immovable object. Thanks to all the guys on the staff for your support in my time of need. Hefe you are my personal Hero for your contribution. <<<< If I help you, or you just like what I said, rep me  |
| |
06-02-2008, 08:00 AM
|
#18 (permalink)
|
Monster Techie Join Date: Feb 2006 Location: UK Posts: 1,852
| Re: Boot.ini Well you learn something new every day, I always thought that boot.ini was a required part of the boot sequence but apparently its not. NTLDR - Wikipedia, the free encyclopedia
The article states that:
NTLDR requires, at the minimum, the following two files to be on the system volume:
NTLDR, which contains the main boot loader itself
boot.ini, which contains configuration options for a boot menu.
To load an NT-based OS, ntdetect.com must also be present. (Strictly speaking, only NTLDR is actually required. If boot.ini is missing, NTLDR will default to C:\Windows on the first partition of the first hard drive. Many desktops in the home are in this configuration and a missing boot.ini file will simply generate an error stating it is missing, then boot into Windows successfully.) Quote:
Originally Posted by Thorn So, boot.ini is critical but not necesary? So what does it do? | From what I understand the boot.ini does three things, first it tells ntldr where the boot partition is, second, if there is more than one boot partition (multi boot system) it provides this information to ntldr which then presents it to the user as the boot menu; thirdly it allows you to boot an OS with various switches and options.
As it states above if the boot.ini is missing ntldr assumes that the boot partition is the same as the system partition and proceeds to load windows - of course if the boot partition isn't the same as the system partiton then its going to fall on its face.
__________________ Intel core I7 920
GA-EX58-UD3R
6GB OCZ platinum 1600
XFX HD4890
Noctua nh-u12p
Corsair HX520
Antec 300
Samsung 1TB F1 Spinpoint
Samsung SM2443BW 24"
Last edited by MrCoffee; 06-02-2008 at 08:09 AM.
|
| |
06-02-2008, 08:44 AM
|
#19 (permalink)
|
Join Date: Sep 2004 Location: C:\Windows\System32 Posts: 25,661
| Re: Boot.ini Well Mr. Coffee that bit i took was from a MCDST Book version 2008. (Microsoft Certified Desktop Support Technician) which is what i am currently reading thru. That was taken from a part on boot troubleshooting. It was very interesting to read how boot.ini was not the most critical part.
__________________ R.I.P. Danny L. Trotter
14 Nov 1945 - 4 Sept 2009 Images created by CarnageX | Decaptured...Listen! | Visit Baezware!! | You've been Mak'd! | 儿做好 I do not accept support questions via EMail, PM, IM or my Spaces page! .:|:. This is what happens when an unstoppable force meets an immovable object. Thanks to all the guys on the staff for your support in my time of need. Hefe you are my personal Hero for your contribution. <<<< If I help you, or you just like what I said, rep me  |
| |
06-02-2008, 12:46 PM
|
#20 (permalink)
|
Monster Techie Join Date: Feb 2006 Location: UK Posts: 1,852
| Re: Boot.ini yes I remember reading about the process back when I took the MCDST (I finished in Feb last year), I never realised that windows would boot if the boot.ini was missing though; its handy to know that ntldr will use a default arc path if the boot.ini is missing.
__________________ Intel core I7 920
GA-EX58-UD3R
6GB OCZ platinum 1600
XFX HD4890
Noctua nh-u12p
Corsair HX520
Antec 300
Samsung 1TB F1 Spinpoint
Samsung SM2443BW 24" |
| |  | | | Thread Tools | | | | Display Modes | Linear Mode |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | | |