From owner-freebsd-hackers@FreeBSD.ORG Wed Aug 20 19:52:20 2014 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7FBBC80C for ; Wed, 20 Aug 2014 19:52:20 +0000 (UTC) Received: from mail-la0-x236.google.com (mail-la0-x236.google.com [IPv6:2a00:1450:4010:c03::236]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E686F3F90 for ; Wed, 20 Aug 2014 19:52:19 +0000 (UTC) Received: by mail-la0-f54.google.com with SMTP id hz20so7863881lab.27 for ; Wed, 20 Aug 2014 12:52:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=Aw0bxnAq9FEXAXZakkkiwkoiKbDAyXROLCRGr67wnQ4=; b=be14IChPny9ab1Zp4/CjK28FSLq9uisYv4gAebscooSLj/HQnGRjOofGWnMBr8q5Wf 4x9TG/pcoQbcf+Y5mcqTGyupkEeZu+ZjSn0oZ55wQ6xRY/7iON+e3MzrCMLYih/dzFoN UgGDg9eLRF2++N9U29suH0K51+ETvS7H2lbT983amiXix7tCBb4c2z3xB8QjOf3ngPz9 BQ3/O9Ncb0Qdp5PgPUSp8tuUHTvYAS2ovArER5NjA1P21lOZGU7bDcw3uwzGzjBPcSBZ WRRZwZxmElUx7Ha/P+c3jd4IUBHjlqM5juEx+c3SjC9RbBJMKd4aOTDIHJ56tpxs7c9e 6raw== X-Received: by 10.112.156.10 with SMTP id wa10mr33355804lbb.68.1408564337794; Wed, 20 Aug 2014 12:52:17 -0700 (PDT) MIME-Version: 1.0 Sender: argiopeweb@gmail.com Received: by 10.112.145.193 with HTTP; Wed, 20 Aug 2014 12:51:57 -0700 (PDT) In-Reply-To: <53F4DBFC.2020604@freebsd.org> References: <53F4DBFC.2020604@freebsd.org> From: Elliot Robinson Date: Wed, 20 Aug 2014 15:51:57 -0400 X-Google-Sender-Auth: Vfnt2BqquzvZ0-xly6K1kcU9w7s Message-ID: Subject: Re: root-on-ZFS - gptzfsboot fails to find pool To: freebsd-hackers@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Aug 2014 19:52:20 -0000 On Wed, Aug 20, 2014 at 1:33 PM, Allan Jude wrote: > On 2014-08-20 13:29, Elliot Robinson wrote: > > G'day all, > > A fresh root-on-ZFS install using bsdinstall's ZFS option on FreeBSD 10 > > fails to boot on my Dell Studio XPS 1640. Output at boot is > > > > gptzfsboot: error 1 lba 48 > > gptzfsboot: error 1 lba 1 > > gptzfsboot: No ZFS pools located, can't boot > > > > Things I've tried: > > * ZFS with GPT - Fails with error above > > * ZFS with MBR - Fails with no output (doesn't find 2nd stage?) > > * UFS with GPT - Works > > * Different HDD/SDD - No change, fails with error above > > * USB thumb drive on VirtualBox with ZFS/GPT - Works > > > > This system has not had FreeBSD on it before, though the guided > > partitioning UFS/GPT install seems to work as expected. > > > > I'm about at the point where I have to sprinkle printf's all through > > zfsboot.c and trace what's going on, so any help is appreciated. > > > > --- > > Elliot Robinson > > PGP Key: 9FEDE59A > > _______________________________________________ > > freebsd-hackers@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > > To unsubscribe, send any mail to " > freebsd-hackers-unsubscribe@freebsd.org" > > > > Boot off of the install cd again, and drop to a shell > > zpool import > > what does it say? > > -- > Allan Jude > > Apparently Linux doesn't like talking to UFS. Tried to pipe to a file on the USB drive and read from Linux, but I got inode errors... Then I tried to abuse dd to write to an empty sector from the shell and it complained about /dev/da0 being an invalid device. Just can't win... Find the output transcribed from a screenshot below. pool: zroot id: 4288135752309264711 state: ONLINE action: The pool can be imported using its name or numeric identifier zroot ONLINE gptid/6b458a8a-27dd-11e4-9075-002219ec1b41 ONLINE --- Elliot Robinson PGP Key: 9FEDE59A