From owner-freebsd-questions@FreeBSD.ORG Sun Dec 5 20:43:09 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 418D3106566C for ; Sun, 5 Dec 2010 20:43:09 +0000 (UTC) (envelope-from demelier.david@gmail.com) Received: from mail-gx0-f172.google.com (mail-gx0-f172.google.com [209.85.161.172]) by mx1.freebsd.org (Postfix) with ESMTP id E7A7F8FC14 for ; Sun, 5 Dec 2010 20:43:08 +0000 (UTC) Received: by gxk28 with SMTP id 28so6515994gxk.17 for ; Sun, 05 Dec 2010 12:43:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=IU0IRPaSKNBjfyQiw+CJmye0dNiAnBEEsoGah6frAnw=; b=SAughkDF27wWWqZKPac8VgBGxKFqhsUcPvvM8jjX911wqARzzX/xDuOrZHLNGPBJq0 CiFjCVPcfrGFhZQyPYUxI0qJfYNYoYlzB3wNJKvP8dggKCycYgDlEpBQhxBrAUzpQtzd nTMpqhgW2EYveoHoEW+1lPXQgDEZOuQo3EiTg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=MkdFu7ymhectGpww7HW5IoGsiNVSUmyyBFkHYhr/p9RNSBs4TKpt9Kc3A+FJRzjQ2g eFsfGEIAEgynddKEYSLovkSgeY8rIEUu0Z2U3DjFD9pcMp7y0c/3hN4Jx1RfTPKeq6Qe 8A1G64Pv0WWOxpxR4awGbOqhKSLa1e5ZWQZtQ= MIME-Version: 1.0 Received: by 10.90.101.12 with SMTP id y12mr6606292agb.185.1291581787933; Sun, 05 Dec 2010 12:43:07 -0800 (PST) Received: by 10.90.73.18 with HTTP; Sun, 5 Dec 2010 12:43:07 -0800 (PST) In-Reply-To: References: Date: Sun, 5 Dec 2010 21:43:07 +0100 Message-ID: From: David DEMELIER To: joost@jodocus.org Content-Type: text/plain; charset=UTF-8 Cc: freebsd-questions@freebsd.org Subject: Re: can't mount root during freebsd-update 7.0 -> 8.1 on amd64 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Dec 2010 20:43:09 -0000 2010/12/5 : > Hi > > I'm trying to upgrade a amd64 box from 7.0-RELEASE to 8.1-RELEASE with > freebsd-update. After the first reboot the 8.1R GENERIC kernel loads (I'm > using a custom kernel, so at this point the generic kernel is loaded > manually) > It then claims it can't mount / > > One thing that's odd is that instead of finding ad4s1a it finds ad4a. Same > for the other filesystems. It however can't find init on this device. > > Did I miss something important in src/UPDATING? > > > Thanks > > > Joost Bekkers > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > Here : http://ivoras.sharanet.org/freebsd/freebsd8.html GEOM_PART becomes the default slicer Status: Committed to -CURRENT Will appear in 8.0: sure Author: Marcel Moolenaar & others Web: commit message GEOM_PART (gpart) is a new GEOM partition class (slicer) and utility that rolls up support for many partitioning formats (MBR, BSD, GPT etc.) into a single code base. NOTE: Caveat when upgrading! GEOM_PART might interpret existing partition tables (especially if many operating systems are present - multi boot) differently than the previous classes. Your devices might get renamed. NOTE: Some old utilities like bsdlabel may not work if the kernel doesn't include GEOM_BSD and other old slicer classes. In other words, bsdlabel et al don't work with GEOM_PART. Maybe you're encountering this trouble right now. what I would advise you is using labels. Please do the following : tunefs -L root /dev/ad4a tunefs -L var /dev/ad4e (assuming it's e on your system ?) and for usr, tmp, etc ... >From a fixit environment. then edit your /etc/fstab and place /dev/ufs/root /dev/ufs/var instead of hardcoding the device node. Cheers, -- Demelier David