From owner-freebsd-current@freebsd.org Wed Oct 4 09:33:27 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 2A2CCE33F2B for ; Wed, 4 Oct 2017 09:33:27 +0000 (UTC) (envelope-from mueller6722@twc.com) Received: from dnvrco-cmomta01.email.rr.com (dnvrco-outbound-snat.email.rr.com [107.14.73.226]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 0FF467D8E0 for ; Wed, 4 Oct 2017 09:33:26 +0000 (UTC) (envelope-from mueller6722@twc.com) Received: from localhost ([74.134.208.22]) by cmsmtp with ESMTP id zfyYdK3vXzzkYzfyadnLHC; Wed, 04 Oct 2017 09:28:25 +0000 Date: Wed, 04 Oct 2017 09:27:24 +0000 From: "Thomas Mueller" To: freebsd-current@freebsd.org Subject: Re: Booting native 4K SSD disk from FreeBSD ? References: <10608d2a-4209-25c1-4117-8568993bfe6a@selasky.org> X-CMAE-Envelope: MS4wfDV+u9JC/LyN8+IEUYQLy8IKhKnHSs10dCxEh347CX0jkJ9kGiZM9invtLvdkibuzxHjXMB3wKpavpkUCRcLiviR/CB554oOPqsqR01p34keWTXTS/wq q4TkSqT6Vij9bDUBtLMmVeV8t231QvWjTtwmJMc/ECP4X4lfsc3wd91m 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 09:33:27 -0000 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