Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Oct 2017 17:36:59 -0400
From:      Allan Jude <allanjude@freebsd.org>
To:        freebsd-current@freebsd.org
Subject:   Re: Booting native 4K SSD disk from FreeBSD ?
Message-ID:  <ca1e0494-2c6a-53c5-1d53-215acddf3479@freebsd.org>
In-Reply-To: <10608d2a-4209-25c1-4117-8568993bfe6a@selasky.org>
References:  <10608d2a-4209-25c1-4117-8568993bfe6a@selasky.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 10/03/2017 17:18, Hans Petter Selasky wrote:
> 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
> _______________________________________________
> 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"

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.

-- 
Allan Jude



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ca1e0494-2c6a-53c5-1d53-215acddf3479>