Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Apr 2009 21:54:23 -0500
From:      "James R. Van Artsdalen" <james-freebsd-current@jrv.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: can't boot 5.5 TB GPT disk
Message-ID:  <49E69DDF.3080104@jrv.org>
In-Reply-To: <49E1819B.7000604@jrv.org>
References:  <49E1819B.7000604@jrv.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49E69DDF.3080104>