Re: BIOS and basic hardware drivers
- From: et472@xxxxxxxxxxxxxxxxxxx (Michael Black)
- Date: 20 Feb 2008 17:18:45 GMT
Tauno Voipio (tauno.voipio@xxxxxxxxxxxxx) writes:
Haines Brown wrote:Of course, he didn't define "won't boot".
I have a situation in which a debian cd installation disk won't boot,
but a Knoppix livecd disk will boot, and so I need to understand better
how the initial drivers get loaded. If I try to boot the debian cd
installation disk without offering any alternative boot method in BIOS,
I get a boot failure, system halted error.
It is my understanding that the CPU calls a set of programs on the ROM
chip, one of which is BIOS. I gather that BIOS holds a series of device
drivers that enables the system to function prior to boot. BIOS
setup seems to control which drivers get loaded so that a boot can
begin. Is this accurate?
In the case of my problem, there are certain drivers that will be needed
for the system to access my IDE cdrom drive. How can I find out what
they are and verify that the BIOS has indeed loaded them?
If the system accesses the cdrom in some cases (Knoppix), but not others
(debian install disk), should I infer that the debian install disk needs a
driver that the Knoppix disk does not? What could distinguish the two
disks in terms of their initial requirements?
If a needed driver, such as the one to access a cdrom drive, is not
being loaded, can I get it to behave?
What is the correct term to refer to the drivers built into BIOS, as
distinguished from the drivers in initrd?
The CD boot is a kludge: In principle, there is
a copy of a boot diskette image on the CD, and
it is shown to the boot code as the first diskette
(BIOS call 0x13, device 0x00).
The diskette image stays there until the booted
code either sends an acknowledgement message to
the BIOS or simply by-passes the BIOS drivers
with own drivers (like those in the Linux kernel).
For details, Google for 'El Torito specification'.
I guess that the boot actually succeeds, but the
installation CD boot image does not understand
your drive, but Knoppix does.
There can be issues related to the bios and the specific distribution
(or rather how that distribution lays the boot on the CD or DVD).
The BIOS sees the CD as a large floppy, as you point out. But older
BIOS's expect things one way, while more recent BIOS's expect things
to be a different way. A given distribution has to decide which to
be compatible with, and as the older hardware recedes in the distance,
it's more likely to be compatible with newer hardware than old. And if
that's the issue, the CD won't boot on a computer with an older BIOS.
I certainly have the problem, and to boot a more recent version of
the distribution I use, I have to put smartbootmanager on a floppy, and
tell the BIOS to boot from the floppy, and then the smartbootmanager
will actually do the booting from the CD/DVD.
Of course, the original poster is so vague that it's hard to tell
what his problem might be. He's assuming he knows where the problem
lies, but that isn't necessarily the case.
It could also be a simple thing like one specific CD has been written
wrong so it won't actually boot. People do that all the time, they end
up writing the image to the CD as a file rather as an image to be
layed all over the CD. Other times they simply do a bad write, and
the CD isn't useable.
Michael
.
- Follow-Ups:
- Re: BIOS and basic hardware drivers
- From: Haines Brown
- Re: BIOS and basic hardware drivers
- References:
- BIOS and basic hardware drivers
- From: Haines Brown
- Re: BIOS and basic hardware drivers
- From: Tauno Voipio
- BIOS and basic hardware drivers
- Prev by Date: Re: BIOS and basic hardware drivers
- Next by Date: Re: HD DVD drives for linux?
- Previous by thread: Re: BIOS and basic hardware drivers
- Next by thread: Re: BIOS and basic hardware drivers
- Index(es):
Relevant Pages
|
|