From owner-freebsd-fs@FreeBSD.ORG Thu Nov 20 16:20:28 2008 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1F5E61065673 for ; Thu, 20 Nov 2008 16:20:28 +0000 (UTC) (envelope-from olivier@gid0.org) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.248]) by mx1.freebsd.org (Postfix) with ESMTP id CF8B18FC19 for ; Thu, 20 Nov 2008 16:20:27 +0000 (UTC) (envelope-from olivier@gid0.org) Received: by an-out-0708.google.com with SMTP id b6so238693ana.13 for ; Thu, 20 Nov 2008 08:20:27 -0800 (PST) Received: by 10.142.170.16 with SMTP id s16mr1205738wfe.216.1227198026237; Thu, 20 Nov 2008 08:20:26 -0800 (PST) Received: by 10.142.179.14 with HTTP; Thu, 20 Nov 2008 08:20:26 -0800 (PST) Message-ID: <367b2c980811200820h5d1a058ax48cceb26d0c48137@mail.gmail.com> Date: Thu, 20 Nov 2008 17:20:26 +0100 From: "Olivier SMEDTS" To: "Doug Rabson" In-Reply-To: <16C31872-6A83-4FAB-AC85-213D604CDDE4@rabson.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <367b2c980811191412h5e0af470k165b37edc2fc5853@mail.gmail.com> <16C31872-6A83-4FAB-AC85-213D604CDDE4@rabson.org> Cc: freebsd-fs@freebsd.org Subject: Re: ZFSBoot try and bsdlabel bootstrap code X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Nov 2008 16:20:28 -0000 2008/11/20 Doug Rabson : > > The process for install zfsboot is a bit manual (and undocumented). Try > something like this: > > # dd if=/boot/zfsboot of=/dev/da0s1 count=1 > # dd if=/boot/zfsboot of=/dev/ds0s1 skip=1 seek=1024 Great, I'm going to try that. Thanks ! > Alternatively, you might try using the brand new support for GPT that I > committed yesterday: > > # gpt create -f da0 > # gpt boot -b /boot/pmbr -g /boot/gptzfsboot da0 > # gpt add -t freebsd-zfs da0 > # zpool create mypool da0p2 I like testing brand new FreeBSD features on my brand old boxes. I'm going to have fun this weekend :) Cheers, Olivier -- Olivier Smedts _ ASCII ribbon campaign ( ) e-mail: olivier@gid0.org - against HTML email & vCards X www: http://www.gid0.org - against proprietary attachments / \ "Il y a seulement 10 sortes de gens dans le monde : ceux qui comprennent le binaire, et ceux qui ne le comprennent pas."