Skip to contentSkip to conversation

Have I understood?

DISCUSSION Román 2 participants 2 messages Jan 10, 2013 – Jan 11, 2013

lore
Share & tools
lore

Román

author
#0 lore raw

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.

#1 lore raw
Quoted 8 lines

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.

Signature · 2 lines
Yann Droneaud
OPTEYA