Re: can't boot 5.5 TB GPT disk

From: James R. Van Artsdalen <james-freebsd-current_at_jrv.org>
Date: Wed, 15 Apr 2009 21:54:23 -0500
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)
_at__at_ -83,7 +83,7 _at__at_
     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
Received on Thu Apr 16 2009 - 00:54:37 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:46 UTC