From owner-freebsd-current@freebsd.org Sun Nov 5 21:26:11 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 8727AE528FA for ; Sun, 5 Nov 2017 21:26:11 +0000 (UTC) (envelope-from yuripv@gmx.com) Received: from mout.gmx.net (mout.gmx.net [212.227.15.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E75046D024 for ; Sun, 5 Nov 2017 21:26:10 +0000 (UTC) (envelope-from yuripv@gmx.com) Received: from [192.168.1.2] ([94.233.224.52]) by mail.gmx.com (mrgmx003 [212.227.17.184]) with ESMTPSA (Nemesis) id 0Lk7fW-1dZNmi0peE-00cA88 for ; Sun, 05 Nov 2017 22:26:02 +0100 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> <0ffdf8a5-b6ad-ab74-9011-c471a96dbf25@freebsd.org> From: Yuri Pankov Message-ID: Date: Mon, 6 Nov 2017 00:25:58 +0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:o8XRm+9Jhy5zFCCWq2JSkiGj6Ufm7FTK/EHay8PmuJDm9/ib0nz M/YI2F4Y3JOhIYepsJaUfwhNJWwMKPhRTFi8v+rR5aoi6NiOnT47o4Uw92DrSTV/uRKJeD2 /ajgFA2Fltty7p9MCHwPlUlcPFCexsMdH3u9At8aC0CT94a5T6ujvgDVMO+1hEhDLc+qFuh xeetzGVWyxyNKbkZUHhxw== X-UI-Out-Filterresults: notjunk:1;V01:K0:yuiQJacsP4M=:CnmjdnkDMbeMrNbdVuRak4 hWTEiw8wawVZh+SKkmOC93HroDPa5RMg5eoIcw4nTNWdkJSTpr8LrPT5MKCvCf6e6UCyzOz82 6f7O7WJ0LVhIWyeMZP4Z40ibaE0WZR9I3xaQSd+s+B9XROFhnFU6EVRxF6EwgBQtuqT5j/B+6 cwBiscTHHNlBn3UGmdyIeuOGjqxkndSqDaxq/P/1vS24AeJm8gtG4M6U09ZE3U286BVvHDURS 7E/8+eSeekNtktFJQu69UklO+oasnP1h4fGvCslyji4mgA80Zyc8LSAxNRswYJsqd6H/AsW8/ is643niMRZpGNba1/+fSVr2iLnbx3XOEhbi16uydzPbwcAdOTfhO+6reudyGYJvX7NZz8Zx/b u8LbYvCE9hPoeJiNYaMru+/+4ZI5OXjeewplTrKbblJfemz7ryc7tXpKFusV81ar8V/YzWupJ lDJNqkvGw9Sh7BSjqeLvVCE7df7timTHfnv4BTIvGmHg59Z/90hGml4HskWEKCBq6T69oT111 z7TatrpxtZEffRkLwmdXiALuK7nY+u/9WfO/URAdCetnj5YDYcrKUZGonlAyw9gSay1H1KwJk WGci1aaLXy/MSY8PyaJ3TyPErYQC9O+ytSjVws7F9gJl3h6cykQR7zCkPBegQjXX7MRTvASeD k1lukMFqQ1BEMH0pVsRgM67a7pAtoj7H7hjoWetR7VJNkRPwz0X3AgMEg+YfO71L+QrZN4B21 06JtELPoTNLLev/+l7FtnNLNVMB/5qBUPE9GUip/5wDb8AzCom2Of+ZzIP+TtkO7QYdA5nRnP I0Ueb0wYTGf1+GVBxL2ZaTHybNurKjZRKhL7A1IDAWZWUuS1yrFuizI86GUCnlAzKO/x4+/ 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: Sun, 05 Nov 2017 21:26:11 -0000 On Thu, 02 Nov 2017 13:08:49 +0200, Toomas Soome wrote: > > With r325310, the UEFI boot with CURRENT should be ok with >512B sectors. The BIOS part is still work in the process. I can confirm that I'm now able to boot my Macbook Pro with 4K SSD. >> On 4 Oct 2017, at 19:32, Allan Jude wrote: >> >> 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