From owner-freebsd-stable@FreeBSD.ORG Thu Jun 16 12:36:33 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CC0781065676 for ; Thu, 16 Jun 2011 12:36:33 +0000 (UTC) (envelope-from hlh@restart.be) Received: from tignes.restart.be (tignes.restart.be [IPv6:2001:41d0:2:56bf:0:1::]) by mx1.freebsd.org (Postfix) with ESMTP id 528148FC17 for ; Thu, 16 Jun 2011 12:36:33 +0000 (UTC) Received: from restart.be (avoriaz.tunnel.bel [IPv6:2001:41d0:2:56bf:1:ffff::]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "smtp.restart.be", Issuer "CA master" (verified OK)) by tignes.restart.be (Postfix) with ESMTPS id 1819B14B3F for ; Thu, 16 Jun 2011 14:36:32 +0200 (CEST) Received: from morzine.restart.bel (morzine.restart.be [IPv6:2001:41d0:2:56bf:1:2::]) (authenticated bits=0) by restart.be (8.14.5/8.14.5) with ESMTP id p5GCaUj2051324 for ; Thu, 16 Jun 2011 14:36:31 +0200 (CEST) (envelope-from hlh@restart.be) X-DKIM: Sendmail DKIM Filter v2.8.3 restart.be p5GCaUj2051324 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=restart.be; s=avoriaz; t=1308227791; bh=jXYVJVZ6kVZDNM3NbIvYJ+vhpOHTGfi9JG4Beqt4VPM=; h=Message-ID:Date:From:MIME-Version:To:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=JQMK21/RKysdutoRfQ/KFaWsdCly02ufKhwCOas0ZuW5RcWXlTgeJ0d2HBV0hjpTa Qyz10p7edHsP1RMxvjoOA== X-DomainKeys: Sendmail DomainKeys Filter v1.0.2 restart.be p5GCaUj2051324 DomainKey-Signature: a=rsa-sha1; s=avoriaz; d=restart.be; c=nofws; q=dns; h=message-id:date:from:organization:user-agent:mime-version:to: subject:references:in-reply-to:content-type:content-transfer-encoding; b=xJz85Qbxd7WTGNO1YLZTtjsA16HscukW+RXF38SBRqqEGX0ifD54pNj5G5ry8LReS 5zuYmc31Fe8tVIrw/h00w== Message-ID: <4DF9F8CE.4020409@restart.be> Date: Thu, 16 Jun 2011 14:36:30 +0200 From: Henri Hennebert Organization: RestartSoft User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.2.17) Gecko/20110430 Thunderbird/3.1.10 MIME-Version: 1.0 To: freebsd-stable@freebsd.org References: <4DF9552C.6080806@delphij.net> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: ZFS boot inside on the second partition inside a slice X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Jun 2011 12:36:34 -0000 On 06/16/2011 07:32, Zhihao Yuan wrote: > I just redo everything, and changed the order of freebsd-zfs and > freebsd-swap. The "Read error" still happens! Just a me too. Everything was working great with zfsboot from 8.2-RELEASE + a patch (http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/153552). As I update to 8.2-STABLE after v28 MFC, I have to write a new zfsboot to be allowed to upgrade my pool. I get the "Read Error" after that. PS - same comfig, a netboot with windows7 on first partition - so I can't switch to gpt. Henri > > On Wed, Jun 15, 2011 at 8:07 PM, Zhihao Yuan wrote: >> On Wed, Jun 15, 2011 at 7:58 PM, Xin LI wrote: >>> -----BEGIN PGP SIGNED MESSAGE----- >>> Hash: SHA256 >>> >>> On 06/15/11 17:42, Zhihao Yuan wrote: >>>> Hi, >>>> >>>> I configured my disk layout according to >>>> http://wiki.freebsd.org/RootOnZFS/ZFSBootPartition >>>> >>>> But I swapped the order of the freebsd-zfs and freebsd-swap. The 4.0G >>>> freebsd-swap partition appears first inside the slice. >>>> After that, I write zfsboot on both ada0s2 and ada0s2b, but the boot0 >>>> gives me a "Read error". >>> >>> Where did your second slice start? There can be a lot of reasons why it >>> gives Read error. >> >> After an NTFS partition of 12GB. >> This should be the problem with zfsboot, because if I use sysinstall >> to install a bootmgr, the boot gives me a "not UFS" error, which means >> the boot0 is done (am I right?). >> >>> >>> I personally recommend using GPT scheme instead of MBR, as you have a >>> dedicated partition for gptzfsboot, which is much cleaner than this >>> approach. >>> >> >> Yeah, yeah, I agree. I should not plan to play Windows games. >> >>> Cheers, >>> - -- >>> Xin LI http://www.delphij.net/ >>> FreeBSD - The Power to Serve! Live free or die >>> -----BEGIN PGP SIGNATURE----- >>> Version: GnuPG v2.0.17 (FreeBSD) >>> >>> iQEcBAEBCAAGBQJN+VUrAAoJEATO+BI/yjfBpksH/2ZswQ+ogdDpYwvhRIjJaqLs >>> NEl8FtC2Ua+c3F2sNwrLK5a/fn/LL+jPAXndvuQdxOaz41Iqtnt8w1i9Dz5ATkva >>> T+i0fnRVwXFqjrlRTWK+ODtNtrhI2/7ECAIfOOLNhaiJnPRrJJgvxJ6V5W+/N+l7 >>> Lt4yMp6hGbhO/9Yp2UoaQuUThOTz+dKNZGECd1nLT+ooHbTPhBvjii080hHowNl6 >>> Ef+JBaEng2NbRJPxYWrRwz6R7A44RDXvrKzn5w/TuUa+4fYrS25EZxygzIh3xjFX >>> 2ILP25yabJ+Vw5o8bFCsJ3ExbEfq0PnfROHanRSdTjMDra27dGY9JZKyytE+Ykc= >>> =D5+X >>> -----END PGP SIGNATURE----- >>> _______________________________________________ >>> freebsd-stable@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-stable >>> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" >>> >> >> >> >> -- >> Zhihao Yuan, nickname lichray >> The best way to predict the future is to invent it. >> ___________________________________________________ >> 4BSD -- http://4bsd.biz/ >> > > >