From owner-freebsd-stable@FreeBSD.ORG Mon Aug 18 13:26:55 2014 Return-Path: Delivered-To: freebsd-stable@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 7AA0523E for ; Mon, 18 Aug 2014 13:26:55 +0000 (UTC) Received: from mail.nospam.fr.eu.org (mail.nospam.fr.eu.org [IPv6:2001:41d0:8:bb93::beef:2]) by mx1.freebsd.org (Postfix) with ESMTP id 3D16D383E for ; Mon, 18 Aug 2014 13:26:55 +0000 (UTC) Received: from mail.nospam.fr.eu.org (unknown [10.0.2.3]) by mail.nospam.fr.eu.org (Postfix) with ESMTP id 2F2E0DFE for ; Mon, 18 Aug 2014 15:26:52 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dupille.org; s=default; t=1408368412; bh=prTltjdxE3LHuDa0BZlH3jJTZb4okHrTr1EpCRHCge0=; h=Date:From:To:Subject; b=YSgSuZ4CaZ6lwpYLRJVKGCNevrWu3BMweatKLYztkxijIIVErFbFP4ipiEWvlqiFY 7/vCFWVIdmsiYpclQabxnMUefrVOk1YrEFZRWSzGx6JZGmCq4D5C6EaHhogTNOxs/r HdiFVf3rqERQfXk4C7YvkL58LvGfbnKBzZcqFXJQ= Received: from FpeoxPezKzN/qwC+F6Km7ahVa/NkbuT9 by mail.dupille.org with HTTP (HTTP/1.1 POST); Mon, 18 Aug 2014 15:26:52 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Mon, 18 Aug 2014 15:26:52 +0200 From: =?UTF-8?Q?St=C3=A9phane_Dupille?= To: freebsd-stable@freebsd.org Subject: Installing FreeBSD 10.0 on an UEFI PC Organization: Maison Message-ID: X-Sender: stephane@dupille.org User-Agent: Roundcube Webmail/0.9.2 X-Spam-Status: No, score=3.1 required=5.0 tests=AWL,DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,UNPARSEABLE_RELAY shortcircuit=no autolearn=ham version=3.3.2 X-Spam-Level: *** X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on mail X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Aug 2014 13:26:55 -0000 Hello, I'm trying to install FreeBSD 10.0 on a PC, but unfortunately it has a UEFI bios. Here is a complete dmesg output : https://cloud.dupille.org/public.php?service=files&t=7d5e80a821451f56bfba500e3e954cde First, I tried to install using a GPT partition, but the BIOS, even in Legacy mode, is unable to find the bootcode into the GPT partition. Here is the BIOS setup: Launch CSM Enabled Boot option filter Legacy only Launch PXE OpROM policy Legacy only Launch storage OpROM policy Legacy only Other PCI device ROM priority Legacy OpROM Network stack Disabled The install script into a GPT partition is here : https://cloud.dupille.org/public.php?service=files&t=e56cbf708be34311adf097b1e64eb823 I've read somewhere that the Bios is too dumb, and when it finds a GPT partition, it assumes that the only option to boot is from a UEFI script, and refuses to launch bootcode. Then, I tried to install FreeBSD using a MBR partition. But for several reasons, I want to install it on ZFS. So I followed instructions found here : https://wiki.freebsd.org/RootOnZFS/ZFSBootPartition The install script I'm using is : https://cloud.dupille.org/public.php?service=files&t=e2b2ee0e6ea2882fd6392008970e565c disk=ada disknum=1 device=${disk}${disknum} # Now we crate partitions gpart create -s mbr $device gpart add -t freebsd $device gpart create -s BSD ${device}s1 gpart set -a active -i 1 ${device} gpart add -t freebsd-zfs ${device}s1 # bootcode zpool create -O mountpoint=none -o altroot=/mnt zroot /dev/${device}s1a zpool set bootfs=zroot zroot gpart bootcode -b /boot/boot0 $device dd if=/boot/zfsboot of=/tmp/zfsboot1 count=1 zpool export zroot gpart bootcode -b /tmp/zfsboot1 /dev/${device}s1 dd if=/boot/zfsboot of=/dev/${device}s1a skip=1 seek=1024 But when I boot, All I get is : F1 FreeBSD F5 drive 1 F6 PXE Boot: F1 And then, nothing happens. What could I do now ? I still have the option to install it on a UFS partition (it boots fairly well on the USB memstick), but I'd rather have ZFS. Regards,