From owner-freebsd-questions@FreeBSD.ORG Mon Jun 4 23:48:14 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 98637106566C for ; Mon, 4 Jun 2012 23:48:14 +0000 (UTC) (envelope-from v.velox@vvelox.net) Received: from vulpes.vvelox.net (vulpes.vvelox.net [99.69.115.42]) by mx1.freebsd.org (Postfix) with ESMTP id 6A59E8FC14 for ; Mon, 4 Jun 2012 23:48:14 +0000 (UTC) Received: from vixen42.vulpes.vvelox.net (vixen42.vulpes.vvelox.net [192.168.15.2]) (Authenticated sender: kitsune) by vulpes.vvelox.net (Postfix) with ESMTPA id BE23D3F633 for ; Mon, 4 Jun 2012 18:49:33 -0500 (CDT) Date: Mon, 4 Jun 2012 18:50:03 -0500 From: "Zane C. B-H." To: freebsd-questions@freebsd.org Message-ID: <20120604185003.0047104c@vixen42.vulpes.vvelox.net> In-Reply-To: <4FCC99ED.3030409@gmail.com> References: <4FCC0A31.3000902@gmail.com> <20120603224223.123bc4fa@vixen42.vulpes.vvelox.net> <4FCC99ED.3030409@gmail.com> X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.6; amd64-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Strange case of vanishing disk 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: Mon, 04 Jun 2012 23:48:14 -0000 On Mon, 04 Jun 2012 12:20:13 +0100 Kaya Saman wrote: > On 06/04/2012 04:42 AM, Zane C. B-H. wrote: > > On Mon, 04 Jun 2012 02:06:57 +0100 > > Kaya Saman wrote: > > > > I've just tried this and lost my whole system..... > > My boot disk is not labeled to work with ahci as it just has > standard formatting on there. > > Need to remove the ahci_load="YES" from /boot/loader.conf file now. Ack, my apologies. Forgot about that. Yeah, you will need to do it from the loader prompt if you want to test it. Unless you are booting off of gmirror or have /etc/fstab configured with something else that will automatically be found, you will have a problem. But from the loader prompt it should be... load /boot/kernel/ahci.kp show rootdev If rootdev shows any thing other than shows boot device as ad, rewrite it as ada, using the set command. See loader(8). This will get it to boot, although it will error and drop to single user mode as /etc/fstab contains the old stuff. Just manually mount everything and continue. At this point it should be up and running and able to test it out.