Initrd: Difference between revisions

Jump to navigation Jump to search
[unchecked revision][unchecked revision]
m (typo)
Line 12:
=== Setup in a Multiboot-compliant kernel ===
If you are using a [[Multiboot]]-compliant kernel, then most of the job is already performed by your bootloader (e.g. [[GRUB]]). All you have to do is tell GRUB to load it along with your kernel, as a [[Multiboot]] module (for GRUB, the setting is found in ''menu.lst'' for GRUB Legacy, or ''grub.cfg'' for GRUB2), and use the [[Multiboot]] structure to find where it has been loaded.
 
A GRUB legacy script would look similar to this:
<pre>
title MyOS
root (fd0)
kernel /boot/kernel.bin
module /boot/initrd.bin
</pre>
 
=== Setup in custom-booted kernels ===
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu