• Home
  • Raw
  • Download

Lines Matching +full:link +full:- +full:trigger +full:- +full:order

15 where the kernel comes up with a minimum set of compiled-in drivers, and
23 ---------
51 Boot command-line options
52 -------------------------
70 Note: /dev/initrd is read-only and it can only be used once. As soon
80 ----------------------
88 find . | cpio --quiet -H newc -o | gzip -9 -n > /boot/imagefile.img
94 gzip -cd /boot/imagefile.img | cpio -imd --quiet
97 ------------
127 - a floppy disk (works everywhere but it's painfully slow)
128 - a RAM disk (fast, but allocates physical memory)
129 - a loopback device (the most elegant solution)
137 # mke2fs -F -m0 initrd
142 # mount -t ext2 -o loop initrd /mnt
171 # gzip -9 initrd
174 only add a symbolic link from ``/sbin/init`` to ``/bin/sh``. Alternatively, you
211 ------------------------
217 - mounting the new root file system
218 - turning it into the root file system
219 - removing all accesses to the old (initrd) root file system
220 - unmounting the initrd file system and de-allocating the RAM disk
225 # mkdir /new-root
226 # mount -o ro /dev/hda1 /new-root
230 man page; ``pivot_root`` is distributed with util-linux version 2.10h or higher
235 # cd /new-root
244 # exec chroot . what-follows <dev/console >dev/console 2>&1
246 Where what-follows is a program under the new root, e.g. ``/sbin/init``
248 ``/dev`` directory, udev must be initialized before invoking chroot in order
251 Note: implementation details of pivot_root may change with time. In order
254 - before calling pivot_root, the current directory of the invoking
256 - use . as the first argument, and the _relative_ path of the directory
258 - a chroot program must be available under the old and the new root
259 - chroot to the new root afterwards
260 - use relative paths for dev/console in the exec command
266 # blockdev --flushbufs /dev/ram0
268 It is also possible to use initrd with an NFS-mounted root, see the
273 ---------------
284 distribution media (e.g. CD-ROM, network, tape, ...). This can be
285 done by asking the user, by auto-probing, or by using a hybrid
291 execs - via chroot - a program that continues the installation
300 The key role of initrd here is to re-use the configuration data during
302 kernel or re-compiling or re-linking the kernel.
307 (ideally only one) and to keep the system-specific part of configuration
314 boot time, but the system loaded from initrd can invoke a user-friendly
316 auto-detection).
318 Last not least, CD-ROM distributors may use it for better installation
321 from the CD-ROM, and loading the RAM disk from CD without need of
326 ------------------------------
338 In order to use this mechanism, you do not have to specify the boot
344 file /proc/sys/kernel/real-root-dev, e.g.::
346 # echo 0x301 >/proc/sys/kernel/real-root-dev
356 ------------------------------------------
358 In case you did not want to use ``root=/dev/ram0`` to trigger the pivot_root
365 mount -n -t proc proc /proc
366 echo 0x0100 >/proc/sys/kernel/real-root-dev
367 umount -n /proc
376 ---------
379 https://www.almesberger.net/cv/papers/ols2k-9.ps.gz
382 .. [#f3] util-linux: Miscellaneous utilities for Linux
383 https://www.kernel.org/pub/linux/utils/util-linux/