~ubuntu-branches/ubuntu/precise/live-manual/precise

« back to all changes in this revision

Viewing changes to manual/en/customization_bootup.xml

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Baumann
  • Date: 2010-06-06 15:30:21 UTC
  • mto: This revision was merged to the branch mainline in revision 8.
  • Revision ID: james.westby@ubuntu.com-20100606153021-wjm839uxrii9x2ks
Tags: upstream-2.0~a1
ImportĀ upstreamĀ versionĀ 2.0~a1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="utf-8"?>
 
2
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
 
3
    "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
 
4
  <!ENTITY % commondata SYSTEM "common.ent" > %commondata;
 
5
]>
 
6
<sect1 id="bootup">
 
7
<title>Customising the bootup process</title>
 
8
 
 
9
<para>This chapter discusses customisation of bootup process of a live system, including kernel options, modifications to the bootloader, "splash" screens and startup scripts.</para>
 
10
 
 
11
<para>FIXME</para>
 
12
 
 
13
<sect2 id="kernel">
 
14
<title>Kernel</title>
 
15
</sect2>
 
16
 
 
17
<sect2 id="bootloaders">
 
18
<title>Bootloaders</title>
 
19
<para>
 
20
 FIXME
 
21
</para>
 
22
 
 
23
<sect3>
 
24
<title>Choosing a bootloader</title>
 
25
<para>
 
26
 FIXME
 
27
</para>
 
28
</sect3>
 
29
 
 
30
<sect3 id="syslinux">
 
31
<title>Syslinux</title>
 
32
 <para>In the default configuration, Syslinux will pause indefinitely at its splash screen. To adjust this, modify the <command>LH_SYSLINUX_TIMEOUT</command> value or pass <command>--syslinux-timeout <replaceable>TIMEOUT</replaceable></command> to <filename>lh_config</filename>. The value is specified in units of 1/10s and the maximum possible timeout is 35996. A timeout of 0 (zero) disables the timeout completely. For more information please see syslinux(1).</para>
 
33
</sect3>
 
34
 
 
35
<sect3>
 
36
<title>Bootloader templates</title>
 
37
<para>
 
38
 FIXME
 
39
</para>
 
40
</sect3>
 
41
 
 
42
<sect3>
 
43
<title>Booting a Debian Live USB/HDD system from a USB stick with Grub</title>
 
44
<para>
 
45
Suppose you've built your Debian Live USB/HDD image, but want to
 
46
install it on an already used USB stick with ext2/3 partition and Grub
 
47
bootloader:
 
48
</para>
 
49
 
 
50
<para>First, copy live components in a directory on your key: the
 
51
  Linux kernel (<filename>vmlinuz*</filename>), its Initial RAM disk
 
52
  (<filename>initrd*</filename>) and the system
 
53
  (<filename>filesystem.squashfs</filename>):
 
54
<screen>
 
55
# mkdir /media/myUsb/boot/live/
 
56
# cp binary/vmlinuz1 binary/initrd1.img binary/live/filesystem.squashfs /media/myUsb/boot/live/
 
57
</screen>
 
58
</para>
 
59
 
 
60
<para>Then, add a stanza in Grub's menu definition to boot up this
 
61
  system:
 
62
<screen>
 
63
echo &gt;&gt;/media/myUsb/boot/grub/menu.lst  &lt;&lt;EOF
 
64
 
 
65
title           my Debian Live
 
66
root            (hd0,1)    # my Ext2 partition is the second on this stick
 
67
kernel          /boot/live/vmlinuz1 boot=live vga=791 persistent union=aufs live-media-path=boot/live
 
68
initrd          /boot/live/initrd1.img
 
69
 
 
70
EOF
 
71
</screen>
 
72
The important kernel command line option to add here
 
73
is <variablename>live-media-path</variablename>, which tells to Live
 
74
initrd's script in which subdirectory to look for the SquashFS image.
 
75
</para>
 
76
 
 
77
<para>Next, umount your USB stick and reboot on it. That's all!</para>
 
78
 
 
79
</sect3>
 
80
</sect2>
 
81
 
 
82
<sect2 id="splash">
 
83
<title>Splash screens</title>
 
84
<para>
 
85
 FIXME
 
86
</para>
 
87
</sect2>
 
88
 
 
89
<sect2 id="memtest">
 
90
<title>Memtest</title>
 
91
<para>
 
92
 FIXME
 
93
</para>
 
94
</sect2>
 
95
 
 
96
<sect2 id="startup-scripts">
 
97
<title>Startup scripts</title>
 
98
<para>
 
99
 FIXME
 
100
</para>
 
101
</sect2>
 
102
 
 
103
<sect2 id="cheat-codes">
 
104
<title>Cheat codes</title>
 
105
<para>
 
106
 FIXME
 
107
</para>
 
108
<para>
 
109
 Checksums.
 
110
</para>
 
111
</sect2>
 
112
 
 
113
</sect1>