X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=index.html;h=460eddfff88e201004107902c055cc6f3b52e7d5;hb=13946897fa8776bdc6eda8847cb6847d53e42594;hp=59e50ca9057f4fec58c597d85a58004e2153353d;hpb=333c89647d2bb479541eb707117284ab060e0a6f;p=i-t-talk.git
diff --git a/index.html b/index.html
index 59e50ca..460eddf 100644
--- a/index.html
+++ b/index.html
@@ -72,8 +72,90 @@
it can't read them from the root filesystem
- Solution: boot loader provides a bundle of files to the
- kernel
+ Solution: boot loader provides a bundle of files
+ (initramfs image) to the kernel
+
+
+
+
+
+
+
+
+
+
How the kernel uses an initramfs
+
+ -
+ Kernel always mounts an initial root filesystem using
+ either ramfs or tmpfs
+
+ -
+ If the boot loader provides an initramfs image, kernel
+ unpacks it into this filesystem, then runs /init
+
+ -
+ The initramfs init system is then responsible for mounting
+ the real root filesystem and running the real init
+
+ -
+ Although it is not required to hand over at all
+ - e.g. debian-installer
+
+
+
+
+
+
+
+
Overview
+
+ -
+ Started in Ubuntu in 2005 and adopted in Debian later that year
+
+ -
+ mkinitramfs builds an initramfs image using the
+ included scripts, necessary kernel modules, udev, and utilities
+ from klibc-utils or busybox
+
+ -
+ Uses build-time and boot-time hook scripts for
+ extensibility
+
+ - Used by btrfs-tools, cryptsetup, lvm2, mdadm, etc.
+
+
+ -
+ Supports dependencies within each set of scripts
+
+
+
+
+
+
The init system
+
+ -
+ Mount devtmpfs, devpts, procfs,
+ sysfs, tmpfs at /run
+
+ -
+ Run init-top scripts - includes starting udev
+
+ -
+ Load explicitly configured modules
+
+ -
+ Run init-premount scripts
+
+ -
+ Run local-top or nfs-top scripts
+ - e.g. mdadm setup
+
+ -
+ Run local-premount or nfs-premount scripts
+ - e.g. btrfs scan, resume from disk
+
+ -
+ Mount root filesystem
@@ -117,6 +199,9 @@ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-->
+
+ Xzibit promotional photo © Retna, used for purpose of parody
+