[openbeos] Re: Stage 1 Bootloader

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: openbeos@xxxxxxxxxxxxx
  • Date: Wed, 27 Nov 2002 03:20:50 +0100 CET

Eike Dehling <e.e.dehling@xxxxxxxxxxxxxxxxxx> wrote:
> Is accessing the harddrive without bios then all you have to complain 
> about 
> grub? thats about 100 lines of assembly. and: why does a computer 
> have a 
> BIOS? it's there to make the programmers life easier. not to make it 
> harder 
> by avoiding the premade code. It is probably slower than doing it 
> yourself. 
> but it's a bootloader! speed is in my opinion not the ultimate goal 
> there.

Every bootloader that is not specifically written for your mainboard 
has to access your harddrive using through the BIOS at some point. It's 
just the way to go.

> A question: grub uses LBA acces for disks that support it. Is that 
> still 
> via the BIOS?

Sure it is. LBA only means that you address the blocks of the hard disk 
directly, not by the obsolete CHS system (cylinder, head, sector). With 
the current 512 bytes for a sector (oh, how many apps will break if 
that would be changed) you can address up to 1024 GB with the current 
partition tables via LBA. I hope those 64-bit systems will kill the 
usual BIOS and partition table and let's us move on to something better 
(like OpenFirmware on PPC systems).

Adios...
   Axel.



Other related posts: