What is the boot file?

Jonathan_King

New member
Guru
Gold Member
SF Team
Local time
2:35 AM
Messages
13,322
Location
Rednecksville
I am wondering if someone could teach me a bit more about the MBR and boot loaders.

The fact that it is so easy to put the installation files on a thumb drive confuses me. Essentially, all that needs to be done is marking the partition as active, and copying all the files to it.

Let's start from the beginning. When the BIOS instructs the computer to boot from the USB drive, it looks at the MBR of the drive, right? How is there an MBR on the thumb drive? I did not install anything.

I know that this is showing my complete misunderstanding.

Next, after the machine is told to boot from the drive, what file does it look for? What is the critical file on the drive that starts the whole deal?

~JK
 

My Computer

Computer Manufacturer/Model Number
Custom
OS
Windows 7 Professional x64
CPU
Intel i7 2600K OC'd @ 4620 MHz
Motherboard
Asus P8Z68-V Pro
Memory
16GB GSkill Sniper 2133 Mhz (4x4GB)
Graphics Card(s)
EVGA GeForce GTX 480 SuperClocked+
Sound Card
Realtek High Definition Audio
Monitor(s) Displays
2x Acer S273HLbmii 27"
Screen Resolution
2 x 1920x1080
Hard Drives
64GB Crucial M4 SSD

Storage: Hitachi 1TB 5400RPM, Samsung 1.5TB 5400RPM
PSU
Corsair HW Series 750w (modular)
Case
Cooler Master HAF 932 Advanced Blue Edition
Cooling
CM Hyper 212+ CPU cooler, 3x 230mm + 1x 140mm case fans
Keyboard
Logitech MK320 (wireless)
Mouse
Logitech MK320 (wireless)
Internet Speed
30 Mb/s : 2 Mb/s
I am wondering if someone could teach me a bit more about the MBR and boot loaders.

The fact that it is so easy to put the installation files on a thumb drive confuses me. Essentially, all that needs to be done is marking the partition as active, and copying all the files to it.

Let's start from the beginning. When the BIOS instructs the computer to boot from the USB drive, it looks at the MBR of the drive, right? How is there an MBR on the thumb drive? I did not install anything.

I know that this is showing my complete misunderstanding.

Next, after the machine is told to boot from the drive, what file does it look for? What is the critical file on the drive that starts the whole deal?

~JK


JK

Bios instructs where to look for the files. MBR is on all drives from when they are formatted. Even USB drives. It looks for a bunch of files most notably ntldr. that is the file that kicks off the rest of the needed files. If you ever got the "bootmgr is mssing" thats it. it then "bootstraps" starts loading the drivers that let it communicate with the outside world via devices.


Ken
 

My Computer

Computer Manufacturer/Model Number
HP Pavillion dv-7 1005 Tx
OS
Win 8 Release candidate 8400
CPU
[email protected]
Memory
4 gigs
Graphics Card(s)
Nvidia 9600M
Sound Card
HD built-in
Monitor(s) Displays
17" Wxga
Screen Resolution
1440x900
Cooling
none
Internet Speed
45Mb down 5Mb up
Ken is correct...when you format any storage device a MBR gets written....

Now lets look at the boot process...BIOS kicks in...Boot Menu->USB Device...at this moment the MBR kicks up and looks for any bootable code...it notices an active partition then it looks inside for any file that will start the boot process (files like Ken posted above)...it is then only a matter of booting those files and letting the code handle itself...
 

My Computer

Computer Manufacturer/Model Number
Compal JFT02 (Custom Build Laptop)
OS
Windows 7 Home Premium x64 - Mac OS X 10.6.4 x64
CPU
Intel Core 2 Duo T9300 2.5 GHz
Motherboard
JFT02
Memory
4GB Kingston DDR2-800
Graphics Card(s)
NVIDIA Geforce 8600M GT (512MB Model)
Sound Card
Realtek HD Audio
Monitor(s) Displays
WUXGA Standard Laptop Display
Screen Resolution
1680*1050
Hard Drives
Toshiba 320GB 5400RPM Laptop HD
PSU
Standard Laptop Power Supply
Case
Standard Laptop Case
Cooling
Standard Laptop Cooling
Keyboard
Standard Laptop 105 Key-Keyboard
Mouse
Synaptics Touchpad
Internet Speed
Verizion Online DSL 3360/864 kbs (dl/up)
Better description Chris Thanks
 

My Computer

Computer Manufacturer/Model Number
HP Pavillion dv-7 1005 Tx
OS
Win 8 Release candidate 8400
CPU
[email protected]
Memory
4 gigs
Graphics Card(s)
Nvidia 9600M
Sound Card
HD built-in
Monitor(s) Displays
17" Wxga
Screen Resolution
1440x900
Cooling
none
Internet Speed
45Mb down 5Mb up
Why do the Windows 7 installation files need to be on an NTFS partition?

I heard rumor somewhere that they don't, but no explanation/link was provided.

What would I do if I wanted to have the files in a directory a little deeper down? Could I put a boot loader (e.g. GRUB) on the drive, and tell it to run ntldr? BTW where is ntldr? Why can't I find it, even when OS files are shown?
 

My Computer

Computer Manufacturer/Model Number
Custom
OS
Windows 7 Professional x64
CPU
Intel i7 2600K OC'd @ 4620 MHz
Motherboard
Asus P8Z68-V Pro
Memory
16GB GSkill Sniper 2133 Mhz (4x4GB)
Graphics Card(s)
EVGA GeForce GTX 480 SuperClocked+
Sound Card
Realtek High Definition Audio
Monitor(s) Displays
2x Acer S273HLbmii 27"
Screen Resolution
2 x 1920x1080
Hard Drives
64GB Crucial M4 SSD

Storage: Hitachi 1TB 5400RPM, Samsung 1.5TB 5400RPM
PSU
Corsair HW Series 750w (modular)
Case
Cooler Master HAF 932 Advanced Blue Edition
Cooling
CM Hyper 212+ CPU cooler, 3x 230mm + 1x 140mm case fans
Keyboard
Logitech MK320 (wireless)
Mouse
Logitech MK320 (wireless)
Internet Speed
30 Mb/s : 2 Mb/s

My Computer

Computer Manufacturer/Model Number
HP Pavillion dv-7 1005 Tx
OS
Win 8 Release candidate 8400
CPU
[email protected]
Memory
4 gigs
Graphics Card(s)
Nvidia 9600M
Sound Card
HD built-in
Monitor(s) Displays
17" Wxga
Screen Resolution
1440x900
Cooling
none
Internet Speed
45Mb down 5Mb up
Back
Top