Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Feb 2016 08:49:34 +0100 (CET)
From:      =?ISO-8859-1?Q?Trond_Endrest=F8l?= <Trond.Endrestol@fagskolen.gjovik.no>
To:        Bob Willcox <bob@immure.com>
Cc:        questions list <freebsd-questions@freebsd.org>
Subject:   Re: Switch from legacy to UEFI boot??
Message-ID:  <alpine.BSF.2.20.1602040842580.1065@mail.fig.ol.no>
In-Reply-To: <20160203213414.GB60231@rancor.immure.com>
References:  <20160203213414.GB60231@rancor.immure.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 3 Feb 2016 15:34-0600, Bob Willcox wrote:

> Is there a way to convert a system from legacy boot to UEFI boot?  I have an
> Intel NUC5i7RYH and I can get it to boot ok in legacy boot mode but only if I
> go into the BIOS and manually select the partition. It (the BIOS) won't
> automatically boot from it. Tells me there's no boot device.

UEFI requires the GPT partitioning scheme and a special boot partition 
on the harddrive, a EFI System Partition (ESP).

If you don't have GPT on your drive, your best option is to backup 
anything precious, redo the partitioning, and reinstall your system.

If you already use the GPT partitioning scheme and can make some extra 
room on your harddrive, then you'll be able to create a small ESP of 
800K, and populate that partition with /boot/boot1.efifat.

E.g.:

gpart create -t efi -s 800K -l esp0 ada0
gpart bootcode -p /boot/boot1.efifat -i <index-of-efi> ada0

-- 
+-------------------------------+------------------------------------+
| Vennlig hilsen,               | Best regards,                      |
| Trond Endrestøl,              | Trond Endrestøl,                   |
| IT-ansvarlig,                 | System administrator,              |
| Fagskolen Innlandet,          | Gjøvik Technical College, Norway,  |
| tlf. mob.   952 62 567,       | Cellular...: +47 952 62 567,       |
| sentralbord 61 14 54 00.      | Switchboard: +47 61 14 54 00.      |
+-------------------------------+------------------------------------+
From owner-freebsd-questions@freebsd.org  Thu Feb  4 08:31:03 2016
Return-Path: <owner-freebsd-questions@freebsd.org>
Delivered-To: freebsd-questions@mailman.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 by mailman.ysv.freebsd.org (Postfix) with ESMTP id C1C3DA9BC00
 for <freebsd-questions@mailman.ysv.freebsd.org>;
 Thu,  4 Feb 2016 08:31:03 +0000 (UTC)
 (envelope-from matthew@FreeBSD.org)
Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk
 [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78])
 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
 (Client CN "smtp.infracaninophile.co.uk",
 Issuer "infracaninophile.co.uk" (not verified))
 by mx1.freebsd.org (Postfix) with ESMTPS id 69726AB1
 for <freebsd-questions@freebsd.org>; Thu,  4 Feb 2016 08:31:03 +0000 (UTC)
 (envelope-from matthew@FreeBSD.org)
Received: from liminal.local (liminal.infracaninophile.co.uk
 [IPv6:2001:8b0:151:1:3636:3bff:fed4:b0d6]) (authenticated bits=0)
 by smtp.infracaninophile.co.uk (8.15.2/8.15.2) with ESMTPSA id u148UwTj048620
 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO)
 for <freebsd-questions@freebsd.org>; Thu, 4 Feb 2016 08:30:58 GMT
 (envelope-from matthew@FreeBSD.org)
Authentication-Results: smtp.infracaninophile.co.uk;
 dmarc=none header.from=FreeBSD.org
DKIM-Filter: OpenDKIM Filter v2.10.3 smtp.infracaninophile.co.uk u148UwTj048620
Authentication-Results: smtp.infracaninophile.co.uk/u148UwTj048620;
 dkim=none; dkim-atps=neutral
X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host
 liminal.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3636:3bff:fed4:b0d6]
 claimed to be liminal.local
Subject: Re: Migrating ZFS on Linux pools to FreeBSD
To: freebsd-questions@freebsd.org
References: <n8u4d0$2gj$1@ger.gmane.org>
From: Matthew Seaman <matthew@FreeBSD.org>
X-Enigmail-Draft-Status: N1110
Message-ID: <56B30C42.1030006@FreeBSD.org>
Date: Thu, 4 Feb 2016 08:30:58 +0000
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0)
 Gecko/20100101 Thunderbird/38.5.1
MIME-Version: 1.0
In-Reply-To: <n8u4d0$2gj$1@ger.gmane.org>
Content-Type: multipart/signed; micalg=pgp-sha512;
 protocol="application/pgp-signature";
 boundary="gSJi9SEoeNCBruLhUobwjtVuUla1At6p9"
X-Virus-Scanned: clamav-milter 0.99 at lucid-nonsense.infracaninophile.co.uk
X-Virus-Status: Clean
X-Spam-Status: No, score=-2.6 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00
 autolearn=ham autolearn_force=no version=3.4.1
X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on
 lucid-nonsense.infracaninophile.co.uk
X-BeenThere: freebsd-questions@freebsd.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: User questions <freebsd-questions.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-questions>, 
 <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/>;
List-Post: <mailto:freebsd-questions@freebsd.org>
List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-questions>, 
 <mailto:freebsd-questions-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Thu, 04 Feb 2016 08:31:03 -0000

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--gSJi9SEoeNCBruLhUobwjtVuUla1At6p9
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

On 04/02/2016 00:01, Ruben Schade wrote:
> I'm migrating a home HP Gen8 Microserver from Debian Jessie to FreeBSD
> 10.2. I have two mirrored ZFS pools created with the ZFS on Linux port,=

> and want to access them on FreeBSD.
>=20
> I understand FreeBSD's ZFS implementation is more mature and pre-dates
> the Linux port, and some web searches indicate the two may not be
> entirely compatible. Most recommendations seem to be not to run Linux
> and FreeBSD off the same pools, for example:
>=20
> https://forums.freebsd.org/threads/installing-freebsd-in-an-existing-zf=
s-pool.54831/
>=20
>=20
> Does the same hold true for just data stores, and ones that are being
> migrated over without being accessed by Linux again? Are there any
> practical limitations to just using a ZFS pool created on Linux?
>=20
> If there=E2=80=99s reasonable doubt of issues I'll just rebuilt the poo=
ls under
> FreeBSD, but would be great if I didn't need to do that. It'd be cool i=
f
> it=E2=80=99s just a # zpool upgrade away hah :)

So long as the ZFS pool only has feature flags enabled that are
supported on both systems, then you should be able to mount your
linux-created pool on FreeBSD.  A good way to test that is to boot a
live FreeBSD image from the install media.  See if you can import the
pool and then access the contents.

	Cheers,

	Matthew


--gSJi9SEoeNCBruLhUobwjtVuUla1At6p9
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2

iQJ8BAEBCgBmBQJWswxCXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC
QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkATsJ8P/iL6X2k+pIHfaRw8UnkxhCCn
UmLKEvPkVuyOrcAZEtTYk3lPQgBlVoX9nF8APT69ehbY1rNi193lelzS6fuRGjCm
m8Xs7SXI/RnD7R1pkpSbjD5eSAlhUBPLvRnxTsMjNrByealjBe6fG6aJ4TTMNEqk
5IOCDcXj4Hv9Y4Ba2LOi98a2OtSU0AsBqg1Zgf7spNT1Nra9B7qBiRhPXFa0T2Rx
YbA27QVA9kPTQfkw0GHw4dWKrJTcz+uctDx5iqQDYGE3VVmIVoDr3tR4kIn3FPIQ
4N/ji5mtXL8zqB8A5dID8dY5FBG0DXcJawRpFZ/Liz93AvbNuxmpwEyd/J4XDc49
f2g4C3AKrDZ59ahXu8YvvCckn3ojGr0oV5VtGvZq0DIsLO2CJ2ddlbeEGJw8JeIZ
+SvGveEN6mtI8T+lDHoan2LYqviMNU+HEx4l7nZjxrMW1AeP62CcUjytgnlxIcjE
smRVJivq/eBEW8MWC8nwTmwzdGFJc00Ev9BOmFVfl+42OGF7DCV70M96E/jOOImu
QTsGGo4oSY+cm4g86lcTlVL2wJJUZfwg2KRzcBk1XlMQC4JHp3x6c+oMxmYk2anW
pKNDOTM9Bb45UobRCqk9sOQDkA4Exl4p5excmeZ0Koemm/YvigPPR1MdzD9remV0
qK2CQnHS2TFYOAsrIt4F
=njQ7
-----END PGP SIGNATURE-----

--gSJi9SEoeNCBruLhUobwjtVuUla1At6p9--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.20.1602040842580.1065>