UPDATING (10d6bd7611b6203558924a1b3edeca2203000e90) UPDATING (3ecf3bdd6b3df0b690a48bcbe72e733d541881af)
1Updating Information for FreeBSD current users
2
3This file is maintained and copyrighted by M. Warner Losh
4<imp@village.org>. See end of file for further details. For commonly
5done items, please see the COMMON ITEMS: section later in the file.
6
7Items affecting the ports and packages system can be found in
8/usr/ports/UPDATING. Please read that file before running

--- 170 unchanged lines hidden (view full) ---

179 # In this approach we use a separate partition to hold
180 # current's root, 'usr', and 'var' directories. A partition
181 # holding "/", "/usr" and "/var" should be about 2GB in
182 # size.
183
184 <make sure you have good level 0 dumps>
185 <boot into -stable>
186 make buildworld
1Updating Information for FreeBSD current users
2
3This file is maintained and copyrighted by M. Warner Losh
4<imp@village.org>. See end of file for further details. For commonly
5done items, please see the COMMON ITEMS: section later in the file.
6
7Items affecting the ports and packages system can be found in
8/usr/ports/UPDATING. Please read that file before running

--- 170 unchanged lines hidden (view full) ---

179 # In this approach we use a separate partition to hold
180 # current's root, 'usr', and 'var' directories. A partition
181 # holding "/", "/usr" and "/var" should be about 2GB in
182 # size.
183
184 <make sure you have good level 0 dumps>
185 <boot into -stable>
186 make buildworld
187 make buildkernel KERNCONF=YOUR_KERNEL_HERE
187 <maybe newfs current's root partition>
188 <mount current's root partition on directory ${CURRENT_ROOT}>
189 make installworld DESTDIR=${CURRENT_ROOT}
188 <maybe newfs current's root partition>
189 <mount current's root partition on directory ${CURRENT_ROOT}>
190 make installworld DESTDIR=${CURRENT_ROOT}
190 make buildkernel KERNCONF=YOUR_KERNEL_HERE
191 cp src/sys/${ARCH}/conf/GENERIC.hints \
192 ${CURRENT_ROOT}/boot/device.hints # as needed
193 make installkernel KERNCONF=YOUR_KERNEL_HERE DESTDIR=${CURRENT_ROOT}
194 cd src/etc; make distribution DESTDIR=${CURRENT_ROOT} # if newfs'd
191 cd src/etc; make distribution DESTDIR=${CURRENT_ROOT} # if newfs'd
192 make installkernel KERNCONF=YOUR_KERNEL_HERE DESTDIR=${CURRENT_ROOT}
195 cp /etc/fstab ${CURRENT_ROOT}/etc/fstab # if newfs'd
196 <edit ${CURRENT_ROOT}/etc/fstab to mount "/" from the correct partition>
197 <reboot into current>
198 <do a "native" rebuild/install as described in the previous section>
199 <maybe install compatibility libraries from src/lib/compat>
200 <reboot>
201
202

--- 149 unchanged lines hidden ---
193 cp /etc/fstab ${CURRENT_ROOT}/etc/fstab # if newfs'd
194 <edit ${CURRENT_ROOT}/etc/fstab to mount "/" from the correct partition>
195 <reboot into current>
196 <do a "native" rebuild/install as described in the previous section>
197 <maybe install compatibility libraries from src/lib/compat>
198 <reboot>
199
200

--- 149 unchanged lines hidden ---