From owner-freebsd-questions@FreeBSD.ORG Thu May 9 13:36:50 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 5ABDF5AA for ; Thu, 9 May 2013 13:36:50 +0000 (UTC) (envelope-from ukaszg@gmail.com) Received: from mail-qc0-x22d.google.com (mail-qc0-x22d.google.com [IPv6:2607:f8b0:400d:c01::22d]) by mx1.freebsd.org (Postfix) with ESMTP id 22283886 for ; Thu, 9 May 2013 13:36:50 +0000 (UTC) Received: by mail-qc0-f173.google.com with SMTP id c11so1634346qcv.4 for ; Thu, 09 May 2013 06:36:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type:content-transfer-encoding; bh=a7Bd/3TYryjmQkHnbWnZVKVkuIjCXZL7v3uK24j9hXg=; b=if/UCw7nOoUMt0nfp/57zAhNt9kC7ZFwfw3+Ik2IZwlXgbPoAlKTVOKWH/w2vEnPap N4aAXkTwD1lCJ/6uwqDWA3sqAHLkDLms71vdNWeMyvhUQPKQeftdyYyo2wfGA4iDZYhN G78rkARpoFMexi4lVXIRJ4BE6WTGA/82BQNBKtN1/MFJ0kepgL/jSJdV0M/JYeCAoamS j8jMc9stxn/FtEUwONWWiP13WVonrM+zSa9GbkyXH8yGOsHt9haoObwAm1B6fQipleqn xf7kH8im3i8AZqaLThWMSJKrejbmflNcj6QD6RVRJDctWjqy6MvsYOi2+2ECNP+GdcDG YBNg== MIME-Version: 1.0 X-Received: by 10.224.179.148 with SMTP id bq20mr8546573qab.30.1368106609081; Thu, 09 May 2013 06:36:49 -0700 (PDT) Received: by 10.49.47.83 with HTTP; Thu, 9 May 2013 06:36:49 -0700 (PDT) In-Reply-To: <67um8rk3n88jsv.fsf@saturn.laptop> References: <67um8rwqrdrxes.fsf@saturn.laptop> <5186E3B1.80207@gmail.com> <67um8rk3n88jsv.fsf@saturn.laptop> Date: Thu, 9 May 2013 15:36:49 +0200 Message-ID: Subject: Re: ZFS on MBR does not boot at all From: uki To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 May 2013 13:36:50 -0000 I had to set up ZFS on MBR lately. Since I'm lazy I wrote a script for that. Maybe it would suit your needs (it's very simple though). https://bitbucket.org/ukaszg/freebsd-zfs-on-mbr-installer 2013/5/9 Giorgos Keramidas : > On Sun, 05 May 2013 17:56:49 -0500, Joshua Isom wrote: >> On 5/5/2013 3:20 PM, Giorgos Keramidas wrote: >>> Hi David, >>> >>> Thanks for following up with what the real problem was. I updated the >>> Wiki to include this: >>> >>> Note that partition order is important. It seems that zfsboot >>> requires the freebsd-zfs partition to be the first, so make sure y= ou >>> add if first, before your swap partition. >>> >>> Cheers, >>> Giorgos >> >> What? I've been using this set up for years. >> >> =3D> 34 976773101 ada1 GPT (465G) >> 34 128 1 freebsd-boot (64k) >> 162 8388608 2 freebsd-swap (4.0G) >> 8388770 968384365 3 freebsd-zfs (461G) >> >> =3D> 34 976773101 ada2 GPT (465G) >> 34 128 1 freebsd-boot (64k) >> 162 8388608 2 freebsd-swap (4.0G) >> 8388770 968384365 3 freebsd-zfs (461G) > > That's ok for GPT partitions. The original post was about an MBR > partition table. > > Some modern laptops (mine is one) do not boot successfully from a disk > with a GPT partition scheme, unless the boot loader is EFI-capable > (which ours isn't). So you have to use an MBR-style partition table. > > In those cases the note is still useful to see. > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" --=20 Pozdrawiam, =C5=81ukasz Gruner