2004-05-03 11:59:46 +01:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
2007-03-21 18:42:58 +00:00
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
2004-05-03 11:59:46 +01:00
|
|
|
<!ENTITY % general-entities SYSTEM "../general.ent">
|
|
|
|
%general-entities;
|
|
|
|
]>
|
2005-12-18 18:31:04 +00:00
|
|
|
|
2020-06-09 14:35:39 +01:00
|
|
|
<sect1 id="ch-tools-introduction-chroot">
|
2005-12-18 18:31:04 +00:00
|
|
|
<?dbhtml filename="introduction.html"?>
|
2004-05-03 11:59:46 +01:00
|
|
|
|
2005-12-18 18:31:04 +00:00
|
|
|
<title>Introduction</title>
|
2005-02-19 22:16:42 +00:00
|
|
|
|
2022-02-26 15:58:56 +00:00
|
|
|
<warning>
|
|
|
|
<para>Please make sure the temporary system is already booted on the
|
|
|
|
target machine. All commands in this chapter and the following chapters
|
|
|
|
should be executed on the target machine instead of the host distro,
|
|
|
|
unless the book explicitly says a command is for the host. Running a
|
|
|
|
command for the temporary system on the host can completely destroy the
|
|
|
|
host distro.</para>
|
|
|
|
</warning>
|
|
|
|
|
2020-06-11 04:13:43 +01:00
|
|
|
<para>This chapter shows how to build the last missing bits of the temporary
|
2022-09-30 17:22:10 +01:00
|
|
|
system: the tools needed to build the various packages. Now
|
2021-08-25 06:30:13 +01:00
|
|
|
that all circular dependencies have been resolved and the temporary system
|
|
|
|
is already bootable, we can boot it on the target machine and it would be
|
|
|
|
completely isolated from the host operating system. Then we can continue
|
|
|
|
to build on the target machine.</para>
|
2020-06-09 14:35:39 +01:00
|
|
|
|
2021-08-25 06:30:13 +01:00
|
|
|
<para>For proper operation of the temporary system, some communication
|
2020-06-09 14:35:39 +01:00
|
|
|
with the running kernel must be established. This is done through the
|
2022-10-01 05:41:42 +01:00
|
|
|
so-called <emphasis>Virtual Kernel File Systems</emphasis>, which will be
|
2021-08-25 06:30:13 +01:00
|
|
|
mounted as soon as possible after boot. You may want to check
|
|
|
|
that they are mounted by issuing <command>mount</command>.</para>
|
2020-06-09 14:35:39 +01:00
|
|
|
|
2022-04-22 05:39:15 +01:00
|
|
|
<para>All commands in this and following chapters are run as &root; on the
|
2021-08-25 06:30:13 +01:00
|
|
|
target system, fortunately without access to the host system.
|
|
|
|
Be careful anyway, as if the storage devices of your target system already
|
2022-10-01 09:03:20 +01:00
|
|
|
contain some important data, it's possible to destroy them with bad
|
|
|
|
commands.</para>
|
2014-04-03 22:52:09 +01:00
|
|
|
|
2005-12-18 18:31:04 +00:00
|
|
|
</sect1>
|