From d5f638dcdb9eaa9e7a8e1a6dbdd442697122c7c4 Mon Sep 17 00:00:00 2001 From: Frans Pop Date: Sun, 21 Oct 2007 13:22:07 +0000 Subject: Updates to appendix on chroot installs: - add disclaimer: the appendix only covers the basic steps needed to install a system - add a section with some basic instructions about creating device files - add an 'initrd=' line to the example lilo.conf Thanks to Igor Stirbu for noting the issue with missing device files and grub installation. --- en/appendix/chroot-install.xml | 63 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) (limited to 'en/appendix/chroot-install.xml') diff --git a/en/appendix/chroot-install.xml b/en/appendix/chroot-install.xml index 98b5232a4..ae60bd3a8 100644 --- a/en/appendix/chroot-install.xml +++ b/en/appendix/chroot-install.xml @@ -27,6 +27,19 @@ media. + + +As this is a mostly manual procedure, you should bear in mind that you +will need to do a lot of basic configuration of the system yourself, +which will also require more knowledge of Debian and of Linux in general +than performing a regular installation. You cannot expect this procedure +to result in a system that is identical to a system from a regular +installation. You should also keep in mind that this procedure only +gives the basic steps to set up a system. Additional installation and/or +configuration steps may be needed. + + + Getting Started @@ -202,6 +215,49 @@ compatible with the Debian base system, for example: + + Create device files + + +At this point /dev/ only contains very basic device +files. For the next steps of the installation additional device files may +be needed. There are different ways to go about this and which method you +should use depends on the host system you are using for the installation, +on whether you intend to use a modular kernel or not, and on whether you +intend to use dynamic (e.g. using udev) or static +device files for the new system. + + + +A few of the available options are: + + + + +create a default set of static device files using + +# cd /dev +# MAKEDEV generic + + + + + +manually create only specific device files using MAKEDEV + + + + +bind mount /dev from your host system on top of /dev in the target system; +note that the postinst scripts of some packages may try to create device +files, so this option should only be used with care + + + + + + + Mount Partitions @@ -515,6 +571,12 @@ The second command will install grub (in this case in the MBR of hda). The last command will create a sane and working /boot/grub/menu.lst. + + +Note that this assumes that a /dev/hda device file has +been created. There are alternative methods to install grub, +but those are outside the scope of this appendix. + Here is a basic /etc/lilo.conf as an example: @@ -526,6 +588,7 @@ install=menu delay=20 lba32 image=/vmlinuz +initrd=/initrd.img label=Debian -- cgit v1.2.3