version 1.44, 2016/08/19 01:28:18 |
version 1.45, 2016/10/26 19:58:49 |
Line 285 might mention possible quirks on daily c |
|
Line 285 might mention possible quirks on daily c |
|
you might also have to install new bootloader files for a new kernel |
you might also have to install new bootloader files for a new kernel |
to handle new features. |
to handle new features. |
A method to update bootloader files is quite machine dependent, |
A method to update bootloader files is quite machine dependent, |
so check <a href="http://netbsd.gw.com/cgi-bin/man-cgi?boot+8.i386+NetBSD-7.0.1">boot(8)</a> and <a href="http://netbsd.gw.com/cgi-bin/man-cgi?installboot+8.i386+NetBSD-7.0.1">installboot(8)</a> man pages for details.</p> |
so check <a href="http://netbsd.gw.com/cgi-bin/man-cgi?boot+8.i386+NetBSD-7.0.2">boot(8)</a> and <a href="http://netbsd.gw.com/cgi-bin/man-cgi?installboot+8.i386+NetBSD-7.0.2">installboot(8)</a> man pages for details.</p> |
<p>On i386 and amd64, if you are using FFSv1 for root file system |
<p>On i386 and amd64, if you are using FFSv1 for root file system |
on <code class="code">wd0a</code> (i.e. first ATA drive), typical commands to update |
on <code class="code">wd0a</code> (i.e. first ATA drive), typical commands to update |
bootloaders are: |
bootloaders are: |
Line 309 might mention possible quirks on daily c |
|
Line 309 might mention possible quirks on daily c |
|
<code class="code">/usr/mdec/boot</code> is secondary loader and it's file system |
<code class="code">/usr/mdec/boot</code> is secondary loader and it's file system |
independenet.</p> |
independenet.</p> |
<p>If you forget your root file system type (FFSv1 or FFSv2), |
<p>If you forget your root file system type (FFSv1 or FFSv2), |
you can check it by <a href="http://netbsd.gw.com/cgi-bin/man-cgi?dumpfs+8.i386+NetBSD-7.0.1">dumpfs(8)</a> command: |
you can check it by <a href="http://netbsd.gw.com/cgi-bin/man-cgi?dumpfs+8.i386+NetBSD-7.0.2">dumpfs(8)</a> command: |
</p> |
</p> |
<pre class="programlisting"> |
<pre class="programlisting"> |
# dumpfs /dev/rwd0a | head -3 |
# dumpfs /dev/rwd0a | head -3 |
Line 399 and any other desirable feature sets |
|
Line 399 and any other desirable feature sets |
|
# ... |
# ... |
</pre> |
</pre> |
Don't forget to specify <code class="code">"p"</code> option (preserve permissions) |
Don't forget to specify <code class="code">"p"</code> option (preserve permissions) |
on <a href="http://netbsd.gw.com/cgi-bin/man-cgi?tar+1.i386+NetBSD-7.0.1">tar(1)</a> command otherwise setuid'ed commands (like <a href="http://netbsd.gw.com/cgi-bin/man-cgi?su+1.i386+NetBSD-7.0.1">su(1)</a>) |
on <a href="http://netbsd.gw.com/cgi-bin/man-cgi?tar+1.i386+NetBSD-7.0.2">tar(1)</a> command otherwise setuid'ed commands (like <a href="http://netbsd.gw.com/cgi-bin/man-cgi?su+1.i386+NetBSD-7.0.2">su(1)</a>) |
won't work. |
won't work. |
<p> |
<p> |
<span class="bold"><strong>Warning: Extracting <code class="code">etc.tgz</code> on |
<span class="bold"><strong>Warning: Extracting <code class="code">etc.tgz</code> on |
|
|
</p> |
</p> |
</li> |
</li> |
<li class="listitem"> <a class="ulink" href="#etcupdate" target="_top">Update</a> <code class="code">/etc</code> |
<li class="listitem"> <a class="ulink" href="#etcupdate" target="_top">Update</a> <code class="code">/etc</code> |
as last step: <a href="http://netbsd.gw.com/cgi-bin/man-cgi?postinstall+8.i386+NetBSD-7.0.1">postinstall(8)</a> will first check and fix most things that |
as last step: <a href="http://netbsd.gw.com/cgi-bin/man-cgi?postinstall+8.i386+NetBSD-7.0.2">postinstall(8)</a> will first check and fix most things that |
can be automated, and <a href="http://netbsd.gw.com/cgi-bin/man-cgi?etcupdate+8.i386+NetBSD-7.0.1">etcupdate(8)</a> in the second step will ask on what |
can be automated, and <a href="http://netbsd.gw.com/cgi-bin/man-cgi?etcupdate+8.i386+NetBSD-7.0.2">etcupdate(8)</a> in the second step will ask on what |
to merge: |
to merge: |
<pre class="programlisting"> |
<pre class="programlisting"> |
# /usr/sbin/postinstall -s ~/etc.tgz check |
# /usr/sbin/postinstall -s ~/etc.tgz check |