NOTE: this is the second version of this patch. Apply by doing: cd /usr/src/sys/arch/i386/stand/installboot patch < installboot.patch make && make install Index: installboot.c =================================================================== RCS file: /cvs/src/sys/arch/i386/stand/installboot/installboot.c,v retrieving revision 1.32 retrieving revision 1.33 diff -u -r1.32 -r1.33 --- installboot.c 1998/04/25 18:32:35 1.32 +++ installboot.c 1998/12/16 03:04:09 1.33 @@ -1,4 +1,4 @@ -/* $OpenBSD: installboot.c,v 1.32 1998/04/25 18:32:35 millert Exp $ */ +/* $OpenBSD: installboot.c,v 1.33 1998/12/16 03:04:09 mickey Exp $ */ /* $NetBSD: installboot.c,v 1.5 1995/11/17 23:23:50 gwr Exp $ */ /* @@ -224,7 +224,7 @@ /* Find OpenBSD partition. */ for (dp = mbr.dmbr_parts; dp < &mbr.dmbr_parts[NDOSPART]; dp++) { if (dp->dp_size && dp->dp_typ == DOSPTYP_OPENBSD) { - startoff = dp->dp_start * dl.d_secsize; + startoff = (off_t)dp->dp_start * dl.d_secsize; fprintf(stderr, "using MBR partition %d: " "type %d (0x%02x) offset %d (0x%x)\n", dp - mbr.dmbr_parts,