summaryrefslogtreecommitdiffstats
path: root/UPDATING
diff options
context:
space:
mode:
authornetchild <netchild@FreeBSD.org>2005-05-25 21:03:13 +0000
committernetchild <netchild@FreeBSD.org>2005-05-25 21:03:13 +0000
commit63ea5ccdb91d805276dcc3bb75d1e25d3e948f24 (patch)
tree1400edbea96d2772565326af760764b3d3455fba /UPDATING
parent8512119a50217a179f2ba29f583098be768a752b (diff)
downloadFreeBSD-src-63ea5ccdb91d805276dcc3bb75d1e25d3e948f24.zip
FreeBSD-src-63ea5ccdb91d805276dcc3bb75d1e25d3e948f24.tar.gz
Add a note how to use nextboot(8) to test a kernel only once.
Approved by: mentor (joerg) Discussed with: imp
Diffstat (limited to 'UPDATING')
-rw-r--r--UPDATING8
1 files changed, 8 insertions, 0 deletions
diff --git a/UPDATING b/UPDATING
index 63af5e4..6e9dbd7 100644
--- a/UPDATING
+++ b/UPDATING
@@ -177,6 +177,14 @@ COMMON ITEMS:
make -DALWAYS_CHECK_MAKE buildkernel KERNCONF=YOUR_KERNEL_HERE
make -DALWAYS_CHECK_MAKE installkernel KERNCONF=YOUR_KERNEL_HERE
+ To test a kernel once
+ ---------------------
+ If you just want to boot a kernel once (because you are not sure
+ if it works, or if you want to boot a known bad kernel to provide
+ debugging information) run
+ make installkernel KERNCONF=YOUR_KERNEL_HERE KODIR=/boot/testkernel
+ nextboot -k testkernel
+
To just build a kernel when you know that it won't mess you up
--------------------------------------------------------------
This assumes you are already running a 5.X system. Replace
OpenPOWER on IntegriCloud