Document the zfs method of remounting your rootfs during single user mode

to allow mergemaster to do its business.  Everyone seems to know how to do
this, but it would be nice to let new folks have a clue.

Reviewed by:	gjb
This commit is contained in:
Sean Bruno 2013-09-23 13:11:09 +00:00
parent 8721a7eb81
commit 7c06d897d6
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=42688

View file

@ -1918,11 +1918,22 @@ Fetching 133 new ports or files... done.</screen>
<para>After <maketarget>installkernel</maketarget> finishes
successfully, boot into single user mode using <command>boot
-s</command> from the loader prompt. Then run:</para>
-s</command> from the loader prompt.</para>
<para>If using UFS, run:</para>
<screen>&prompt.root; <userinput>mount -u /</userinput>
&prompt.root; <userinput>mount -a -t ufs</userinput>
&prompt.root; <userinput>adjkerntz -i</userinput>
&prompt.root; <userinput>mount -a -t ufs</userinput></screen>
<para>If using ZFS(assuming a zpool name of zroot), run:</para>
<screen>&prompt.root; <userinput>zfs set readonly=off zroot</userinput>
&prompt.root; <userinput>zfs mount -a</userinput></screen>
<para>Then run:</para>
<screen>&prompt.root; <userinput>adjkerntz -i</userinput>
&prompt.root; <userinput>mergemaster -p</userinput>
&prompt.root; <userinput>cd /usr/src</userinput>
&prompt.root; <userinput>make installworld</userinput>