From owner-freebsd-questions@FreeBSD.ORG Sun Apr 8 23:49:24 2012 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 1995C106566C for ; Sun, 8 Apr 2012 23:49:24 +0000 (UTC) (envelope-from freebsd-questions@herveybayaustralia.com.au) Received: from mail.unitedinsong.com.au (mail.unitedinsong.com.au [150.101.178.33]) by mx1.freebsd.org (Postfix) with ESMTP id BFC3A8FC15 for ; Sun, 8 Apr 2012 23:49:23 +0000 (UTC) Received: from laptop1.herveybayaustralia.com.au (laptop1.herveybayaustralia.com.au [192.168.0.182]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.unitedinsong.com.au (Postfix) with ESMTPSA id 4287B5C22 for ; Mon, 9 Apr 2012 10:02:53 +1000 (EST) Message-ID: <4F8223FB.8070305@herveybayaustralia.com.au> Date: Mon, 09 Apr 2012 09:49:15 +1000 From: Da Rock User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:7.0.1) Gecko/20111109 Thunderbird/7.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4F81BA14.6030706@gmail.com> In-Reply-To: <4F81BA14.6030706@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: Upgrade to 9.0 - Mount to root failed.. 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, 08 Apr 2012 23:49:24 -0000 On 04/09/12 02:17, Joshua Isom wrote: > On 4/8/2012 8:51 AM, Airosoβicz fb. wrote: >> Hi Matthew, >> >> Thanx for the quick reply.. Can't get it to work though.. >> >> On 08/04/2012 09:53, Airosoβicz fb. wrote: >>>> So I've upgraded from 8.1 to 9.0& now the system can't mount in >>>> single >>>> user mode to go through the final step of installing the world.. >>> >> >> >>> As was mentioned else-thread, you are probably hitting problems due to >>> the name change from ad(4) to ada(4) for PATA/SATA disk devices. >>> >> >> It's starting to make sense now.. Mounting ufs:/dev/ad*a*2s1a i.o. from >> ufs:/dev/ad2s1a simply doesn't work because as I've put in my original >> post with # ls -l /dev/ad* it doesn't exist.. Only ad2,ad2s1& ad2s1a >> do.. >> >> >>> One way to fix this is simply to type in the new boot device in the >>> loader and then edit /etc/fstab from single user mode >>> >> >> Which boot device..? I wish it was simple.. >> > > When you get to the loader, escape to the loader prompt. Then type > lsdev to see what the loader finds. You'll have to find which one > looks right, and type that into the mount failed prompt. After it's > done booting, check /dev to make sure it looks right and change your > fstab. From a theoretical point of view (I'll have to consider this for my own needs in the near future) I'd say the labeling option mentioned by Warren would be better for the long term. It may seem a little complicated to setup but it will work just about anywhere. If you continue with devices as you are at the moment you run the risk of having this trouble every time something changes. My 2c.