From ec4931e6696da34279614fa5c817a11e74f1b51e Mon Sep 17 00:00:00 2001 From: trasz Date: Sun, 18 Oct 2015 14:20:11 +0000 Subject: [PATCH] MFC r285881: Add md_root example to defaults/loader.conf. Note that this doesn't quite work yet - the preloaded image gets loaded twice for some reason. Sponsored by: The FreeBSD Foundation git-svn-id: svn://svn.freebsd.org/base/stable/10@289508 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f --- sys/boot/forth/loader.conf | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/sys/boot/forth/loader.conf b/sys/boot/forth/loader.conf index 3499b8929..747eedd28 100644 --- a/sys/boot/forth/loader.conf +++ b/sys/boot/forth/loader.conf @@ -49,6 +49,16 @@ entropy_cache_type="/boot/entropy" # without waiting for a (re)seed. +############################################################## +### Initial memory disk settings ########################### +############################################################## + +#initmd_load="YES" # The "initmd" prefix is arbitrary. +#initmd_type="md_image" # Create md(4) disk at boot. +#initmd_name="/boot/root.img" # Path to a file containing the image. +#rootdev="ufs:/dev/md0" # Set the root filesystem to md(4) device. + + ############################################################## ### Loader settings ######################################## ############################################################## -- 2.45.0