Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Aug 2014 06:47:23 -0700
From:      Mehmet Erol Sanliturk <m.e.sanliturk@gmail.com>
To:        =?UTF-8?Q?St=C3=A9phane_Dupille?= <stephane@dupille.org>
Cc:        freebsd-stable <freebsd-stable@freebsd.org>
Subject:   Re: Installing FreeBSD 10.0 on an UEFI PC
Message-ID:  <CAOgwaMtv-2isXHpLKyxO%2B5LB_FZbBrxrScS91J-8C_-Dr%2BRWxQ@mail.gmail.com>
In-Reply-To: <fcdbdb27c24d2db2685b0dc8067b90c0@dupille.org>
References:  <fcdbdb27c24d2db2685b0dc8067b90c0@dupille.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOgwaMtv-2isXHpLKyxO%2B5LB_FZbBrxrScS91J-8C_-Dr%2BRWxQ>