From owner-freebsd-stable@FreeBSD.ORG Mon Aug 18 13:47:24 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 5F36F997 for ; Mon, 18 Aug 2014 13:47:24 +0000 (UTC) Received: from mail-yk0-x230.google.com (mail-yk0-x230.google.com [IPv6:2607:f8b0:4002:c07::230]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 20EB93A53 for ; Mon, 18 Aug 2014 13:47:24 +0000 (UTC) Received: by mail-yk0-f176.google.com with SMTP id 19so4204643ykq.7 for ; Mon, 18 Aug 2014 06:47:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=bLdkGHMtnjSKL+jxvwu06aw/dfBxZspO6RgcHhI0x9c=; b=mAR0MRZJoFxlqxZLkIDrILsMTydBDxaZ00b8N05domR++GjOqI6YMIipw0KMreyUG8 ZnUs7GAqOoyeW2/WOw5Z2Yt/pi+A0bZTAvr6yG4oZeOvttP+OgJuBXOOH80jQ798SWxd oz2yJ8pnNDimADfrZ41xHM+6KRah5E60Q1vAmwiPTDCXAUHz5izbyuAnBGNqeeMOgHuq jEXfRqtQ1Pn+t83ip5Gfrs7DMKP0Curv0kcUzzVBEXvBN2l6muKD5jCc1AFOnEupAysL lRVYhxe5IJ7QEHpb6ArVdxZWpQ+P0AfP0Jxut6k3c0rYOINBIgzj0G30WqYIv1DUPWEH PPGA== MIME-Version: 1.0 X-Received: by 10.236.117.196 with SMTP id j44mr55125758yhh.78.1408369643308; Mon, 18 Aug 2014 06:47:23 -0700 (PDT) Received: by 10.170.218.197 with HTTP; Mon, 18 Aug 2014 06:47:23 -0700 (PDT) In-Reply-To: References: Date: Mon, 18 Aug 2014 06:47:23 -0700 Message-ID: Subject: Re: Installing FreeBSD 10.0 on an UEFI PC From: Mehmet Erol Sanliturk To: =?UTF-8?Q?St=C3=A9phane_Dupille?= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: freebsd-stable 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:47:24 -0000 On Mon, Aug 18, 2014 at 6:26 AM, St=C3=A9phane Dupille < freebsd-stable@freebsd.org> wrote: > 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=3Dfiles&t=3D > 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=3Dfiles&t=3D > 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 he= re > : > https://wiki.freebsd.org/RootOnZFS/ZFSBootPartition > > The install script I'm using is : > https://cloud.dupille.org/public.php?service=3Dfiles&t=3D > e2b2ee0e6ea2882fd6392008970e565c > > disk=3Dada > disknum=3D1 > device=3D${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=3Dnone -o altroot=3D/mnt zroot /dev/${device= }s1a > zpool set bootfs=3Dzroot zroot > gpart bootcode -b /boot/boot0 $device > dd if=3D/boot/zfsboot of=3D/tmp/zfsboot1 count=3D1 > zpool export zroot > gpart bootcode -b /tmp/zfsboot1 /dev/${device}s1 > dd if=3D/boot/zfsboot of=3D/dev/${device}s1a skip=3D1 seek=3D1024 > > > > 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, > > I think , problem is not UEFI BIOS . I have attached an already installed FreeBSD 10.0 Release HDD in another computer into an UEFI BIOS having mainboard . It booted up to login: prompt . There was no keyboard , I switched off the computer at that point . Please see the following link : http://lists.freebsd.org/pipermail/freebsd-current/2014-August/051624.html Perhaps it may be useful . Thank you very much . Mehmet Erol Sanliturk