ComputerForum.com ComputerForum.com  
Go Back   Computer Forum > Computer Hardware > Computer Memory and Hard Drives

Reply
 
LinkBack Thread Tools Display Modes
Old 12-05-2006, 05:52 PM   #1 (permalink)
New Member
 
Join Date: Dec 2006
Posts: 6
Default Hardrive boot configuration

The BIOS starts goes through the post and hardware configuration and what not and then attempts to find a boot device. Depending on the boot priority if there is no floppy or CD the BIOS will look at cylinder 0, head 0, sector 1 of HD one. The BIOS will pass control over to the OS. Now my question is, is there suppose to be some distinct instruction at cylinder 0, head 0, sector 1 like a jump or can the OS's code just start there?
glocks1123 is offline   Reply With Quote


Old 12-05-2006, 10:33 PM   #2 (permalink)
Moderator
 
Cromewell's Avatar
 
Join Date: Dec 2004
Location: Canada
Age: 25
Posts: 10,206
Default

The BIOS looks at the boot record for instructions on where to pass the boot sequence off to (the system's boot loader).
__________________

You know what the chain of command is? It's the chain I go get and beat you with 'til ya understand who's in ruttin' command here.

I must plug a couple comics because they are good :D:
www.ctrlaltdel-online.com
www.userfriendly.org
Cromewell is offline   Reply With Quote
Old 12-05-2006, 10:55 PM   #3 (permalink)
Diamond Member
 
PC eye's Avatar
 
Join Date: Apr 2006
Location: Inside a pc
Posts: 19,730
Default

Upto the first 100mb on a drive is generally used for the master boot record(mbr) along with the boot partition information. On a Windows based machine that will contain instructions for locating the boot loader like Cromewell has explained there.

On a Linux based or another OS the boot loader may not be on the actual hard drive itself but on removable media such as Grub or Lilo boot floppy. For mulitple OSs you may see the use of a universal type boot loader that needs installattion into the first part of the hard drive. A graphical user interface(gui) is then used to select the OS that will be loaded.
PC eye is offline   Reply With Quote
Old 12-06-2006, 12:18 AM   #4 (permalink)
New Member
 
Join Date: Dec 2006
Posts: 6
Default

So i assume that means i can begin instructions at cylinder 0, head 0, cylinder 1 and the BIOS will treat this is if it were the boot loader?
glocks1123 is offline   Reply With Quote
Old 12-06-2006, 12:37 AM   #5 (permalink)
Moderator
 
Cromewell's Avatar
 
Join Date: Dec 2004
Location: Canada
Age: 25
Posts: 10,206
Default

I'm not entirely sure what you are trying to do but the mbr wiki should help. http://en.wikipedia.org/wiki/Master_boot_record
__________________

You know what the chain of command is? It's the chain I go get and beat you with 'til ya understand who's in ruttin' command here.

I must plug a couple comics because they are good :D:
www.ctrlaltdel-online.com
www.userfriendly.org
Cromewell is offline   Reply With Quote


Old 12-06-2006, 01:46 AM   #6 (permalink)
Diamond Member
 
PC eye's Avatar
 
Join Date: Apr 2006
Location: Inside a pc
Posts: 19,730
Default

The only information placed at the beginning of a drive either done by the Windows installer or the drive partitioning tool used. The information there generally is not directly accessible for the user to modify. For custom booting configurations you would still use a utility only prepared for that. That portion of any drive remains hidden from view.
PC eye is offline   Reply With Quote
Old 12-06-2006, 05:49 PM   #7 (permalink)
New Member
 
Join Date: Dec 2006
Posts: 6
Default

Say i were to write my own OS and bootloader, could i place the bootloader at the beginning of the HD?
glocks1123 is offline   Reply With Quote
Old 12-06-2006, 09:35 PM   #8 (permalink)
Moderator
 
Cromewell's Avatar
 
Join Date: Dec 2004
Location: Canada
Age: 25
Posts: 10,206
Default

Yes.
__________________

You know what the chain of command is? It's the chain I go get and beat you with 'til ya understand who's in ruttin' command here.

I must plug a couple comics because they are good :D:
www.ctrlaltdel-online.com
www.userfriendly.org
Cromewell is offline   Reply With Quote
Old 12-06-2006, 09:46 PM   #9 (permalink)
VIP Member
 
tlarkin's Avatar
 
Join Date: Apr 2006
Location: Kansas City, MO
Posts: 6,313
Default

Quote:
Originally Posted by glocks1123 View Post
Say i were to write my own OS and bootloader, could i place the bootloader at the beginning of the HD?
You can download the source of boot loaders like GRUB for example and customize your own GRUB boot menu. If you look at the ultimate boot disk, I think its a complete GRUB menu for all the utilities.
tlarkin is offline   Reply With Quote
Old 12-06-2006, 09:59 PM   #10 (permalink)
Diamond Member
 
PC eye's Avatar
 
Join Date: Apr 2006
Location: Inside a pc
Posts: 19,730
Default

Ubuntu had a boot manager on floppy that if you can get it installed onto the front end of the drive will detect and load "any" OS whether Windows, Linux, Mac, etc. at one point. When booted from floppy it just about guaranteed to load any OS by clearly indicating any and all partitions with the choice to whatever one was on the one you selected. I lost the site before going into it further to see if a cd or install to drive option was found. That would solve any custom boot situations you wanted.
PC eye is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
computer will boot from absolutely nothing tmurphy12 Desktop Computers 5 10-28-2006 05:18 AM
Vista RC1 problems codeman0013 Operating Systems 16 09-02-2006 06:22 AM
Cloning Hardrive carrspaints Operating Systems 4 07-12-2005 06:04 AM
Boot record not found on IDE-0 (dual-boot system) mhodgins Computer Memory and Hard Drives 4 10-09-2004 11:39 PM
No OS, can't boot from cd rom Jim Steele Desktop Computers 10 08-12-2004 10:35 PM

All times are GMT +1. The time now is 07:52 AM.


Powered by: vBulletin Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc.
Copyright © 2002-2008 Computer Forum and Web Design Forum