From owner-freebsd-current@freebsd.org Thu Nov 2 11:08:55 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 1AD59E56689 for ; Thu, 2 Nov 2017 11:08:55 +0000 (UTC) (envelope-from tsoome@me.com) Received: from st13p35im-asmtp001.me.com (st13p35im-asmtp001.me.com [17.164.199.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E5880760F1; Thu, 2 Nov 2017 11:08:54 +0000 (UTC) (envelope-from tsoome@me.com) Received: from process-dkim-sign-daemon.st13p35im-asmtp001.me.com by st13p35im-asmtp001.me.com (Oracle Communications Messaging Server 8.0.1.2.20170607 64bit (built Jun 7 2017)) id <0OYS00900ES85800@st13p35im-asmtp001.me.com>; Thu, 02 Nov 2017 11:08:53 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=04042017; t=1509620933; bh=qcOQ+ns1Pvwfxz3iq4IJU/xSIXg+iNSmKLR/z7aimiM=; h=Content-type:MIME-version:Subject:From:Date:Message-id:To; b=SwZQ31WxEc/gwu7l/v2JYoAjNlujTy5u70PZyq6p3AQmkyYngCWA3ejCBfpuqoJiT kNB7dbotTMmSBfSsW2D5EXV2SWuNo3pk5BczOu9WMVjDDOCiYZyCdeJXLMWB8I5VIz zCJDYLKu0SZBbJ6rtxQT34KG15usevvDpz4+PfBPSAhK/2zgYBoShvekR8IGSHyqKZ Z3/e6jrxk4vrve69EhB2EQFjFJsCGZ4i/2+sVz4/FXbnZds+58dQ/gKu8nraMLr3/V zd20jmR6lUeoShIyGIBnmiO8EpYvsxPzZAgrxSGqFbUa2LuxALJGNBgp5L90+/Gr03 1rzEnOrLpbMQg== Received: from icloud.com ([127.0.0.1]) by st13p35im-asmtp001.me.com (Oracle Communications Messaging Server 8.0.1.2.20170607 64bit (built Jun 7 2017)) with ESMTPSA id <0OYS007CEEYQIH30@st13p35im-asmtp001.me.com>; Thu, 02 Nov 2017 11:08:53 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-11-02_03:,, signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 clxscore=1015 suspectscore=2 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1707230000 definitions=main-1711020144 Content-type: text/plain; charset=us-ascii MIME-version: 1.0 (Mac OS X Mail 11.0 \(3445.1.7\)) Subject: Re: Booting native 4K SSD disk from FreeBSD ? From: Toomas Soome In-reply-to: <0ffdf8a5-b6ad-ab74-9011-c471a96dbf25@freebsd.org> Date: Thu, 02 Nov 2017 13:08:49 +0200 Cc: freebsd-current@freebsd.org Content-transfer-encoding: quoted-printable Message-id: References: <10608d2a-4209-25c1-4117-8568993bfe6a@selasky.org> <20171004093341.C969913E77@mx1.scaleengine.net> <0ffdf8a5-b6ad-ab74-9011-c471a96dbf25@freebsd.org> To: Allan Jude X-Mailer: Apple Mail (2.3445.1.7) 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: Thu, 02 Nov 2017 11:08:55 -0000 With r325310, the UEFI boot with CURRENT should be ok with >512B = sectors. The BIOS part is still work in the process. rgds, toomas > On 4 Oct 2017, at 19:32, Allan Jude wrote: >=20 > On 2017-10-04 05:27, Thomas Mueller wrote: >> from Allan Jude: >>=20 >>>> Anyone has any recommendations or experience about how to use = native 4K >>>> disks with FreeBSD? >>=20 >>>> --HPS >>=20 >>> It is not possible in legacy/BIOS mode, because the BIOS calls do = not >>> let you specify a sector size. >>=20 >>> 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. >>=20 >> I've been trying to figure how to boot a FreeBSD system with UEFI as = opposed to BIOS-style. >>=20 >> I read the documentation, but want to boot a partition that might not = be the first BSD partition on the hard disk. >>=20 >> For instance, some UFS partitions might have a NetBSD installation, a = different FreeBSD installation, or no OS installation. >>=20 >> I read the man page (uefi) and looked at the files in /boot; have an = EFI partition set up with more than enough space. >>=20 >> 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.=20= >>=20 >> Tom >>=20 >> _______________________________________________ >> 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" >>=20 >=20 > 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. >=20 > 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 >=20 > --=20 > Allan Jude > _______________________________________________ > 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"