From owner-freebsd-questions@FreeBSD.ORG Fri Sep 11 21:10:13 2009 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 6A0B3106576A for ; Fri, 11 Sep 2009 21:10:12 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 6FBE48FC14 for ; Fri, 11 Sep 2009 21:10:10 +0000 (UTC) Received: from r55.edvax.de (port-92-195-27-155.dynamic.qsc.de [92.195.27.155]) by mx01.qsc.de (Postfix) with ESMTP id 160FE3CA06; Fri, 11 Sep 2009 23:10:09 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id n8BLA8O7002431; Fri, 11 Sep 2009 23:10:08 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Fri, 11 Sep 2009 23:10:08 +0200 From: Polytropon To: jaymax Message-Id: <20090911231008.87115e75.freebsd@edvax.de> In-Reply-To: <25408257.post@talk.nabble.com> References: <25391151.post@talk.nabble.com> <20090911223648.84368cfe.freebsd@edvax.de> <25408257.post@talk.nabble.com> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Upgrading 6.0 to 6.x... without /var X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Sep 2009 21:10:13 -0000 On Fri, 11 Sep 2009 14:00:20 -0700 (PDT), jaymax wrote: > You are correct my typos, they are > ad0s1e and ad0s1f for /tmp and /usr respectively; /var is replaced by soft > link > ln -s /usr/var /var So the problem is /usr cannot be mounted. First of all, just try it manually, as I mentioned (from FreeBSD live system CD or by using FreeSBIE), e. g. # mount /dev/ad0s1e /mnt/usr Because the installer does not expect /var to exist, and because it does reside on the former / partition which is /mnt/ while installing (as far as I remember), /var cannot be accessed. In this case, / needs to be mounted as /mnt/ and /usr needs to be mounted as /mnt/usr; the problem is: if /var really points at /usr/var, then /mnt/var will point at /usr/var, too, which does not resolve because it exists as /mnt/usr/var during the installation. An idea would be to specify a different path in the partition editor, but not let the installer form an /etc/fstab from this setting. Another idea would be to change the /var symlink on / from /var@ -> /usr/var to /var@ -> usr/var so that it will work when / is mounted as /mnt/; the result will then correctly be /mnt/var@ -> /mnt/usr/var > (running an email server on this box runs the risk of 'filesystem full' > with a 'small' restricted /var partition , this way the problem is escaped) That's why I prefer to use "one big / partition" in such settings where I have no chance to reliably determine the future requirements of partition sizes. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...