From owner-freebsd-current@freebsd.org Tue Oct 3 21:21:38 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 9EDFEE24D25 for ; Tue, 3 Oct 2017 21:21:38 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [88.99.82.50]) (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 6801F64611 for ; Tue, 3 Oct 2017 21:21:37 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2016.home.selasky.org (unknown [62.141.128.70]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 0064C2601AB for ; Tue, 3 Oct 2017 23:21:34 +0200 (CEST) To: FreeBSD Current From: Hans Petter Selasky Subject: Booting native 4K SSD disk from FreeBSD ? Message-ID: <10608d2a-4209-25c1-4117-8568993bfe6a@selasky.org> Date: Tue, 3 Oct 2017 23:18:59 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed 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: Tue, 03 Oct 2017 21:21:38 -0000 Hi, I accidentially ordered a Sata SSD disk which diskinfo reports a sector-size 4K instead of 512 bytes. Trying to get it to boot under FreeBSD appeared impossible. Then I started looking into the boot0,1,2 and loader and the assumptions they make about 512 byte sector size LBA :-( Anyone has any recommendations or experience about how to use native 4K disks with FreeBSD? --HPS