Lines Matching +full:auto +full:- +full:boot

8 initrd provides the capability to load a RAM disk by the boot loader.
15 where the kernel comes up with a minimum set of compiled-in drivers, and
19 discussion of the boot process can be found in [#f1]_.
23 ---------
27 1) the boot loader loads the kernel and the initial RAM disk
42 the usual boot sequence
51 Boot command-line options
52 -------------------------
70 Note: /dev/initrd is read-only and it can only be used once. As soon
76 initrd is mounted as root, and the normal boot procedure is followed,
80 ----------------------
88 find . | cpio --quiet -H newc -o | gzip -9 -n > /boot/imagefile.img
94 gzip -cd /boot/imagefile.img | cpio -imd --quiet
97 ------------
107 If the root file system is created during the boot procedure (i.e. if
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
178 Finally, you have to boot the kernel and load initrd. Almost all Linux
179 boot loaders support initrd. Since the boot process is still compatible
180 with an older mechanism, the following boot command line parameters
200 initrd = /boot/initrd.gz
205 For other boot loaders, please refer to the respective documentation.
207 Now you can boot and enjoy using initrd.
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``
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
292 6) the boot loader is installed
293 7) the boot loader is configured to load an initrd with the set of
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
319 from CD, e.g. by using a boot floppy and bootstrapping a bigger RAM disk
321 from the CD-ROM, and loading the RAM disk from CD without need of
326 ------------------------------
333 in the kernel image or with root=... at the boot command line) as the
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 ------------------------------------------
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/