From owner-freebsd-stable@FreeBSD.ORG Thu Jun 16 05:32:18 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 9234B106566B for ; Thu, 16 Jun 2011 05:32:18 +0000 (UTC) (envelope-from lichray@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id E02638FC12 for ; Thu, 16 Jun 2011 05:32:17 +0000 (UTC) Received: by fxm11 with SMTP id 11so1254336fxm.13 for ; Wed, 15 Jun 2011 22:32:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=NvSU2rJRjCrXvv2RHxhQf7eAwP48ClM9mFL3TJG8aSs=; b=EJqyNhlH629V4D710oQPC6Xf+nOT1sV7XEEpDOJo93b57S2OgAWkQDmJk8druR4oDk v5rG69GrKRh1uxztf9k5TS1ScGb078kUadmtwxoFPekc4k712qRZMfJax3M+Y4Pmxvih Sc01aPEhzstH5O8dwsZwzjnWyUrZhzMQ8UTR8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=ok6K/FeD8Js3aenat4Mm9OnPVQyU8pbZdie1BWkS+1XXCEBJBduz5dMeEX+CXPiP6h dTBJWYgbCQCgrsMEp7Nr+sNmzWpHB89TwWA0DjjUwiWUEuscm0Xl+FBzHTKb9hIldxKK 6t4ijDCcOyzyvi7PbrmEO4pelV8CLuuCEKvIg= MIME-Version: 1.0 Received: by 10.223.41.89 with SMTP id n25mr588258fae.7.1308202336743; Wed, 15 Jun 2011 22:32:16 -0700 (PDT) Received: by 10.223.72.13 with HTTP; Wed, 15 Jun 2011 22:32:16 -0700 (PDT) In-Reply-To: References: <4DF9552C.6080806@delphij.net> Date: Thu, 16 Jun 2011 00:32:16 -0500 Message-ID: From: Zhihao Yuan To: delphij@delphij.net Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-stable@freebsd.org 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 05:32:18 -0000 I just redo everything, and changed the order of freebsd-zfs and freebsd-swap. The "Read error" still happens! 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? =C2=A0There can be a lot of reasons w= hy 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 =C2=A0 =C2=A0http://www.delphij.net/ >> FreeBSD - The Power to Serve! =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Live fre= e 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=3D >> =3DD5+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/ > --=20 Zhihao Yuan, nickname lichray The best way to predict the future is to invent it. ___________________________________________________ 4BSD -- http://4bsd.biz/