From owner-freebsd-stable@FreeBSD.ORG Fri May 14 02:51:26 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9F365106564A for ; Fri, 14 May 2010 02:51:26 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from qmta10.emeryville.ca.mail.comcast.net (qmta10.emeryville.ca.mail.comcast.net [76.96.30.17]) by mx1.freebsd.org (Postfix) with ESMTP id 868228FC13 for ; Fri, 14 May 2010 02:51:26 +0000 (UTC) Received: from omta17.emeryville.ca.mail.comcast.net ([76.96.30.73]) by qmta10.emeryville.ca.mail.comcast.net with comcast id HCx51e0051afHeLAAErTmh; Fri, 14 May 2010 02:51:27 +0000 Received: from koitsu.dyndns.org ([98.248.46.159]) by omta17.emeryville.ca.mail.comcast.net with comcast id HErS1e00a3S48mS8dErSFr; Fri, 14 May 2010 02:51:27 +0000 Received: by icarus.home.lan (Postfix, from userid 1000) id 8AE229B419; Thu, 13 May 2010 19:51:25 -0700 (PDT) Date: Thu, 13 May 2010 19:51:25 -0700 From: Jeremy Chadwick To: Fred Souza Message-ID: <20100514025125.GA84336@icarus.home.lan> References: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-stable@freebsd.org Subject: Re: Mount root error / New device numbering? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 May 2010 02:51:26 -0000 On Thu, May 13, 2010 at 11:00:38PM -0300, Fred Souza wrote: > I did a similar procedure as I used to on the old system, grabbed a > fresh ports.tar.gz, uncompressed it under /usr, installed cvsup and > proceeded to updating /usr/src to -STABLE (using the RELENG_8 tag). So > far, so good. 1) We use csup now, not cvsup. csup comes with the base system, so there's no need to install cvsup. 2) I'm not sure why you're downloading ports.tar.gz and extracting it. This means that /var/db/sup/ports-all won't match what's in /usr/ports. You should just use csup to populate /usr/ports. You can do this by doing: csup -h -L 2 /usr/share/examples/cvsup/ports-supfile You can also populate /usr/src (and thus /var/db/sup/src-all) by doing: csup -h -L 2 /usr/share/example/cvsup/stable-supfile There are also /etc/make.conf variables you can set to make this process easier once you've populated /usr/ports and /usr/src; you can do something like "cd /usr/ports ; make update". > I made a custom kernel config file based off of GENERIC, added only a > few options (like sound and console customization options), and > followed the steps listed on /usr/src/UPDATING: > > # cd /usr/src > # make buildworld > # make kernel KERNCONF=MYKERNELNAME > > > ... > > Could anyone please enlighten me? Well, if what you're doing is an "in-place" 7.x upgrade to 8.x, I don't know how to do this or if it works. Others can help. Otherwise, the steps you're describing for building a system are not what's in src/Makefile (not src/UPDATING). These are the steps: # 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) -- | Jeremy Chadwick jdc@parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |