Re: Booting native 4K SSD disk from FreeBSD ?

From: Allan Jude <allanjude_at_freebsd.org>
Date: Tue, 3 Oct 2017 17:36:59 -0400
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_at_freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_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
Received on Tue Oct 03 2017 - 19:35:46 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:13 UTC