kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* Have I understood?
@ 2013-01-10 17:18 Román
  2013-01-11 17:42 ` Yann Droneaud
  0 siblings, 1 reply; 2+ messages in thread
From: Román @ 2013-01-10 17:18 UTC (permalink / raw)
  To: kernelnewbies

Hello everybody,

I am tracing the boot kernel process 
(http://tldp.org/HOWTO/Linux-i386-Boot-Code-HOWTO) and I have a 
question: GNU/GRUB loads vmlinuz at 0x7c00 memory, does not it? And 
then, the first instruction CPU executes is in bootsec.S, does not it? 
Have I understood well?

I do not if this is the place for this question.

Regards,
Rom?n.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Have I understood?
  2013-01-10 17:18 Have I understood? Román
@ 2013-01-11 17:42 ` Yann Droneaud
  0 siblings, 0 replies; 2+ messages in thread
From: Yann Droneaud @ 2013-01-11 17:42 UTC (permalink / raw)
  To: kernelnewbies

> Hello everybody,
>
> I am tracing the boot kernel process
> (http://tldp.org/HOWTO/Linux-i386-Boot-Code-HOWTO) and I have a
> question: GNU/GRUB loads vmlinuz at 0x7c00 memory, does not it? And
> then, the first instruction CPU executes is in bootsec.S, does not it?
> Have I understood well?
>

The PC BIOS load and execute the first 512 bytes of a Linux kernel (eg
bootsect.S) when the kernel was dumped on a floppy disk.

The so called boot sector was loaded a 0x7c00 and in charge of loading the
whole kernel in memory. Then it ran the setup code before transfering
control to the kernel.
[who use this today ... with kernel far bigger than 1.44MBytes
 btw, bootsect.S is no more included in the kernel.
 Floppy booting rely on syslinux]

A boot loader such as Lilo and GRUB load the kernel image in memory and
transfer control to the setup code.


Regards.

-- 
Yann Droneaud
OPTEYA

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-01-11 17:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-10 17:18 Have I understood? Román
2013-01-11 17:42 ` Yann Droneaud

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).