LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 09-04-2005, 10:53 PM   #1
walterbyrd
Member
 
Registered: Apr 2004
Posts: 734

Rep: Reputation: 46
boot: record v sector v loader v manager?


Hope somebody can help me with my confusion regarding the boot loader, boot sector (aka dos boot sector or DBS aks volume boot record or VBR), boot record, and boot manager.

MBR: As I understand it, there is only one MBR on a system, the MBR is loaded first, then it vectors control to the boot sector (or boot loader?). I have read that the boot loader, and partition table, are in the MBR, but that doesn't make sense to me. As I understand it, the MBR is only about 512 bytes.

DBS/VBR: As I understand it, these are located on individual bootable partitions. There can be sevral on single HDD. Does the DBS/VBR actually load the OS? Or is the OS loaded by the boot loader? What about on a floppy?

boot loader: GRUB and LILO are boot loaders, right? Or are GRUB and LILO boot managers? Or both? Is it the boot loader that finally loads the OS? So, the boot loader runs *after* the DBS/VBR?

boot sector: As I understand it, a bootable floppy doesn't have an MBR, because a floppy can not be partitioned. Does a boot floppy have a boot loader? I suppose a boot floppy *can* have a boot loader, since LILO can be put on a floppy. But, what about a floppy to boot MS-DOS, would that have a boot loader?

boot manager: is that the part of LILO or GRUB that lets you decide which OS/kernel to boot?
 
Old 09-05-2005, 04:35 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
"I have read that the boot loader, and partition table, are in the MBR"

The boot loader is located in a file in /boot. The partition table begins immediately after the MBR.

"the MBR is loaded first, then it vectors control to the boot sector (or boot loader?)"

Yes. One of the things that happens when you install the bootloader to the MBR is that the address of the bootloader file in /boot is inserted into the MBR.

"DBS/VBR: As I understand it, these are located on individual bootable partitions."

What is a DBS/VBR?

"boot loader: GRUB and LILO are boot loaders, right? Or are GRUB and LILO boot managers? Or both? Is it the boot loader that finally loads the OS?"

The portion of lilo or grub on the MBR boots the rest of the bootloader from a file in /boot. Each OS contains its own boot loader. grub and lilo figure out which OS to load and then start up the bootloader of that OS.
"
"Does a boot floppy have a boot loader?"
Yes. This is the same grub or lilo boot loader that on a hard drive is located in /boot.

"what about a floppy to boot MS-DOS, would that have a boot loader?"
Yes. It would have the MS-DOS boot loader and nothing from lilo or grub.

-------------------------
Steve Stites

Last edited by jailbait; 09-05-2005 at 04:40 PM.
 
Old 09-06-2005, 10:16 AM   #3
jonaskoelker
Senior Member
 
Registered: Jul 2004
Location: Denmark
Distribution: Ubuntu, Debian
Posts: 1,524

Rep: Reputation: 47
Quote:
What is a DBS/VBR?
This:
Quote:
OP
... boot sector (aka dos boot sector or DBS aks (sic) volume boot record or VBR)
Quote:
"what about a floppy to boot MS-DOS, would that have a boot loader?"
Yes. It would have the MS-DOS boot loader and nothing from lilo or grub.
Technically, it *could* run lilo or grub which chainloaded the MS-DOS (or other) bootloader.

--Jonas
 
Old 09-07-2005, 01:30 AM   #4
walterbyrd
Member
 
Registered: Apr 2004
Posts: 734

Original Poster
Rep: Reputation: 46
As already mentioned, I have seen boot sector refered to as dos boot sector or DBS aks volume boot record or VBR.

I wish I had been more clear about that. Because the most confusing aspect of all this is: what actually, finally, loads the OS? The boot loader, or the sector?
 
Old 09-07-2005, 09:19 AM   #5
jonaskoelker
Senior Member
 
Registered: Jul 2004
Location: Denmark
Distribution: Ubuntu, Debian
Posts: 1,524

Rep: Reputation: 47
Well, the sector is just a hunk of space on your hard disk. The contents of the sector (i.e. the bootloader) loads the OS.

hth --Jonas
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
cloning both partitions, dual boot system, master boot record, logical volume manager saranga2000 Linux - Hardware 3 01-10-2005 11:04 AM
need help on installing boot loader/manager claudius753 Linux - Newbie 5 12-26-2004 01:46 PM
Boot Sector on dual boot PC. Remove Mandrake and replace with FreeBSD Phin666 *BSD 1 10-30-2004 05:02 PM
How to add a boot record which used to startup windows under my Grub boot loader? yunxiang Linux - Newbie 6 02-01-2003 02:22 AM
No boot sector found, error at boot areeves88 Linux - General 3 01-18-2003 08:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 04:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration