diff options
author | trasz <trasz@FreeBSD.org> | 2015-07-25 20:15:29 +0000 |
---|---|---|
committer | trasz <trasz@FreeBSD.org> | 2015-07-25 20:15:29 +0000 |
commit | 2b44af71ee5e343b6dc3d7fdaaa5f9cda5e75ef7 (patch) | |
tree | c67e76547095eba3df2542aa664224cb253a5a41 /sys/boot | |
parent | 5f289ad56b2f4cec2776d7fc2fb3effda51bd29e (diff) | |
download | FreeBSD-src-2b44af71ee5e343b6dc3d7fdaaa5f9cda5e75ef7.zip FreeBSD-src-2b44af71ee5e343b6dc3d7fdaaa5f9cda5e75ef7.tar.gz |
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.
MFC after: 1 month
Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'sys/boot')
-rw-r--r-- | sys/boot/forth/loader.conf | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sys/boot/forth/loader.conf b/sys/boot/forth/loader.conf index 32d6582..b4d5f3e 100644 --- a/sys/boot/forth/loader.conf +++ b/sys/boot/forth/loader.conf @@ -67,6 +67,16 @@ ram_blacklist_type="ram_blacklist" # Required for the kernel to find ############################################################## +### 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 ######################################## ############################################################## |