Rebuildworld/kernel 11.x vs. 12.x

Peter Hodur petehodur at gmail.com
Fri Aug 16 05:21:17 CEST 2019


Ahojte,

vsimli ste si, ze v Handbooku sa zmenil odporucany postup pri reinstalacii
zo zdrojakov?

Viete o tom nieco viac?

Vzdy som to robil tak, ze som takto:

#; clean-up
chflags -R noschg /usr/obj/*
rm -rf /usr/obj

#; build world & kernel
cd /usr/src
make -j4 buildworld
make -j4 buildkernel KERNCONF=???

#; drop into single user mode
#; re-mount fs (ZFS)
zfs set readonly=off zroot
zfs mount -a

#; adjust date time
adjkerntz -i

#; run mergemaster in pre-buildworld mode
mergemaster -p

#; install world
cd /usr/src
make installkernel KERNCONF=???
make installworld

#; run mergemaster
mergemaster -iF

#; delete obsolete files
make delete-old

#; clean-up
chflags -R noschg /usr/obj/*
rm -rf /usr/obj

#; reboot
reboot


no a teraz mi handbook odporuca UPLNE iny postup. Dokonca nieje tam ani len
zmienka o single user a mergemaster v prebuild mode.

Nejake napady?

Peter ml.


More information about the Users-l mailing list