Dear Arseny, Thanks for your advice, and I didn't try to run make installkernel in the single user mode, but as the indication in /usr/src/Makefile, I can run it in the multiuser stat. So I think this is a small bug for FreeBSD CURRENT, and should be write in the UPDATING. Cheers, Bill Xu >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> # For individuals wanting to upgrade their sources (even if only a # delta of a few days): # # 1. `cd /usr/src' (or to the directory containing your source tree). # 2. `make buildworld' # 3. `make buildkernel KERNCONF=YOUR_KERNEL_HERE' (default is GENERIC). # 4. `make installkernel KERNCONF=YOUR_KERNEL_HERE' (default is GENERIC). # [steps 3. & 4. can be combined by using the "kernel" target] # 5. `reboot' (in single user mode: boot -s from the loader prompt). # 6. `mergemaster -p' # 7. `make installworld' # 8. `make delete-old' # 9. `mergemaster' # 10. `reboot' # 11. `make delete-old-libs' (in case no 3rd party program uses them anymore) 在 2006-06-27二的 05:54 +0400,Arseny Nasokin写道: > On Tue, Jun 27, 2006 at 08:32:54AM +0800, Bill Xu wrote: > > Dear all, > > > > I installed FreeBSD 6.0-RELEASE, and then upgraded to 7.0-CURRENT. After > > # make buildworld and # make buildkernel, I run # make installkernel, > > during this stage, it'll use kldxref to generate hints for the kernel > > loader, but at that time the kldxref in FreeBSD 6.0 can't do this, it > > must use the kldxref from -CURRENT, so I have to install the new version > > kldxref manually. This is a contradiction. :(. But after I install > > kldxref, it didn't work still, because kldxref will use libc.so.7...... > > > > and then, I have to rum "# make installworld" before "# make > > installkernel". that's too bad. > > > > Bill Xu > > > You need fresh install. > AFAIK, kldxref(8) can be runned _after_ booting in single mode. > > > I use "fresh install" with all system updates(minor & major). I do it because -CURRENT changes too fast. > simple sheme is: > * > * update buildworld buildkernel > * installworld installkernel -DDESTDIR=/path/to/new/place > * etc merging (for example, by etcmerge(1)) > * boot fixing > * (optionally) port installing in chroot (or jail) with new system > * reboot > >Received on Sat Jul 01 2006 - 06:53:02 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:57 UTC