source: BOOK/boot/x86_64-64/bootloaders.xml@ c115ef0

Last change on this file since c115ef0 was 67300de, checked in by Joe Ciccone <jciccone@…>, 16 years ago

Create a clfs-1.1 branch in preperation for a RC.

  • Property mode set to 100644
File size: 1.5 KB
RevLine 
[67300de]1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6]>
7
8<sect1 id="ch-boot-building-a-bootloader" role="wrap">
9 <?dbhtml filename="building-a-bootloader.html"?>
10
11 <title>Building a bootloader</title>
12
13 <para>On x86 and x86_64 (multilib) architectures, the preferred
14 bootloader is GRUB. Unfortunately, GRUB doesn't work on x86_64
15 Pure64 - the stage2 files can be correctly built as 32-bit, but the
16 <command>grub</command> shell is a 64-bit program, and tries to
17 execute some of the stage2 routines - this results in a segmentation
18 fault. Therefore, in the final system we use Lilo as the bootloader.
19 </para>
20
21 <para>If you already have a bootloader, such as GRUB, installed on
22 the system then you should use that to make your new kernel bootable.
23 </para>
24
25 <note>
26 <para>We will now cross-compile Bin86 and Lilo - these instructions
27 assume you are using an x86_64 machine (e.g. booted fron a Live CD),
28 either pure64 or multilib. This approach will not work if you are
29 running the machine as i686, because a 32-bit kernel will not be
30 able to execute a 64-bit binary to install the bootloader. If that
31 is the case, you will need to install an i686 bootloader on the
32 host system.
33 </para>
34 </note>
35
36</sect1>
Note: See TracBrowser for help on using the repository browser.