Go Back   DaemonForums > FreeBSD > FreeBSD Installation and Upgrading

FreeBSD Installation and Upgrading Installing and upgrading FreeBSD.

Thread Tools Display Modes
  #1   (View Single Post)  
Old 30th January 2009
clevershark clevershark is offline
Port Guard
Join Date: May 2008
Posts: 11
Question Problem during kernel-build for a 6.x-to-7 upgrade

I was doing an upgrade according to the instructions contained here:


Things were going quite well until I got to the world-build and kernel-build instruction. I had an outdated directive (options GEOM_GPT) which resulted in the kernel build ending prematurely. At that point I had successfully completed the world-build, which in the instructions is done on the same line.

So I edited my kernel config file to remove the offending directive, and did a simple make kernel-build, but now the process doesn't even get started. I get this strange message:

only one machine directive is allowed

However I checked, and my machine configuration file only has the one machine directive. Has this happened to anyone else before? What could be causing this issue?
Reply With Quote
  #2   (View Single Post)  
Old 30th January 2009
glenbarber glenbarber is offline
Real Name: Glen Barber
Join Date: Nov 2008
Location: Philadelphia, PA, USA
Posts: 10

make buildworld
make buildkernel
Reply With Quote
  #3   (View Single Post)  
Old 1st February 2009
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Tcpdump Spy
Join Date: Apr 2008
Location: Netherlands
Posts: 2,243

Originally Posted by clevershark View Post
I was doing an upgrade according to the instructions contained here:

IMO those instructions are unnecessarily complicated, I would just follow the official instructions contained in /usr/src/Makefile

# 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'                         (you may wish to use -U or -ai).
# 10.  `reboot'
# 11.  `make delete-old-libs' (in case no 3rd party program uses them anymore)
Personally, I always skip step 5, have done so since FreeBSD 4 and never had any problems.
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote

6x, 7x, error, kernel, upgrade

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Big5 Character Set in Apache problem after upgrade to 6.4 paul-lkw FreeBSD Installation and Upgrading 0 23rd February 2009 09:20 AM
problem(s) after opera upgrade jb_daefo FreeBSD Ports and Packages 4 28th August 2008 11:58 AM
Unable to build custom kernel [Wrong configuration?] jrick FreeBSD General 3 31st July 2008 01:53 PM
Do I need to Upgrade my Kernel yet Marred FreeBSD Ports and Packages 10 19th June 2008 05:33 PM
v4l - dtv device stops working after kernel upgrade robbak Other BSD and UNIX/UNIX-like 0 14th June 2008 11:29 PM

All times are GMT. The time now is 03:13 PM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick