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. --- debian/changelog | 5 +++- en/appendix/chroot-install.xml | 63 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 67 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index f95fa136d..858f70870 100644 --- a/debian/changelog +++ b/debian/changelog @@ -41,13 +41,16 @@ installation-guide (2007xxxx) UNRELEASED; urgency=low * Extend the documentation of apt-setup, especially the decision whether or not to use a network mirror. Document selection of services. * Document new apt-setup/services-select and related hostname preseeds. + * Add some information about creating device files in the appendix on chroot + installs; also add a note that the appendix only covers the basic steps + of a chroot install. [ Joey Hess ] * Document how to preseed partman-auto to use only available disk, no matter what it's name is. * debian/rules: call dh_md5sums. - -- Frans Pop Sat, 20 Oct 2007 20:52:43 +0200 + -- Frans Pop Sun, 21 Oct 2007 15:14:48 +0200 installation-guide (20070319) unstable; urgency=low 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