~psusi/ubuntu/precise/installation-guide/partitions

« back to all changes in this revision

Viewing changes to eu/install-methods/boot-drive-files.xml

  • Committer: Bazaar Package Importer
  • Author(s): Colin Watson
  • Date: 2010-06-25 10:28:30 UTC
  • mfrom: (2.1.4 sid)
  • Revision ID: james.westby@ubuntu.com-20100625102830-nvfcrroep8mvhkeo
Tags: 20100518ubuntu1
* Resynchronise with Debian.  Remaining changes:
  - Build only English (for now, until we figure out how to avoid trashing
    translations quite so badly with Ubuntu branding etc.).
  - Build only Ubuntu architectures (amd64, armel, i386, ia64, powerpc,
    sparc).
  - Extensive (although possibly incomplete) Ubuntu branding, adjustments
    for our mirror layout, etc.
  - Add "Ubuntu and Debian" and "What is Ubuntu?" section, text borrowed
    from the Ubuntu web site. Disable the "What is Debian GNU/Linux?"
    section.
  - Direct installation reports to ubuntu-users for now.
  - Adjust various memory and disk space requirements. Talk about the
    default Ubuntu desktop and Ubuntu tasks rather than Debian tasks.
  - Document mounting /sys in various places.
  - Unset supports-floppy-boot for all our architectures.
  - Add a few more supports-floppy-boot and bootable-usb conditionals.
  - Document our root password and sudo arrangements.
  - Document netboot-style USB images. Still mention the hd-media images,
    but they're downplayed since many USB sticks are too small for a full
    Ubuntu ISO image.
  - Document Kickstart installations (currently only the basics, a
    reference to Red Hat's documentation, and the differences from
    Anaconda).
  - Update keyboard preseeding documentation for console-setup.
  - Update chroot-install guide for console-setup and language packs; add
    a bit more advice about installing grub.
  - Disable documentation of win32-loader.
  - Document new simplified partman preseeding.
  - Document mirror/udeb/components.
  - Document apt-setup/security_path.
  - Don't recommend passing http://archive.ubuntu.com/ubuntu to
    debootstrap.
  - Document pkgsel/update-policy.
  - Document preseeding user-setup's home directory encryption facility.
  - Improve examples of tasksel/first preseeding to avoid mentioning
    standard, which is installed by default.
  - Document partman-auto-lvm/guided_size.
  - Document scheme for preseeding the use of CC.archive.ubuntu.com
    mirrors.
  - Document pkgsel/updatedb.
  - Document partman/default_filesystem.
  - Document how to override the weak password check.
  - Remove comments about automatic installation methods that have been
    removed from Ubuntu.
  - Remove documentation of
    base-installer/kernel/linux/initramfs-generators; setting this to
    anything other than the default will cause the installer to fail.
* Adjust list of armel architectures for Ubuntu.
* Bump kernelversion to 2.6.35.
* Bump release version and names for Maverick.
* Update Canonical's copyright years.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<!-- retain these comments for translator revision tracking -->
2
 
<!-- original version: 11648 untranslated -->
3
 
 
4
 
 <sect1 condition="bootable-disk" id="boot-drive-files">
5
 
 <title>Preparing Files for Hard Disk Booting</title>
6
 
<para>
7
 
 
8
 
The installer may be booted using boot files placed on an
9
 
existing hard drive partition, either launched from another operating
10
 
system or by invoking a boot loader directly from the BIOS.
11
 
 
12
 
</para><para>
13
 
 
14
 
A full, "pure network" installation can be achieved using this
15
 
technique. This avoids all hassles of removable media, like finding
16
 
and burning CD images or struggling with too numerous and 
17
 
<xref linkend="unreliable-floppies"/> unreliable floppy disks.
18
 
 
19
 
</para><para arch="x86">
20
 
 
21
 
The installer cannot boot from files on an NTFS file system.
22
 
 
23
 
</para><para arch="powerpc"> 
24
 
 
25
 
The installer cannot boot from files on an HFS+ file system.  MacOS
26
 
System 8.1 and above may use HFS+ file systems; NewWorld PowerMacs all
27
 
use HFS+. To determine whether your existing file system is HFS+,
28
 
select <userinput>Get Info</userinput> for the volume in question. HFS
29
 
file systems appear as <userinput>Mac OS Standard</userinput>, while
30
 
HFS+ file systems say <userinput>Mac OS Extended</userinput>. You must
31
 
have an HFS partition in order to exchange files between MacOS and
32
 
Linux, in particular the installation files you download.
33
 
 
34
 
</para><para arch="powerpc"> 
35
 
 
36
 
Different programs are used for hard disk installation system booting,
37
 
depending on whether the system is a ``NewWorld'' or an ``OldWorld''
38
 
model.
39
 
 
40
 
</para>
41
 
 
42
 
  <sect2 arch="x86" id="files-lilo">
43
 
  <title>Hard disk installer booting using <command>LILO</command> or
44
 
  <command>GRUB</command></title>
45
 
<para>
46
 
 
47
 
This section explains how to add to or even replace an existing linux
48
 
installation using either <command>LILO</command> or
49
 
<command>GRUB</command>.
50
 
 
51
 
</para><para>
52
 
 
53
 
At boot time, both bootloaders support loading in memory not
54
 
only the kernel, but also a disk image. This RAM disk can be used as
55
 
the root file-system by the kernel. Choose the flavor in 
56
 
<xref linkend="kernel-choice"/> that best fits your taste, and you 
57
 
will be (almost) done.
58
 
 
59
 
</para><para>
60
 
 
61
 
Copy the following two or three files from the Debian archives in a
62
 
convenient location on your hard drive, for instance in
63
 
<filename>/boot/newinstall/</filename>.
64
 
 
65
 
<itemizedlist>
66
 
<listitem><para>
67
 
 
68
 
<filename>vmlinuz</filename> (kernel binary)
69
 
 
70
 
</para></listitem>
71
 
<listitem><para>
72
 
 
73
 
<filename>initrd.gz</filename> (ramdisk image)
74
 
 
75
 
</para></listitem>
76
 
<listitem><para>
77
 
 
78
 
<filename>drivers.tgz</filename> (optional kernel modules) 
79
 
 
80
 
</para></listitem>
81
 
</itemizedlist>
82
 
 
83
 
Extract recursively everything <emphasis>now</emphasis> (easier than
84
 
later). Remember on which physical partition
85
 
(e.g. <filename>/dev/hda4</filename>) are the <filename>.o</filename>
86
 
drivers you just extracted from <filename>drivers.tgz</filename>.
87
 
 
88
 
</para><para>
89
 
 
90
 
You can also replace <filename>vmlinuz</filename> and
91
 
<filename>drivers.tgz</filename> by your custom kernel and the
92
 
carefully chosen drivers that you will need for the installation, for
93
 
instance a module for your exotic and unsupported network interface.
94
 
Do not forget that your custom kernel must have (at least) the
95
 
<filename>RAMDISK</filename> and <filename>initrd</filename> features
96
 
<emphasis>built-in</emphasis>.  See the very beginning of 
97
 
<xref linkend="rescue-replace-kernel"/> for the list of the other
98
 
mandatory built-in kernel features required to boot and launch the
99
 
installer. The floppy-related stuff after the list of features is
100
 
irrelevant to you.
101
 
 
102
 
</para><para>
103
 
 
104
 
Finally, to configure the bootloader proceed to 
105
 
<xref linkend="boot-initrd"/>.
106
 
 
107
 
</para>
108
 
  </sect2>
109
 
 
110
 
 
111
 
  <sect2 arch="powerpc" id="files-oldworld">
112
 
  <title>Hard Disk Installer Booting for OldWorld Macs</title>
113
 
<para>
114
 
 
115
 
The <filename>boot-floppy-hfs</filename> floppy uses
116
 
<application>miBoot</application> to launch Linux installation, but
117
 
<application>miBoot</application> cannot easily be used for hard disk
118
 
booting. <application>BootX</application>, launched from MacOS,
119
 
supports booting from files placed on the hard
120
 
disk. <application>BootX</application> can also be used to dual-boot
121
 
MacOS and Linux after your Debian installation is complete. For the
122
 
Performa 6360, it appears that <command>quik</command> cannot make the
123
 
hard disk bootable.  So <application>BootX</application> is required
124
 
on that model.
125
 
 
126
 
</para><para>
127
 
 
128
 
Download and unstuff the <application>BootX</application>
129
 
distribution, available from <ulink url="&url-powerpc-bootx;"></ulink>, 
130
 
or in the
131
 
<filename>dists/woody/main/disks-powerpc/current/powermac</filename>
132
 
directory on Debian http/ftp mirrors and official Debian CDs. Use
133
 
<application>Stuffit Expander</application> to extract it from its
134
 
archive. Within the package, there is an empty folder called
135
 
<filename>Linux Kernels</filename>. Download
136
 
<filename>linux.bin</filename> and
137
 
<filename>ramdisk.image.gz</filename> from the
138
 
<filename>disks-powerpc/current/powermac</filename> folder, and place
139
 
them in the <filename>Linux Kernels</filename> folder. Then place the
140
 
<filename>Linux Kernels</filename> folder in the active System Folder.
141
 
 
142
 
</para>
143
 
  </sect2>
144
 
 
145
 
  <sect2 arch="powerpc" id="files-newworld">
146
 
  <title>Hard Disk Installer Booting for NewWorld Macs</title>
147
 
<para>
148
 
 
149
 
NewWorld PowerMacs support booting from a network or an ISO9660
150
 
CD-ROM, as well as loading ELF binaries directly from the hard
151
 
disk. These machines will boot Linux directly via
152
 
<command>yaboot</command>, which supports loading a kernel and RAMdisk
153
 
directly from an ext2 partition, as well as dual-booting with
154
 
MacOS. Hard disk booting of the installer is particularly appropriate
155
 
for newer machines without floppy drives. <command>BootX</command> is
156
 
not supported and must not be used on NewWorld PowerMacs.
157
 
 
158
 
</para><para>
159
 
 
160
 
<emphasis>Copy</emphasis> (not move) the following four files which
161
 
you downloaded earlier from the Debian archives, onto the root level
162
 
of your hard drive (this can be accomplished by
163
 
<keycap>option</keycap>-dragging each file to the hard drive icon).
164
 
 
165
 
<itemizedlist>
166
 
<listitem><para>
167
 
 
168
 
<filename>linux.bin</filename>
169
 
 
170
 
</para></listitem>
171
 
<listitem><para>
172
 
 
173
 
<filename>root.bin</filename> (from inside the images-1.44 folder)
174
 
 
175
 
</para></listitem>
176
 
<listitem><para>
177
 
 
178
 
<filename>yaboot</filename>
179
 
 
180
 
</para></listitem>
181
 
<listitem><para>
182
 
 
183
 
<filename>yaboot.conf</filename>
184
 
 
185
 
</para></listitem>
186
 
</itemizedlist>
187
 
 
188
 
</para><para>
189
 
 
190
 
Make a note of the partition number of the MacOS partition where you
191
 
place these files. If you have the MacOS <command>pdisk</command>
192
 
program, you can use the L command to check for the partition
193
 
number. You will need this partition number for the command you type
194
 
at the Open Firmware prompt when you boot the installer.
195
 
 
196
 
</para><para>
197
 
 
198
 
To boot the installer, proceed to <xref linkend="boot-newworld"/>.
199
 
 
200
 
</para>
201
 
  </sect2>
202
 
 </sect1>