source: BOOK/bootable/x86_64/grub.xml@ bb3da5a

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since bb3da5a was 3f8be484, checked in by Jim Gifford <clfs@…>, 19 years ago

r627@server (orig r625): jim | 2005-10-31 12:59:34 -0800
Import of Cross-LFS Book

  • Property mode set to 100644
File size: 3.6 KB
RevLine 
[3f8be484]1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
3 <!ENTITY % general-entities SYSTEM "../../general.ent">
4 %general-entities;
5]>
6<sect1 id="ch-bootable-grub">
7 <?dbhtml filename="grub.html"?>
8
9 <title>Making the LFS System Bootable</title>
10
11 <indexterm zone="ch-bootable-grub">
12 <primary sortas="a-GRUB">GRUB</primary>
13 <secondary>configuring</secondary></indexterm>
14
15 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
16 href="../x86/grub.xml"
17 xpointer="xpointer(//*[@os='a'])"/>
18
19 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
20 href="../x86/grub.xml"
21 xpointer="xpointer(//*[@os='b'])"/>
22
23 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
24 href="../x86/grub.xml"
25 xpointer="xpointer(//*[@os='c'])"/>
26
27 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
28 href="../x86/grub.xml"
29 xpointer="xpointer(//*[@os='d'])"/>
30
31 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
32 href="../x86/grub.xml"
33 xpointer="xpointer(//*[@os='e'])"/>
34
35 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
36 href="../x86/grub.xml"
37 xpointer="xpointer(//*[@os='f'])"/>
38
39 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
40 href="../x86/grub.xml"
41 xpointer="xpointer(//*[@os='g'])"/>
42
43 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
44 href="../x86/grub.xml"
45 xpointer="xpointer(//*[@os='h'])"/>
46
47 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
48 href="../x86/grub.xml"
49 xpointer="xpointer(//*[@os='i'])"/>
50
51 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
52 href="../x86/grub.xml"
53 xpointer="xpointer(//*[@os='j'])"/>
54
55 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
56 href="../x86/grub.xml"
57 xpointer="xpointer(//*[@os='k'])"/>
58
59 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
60 href="../x86/grub.xml"
61 xpointer="xpointer(//*[@os='l'])"/>
62
63 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
64 href="../x86/grub.xml"
65 xpointer="xpointer(//*[@os='m'])"/>
66
67 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
68 href="../x86/grub.xml"
69 xpointer="xpointer(//*[@os='n'])"/>
70
71 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
72 href="../x86/grub.xml"
73 xpointer="xpointer(//*[@os='o'])"/>
74
75 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
76 href="../x86/grub.xml"
77 xpointer="xpointer(//*[@os='p'])"/>
78
79<screen><userinput>cat &gt; /boot/grub/menu.lst &lt;&lt; "EOF"
80<literal># Begin /boot/grub/menu.lst
81
82# By default boot the first menu entry.
83default 0
84
85# Allow 30 seconds before booting the default.
86timeout 30
87
88# Use prettier colors.
89color green/black light-green/black
90
91# The first entry is for LFS.
92title LFS &version;
93root (hd0,3)
94kernel /boot/lfskernel-&linux-x86_64-version; root=/dev/hda4</literal>
95EOF</userinput></screen>
96
97 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
98 href="../x86/grub.xml"
99 xpointer="xpointer(//*[@os='q'])"/>
100
101 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
102 href="../x86/grub.xml"
103 xpointer="xpointer(//*[@os='r'])"/>
104
105 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
106 href="../x86/grub.xml"
107 xpointer="xpointer(//*[@os='s'])"/>
108
109 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
110 href="../x86/grub.xml"
111 xpointer="xpointer(//*[@os='t'])"/>
112
113 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
114 href="../x86/grub.xml"
115 xpointer="xpointer(//*[@os='u'])"/>
116
117 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
118 href="../x86/grub.xml"
119 xpointer="xpointer(//*[@os='v'])"/>
120
121 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
122 href="../x86/grub.xml"
123 xpointer="xpointer(//*[@os='w'])"/>
124
125</sect1>
Note: See TracBrowser for help on using the repository browser.