From owner-freebsd-current@freebsd.org Wed Oct 4 16:33:02 2017 Return-Path: Delivered-To: freebsd-current@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 C1E56E3D50D for ; Wed, 4 Oct 2017 16:33:02 +0000 (UTC) (envelope-from allanjude@freebsd.org) Received: from mx1.scaleengine.net (mx1.scaleengine.net [209.51.186.6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A452768A44 for ; Wed, 4 Oct 2017 16:33:02 +0000 (UTC) (envelope-from allanjude@freebsd.org) Received: from [10.1.1.2] (unknown [209.51.186.28]) (Authenticated sender: allanjude.freebsd@scaleengine.com) by mx1.scaleengine.net (Postfix) with ESMTPSA id 7DAD313AB8 for ; Wed, 4 Oct 2017 16:33:00 +0000 (UTC) Subject: Re: Booting native 4K SSD disk from FreeBSD ? To: freebsd-current@freebsd.org References: <10608d2a-4209-25c1-4117-8568993bfe6a@selasky.org> <20171004093341.C969913E77@mx1.scaleengine.net> From: Allan Jude Message-ID: <0ffdf8a5-b6ad-ab74-9011-c471a96dbf25@freebsd.org> Date: Wed, 4 Oct 2017 12:32:59 -0400 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <20171004093341.C969913E77@mx1.scaleengine.net> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Oct 2017 16:33:02 -0000 On 2017-10-04 05:27, Thomas Mueller wrote: > from Allan Jude: > >>> Anyone has any recommendations or experience about how to use native 4K >>> disks with FreeBSD? > >>> --HPS > >> It is not possible in legacy/BIOS mode, because the BIOS calls do not >> let you specify a sector size. > >> However, you SHOULD be able to boot from the 4k device using UEFI. >> I am trying to debug a problem I am having with this on my new Mac, >> which has a 4k NVMe disk. > > I've been trying to figure how to boot a FreeBSD system with UEFI as opposed to BIOS-style. > > I read the documentation, but want to boot a partition that might not be the first BSD partition on the hard disk. > > For instance, some UFS partitions might have a NetBSD installation, a different FreeBSD installation, or no OS installation. > > I read the man page (uefi) and looked at the files in /boot; have an EFI partition set up with more than enough space. > > I would also want to be able to boot other UEFI-capable OSes including Linux, NetBSD (if that works), and Haiku when and if possible. > > Tom > > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > In this case, You likely want to install a tool like rEFInd, which will draw a menu of all of the installed OSes and let you pick. I use this in two of my laptops, one dual boots freebsd and windows, and the other OS X and FreeBSD on my macbook pro -- Allan Jude