can't boot 5.5 TB GPT disk
James R. Van Artsdalen
james-freebsd-current at jrv.org
Wed Apr 15 19:54:38 PDT 2009
James R. Van Artsdalen wrote:
> I can't boot a GPT partitioned 5.5 TB disc, where the UFS root partition
> is near the end of the disk.
For the record this fixes the bug. PR to be filed.
Index: sys/boot/i386/libi386/biosdisk.c
===================================================================
--- sys/boot/i386/libi386/biosdisk.c (revision 190917)
+++ sys/boot/i386/libi386/biosdisk.c (working copy)
@@ -83,7 +83,7 @@
int od_cyl; /* BIOS geometry */
int od_hds;
int od_sec;
- int od_boff; /* block offset
from beginning of BIOS disk */
+ daddr_t od_boff; /* block offset from
beginning of BIOS disk */
int od_flags;
#define BD_MODEINT13 0x0000
#define BD_MODEEDD1 0x0001
More information about the freebsd-current
mailing list