Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Feb 1998 04:09:57 -0600
From:      Zach Heilig <zach@gaffaneys.com>
To:        Mike Smith <mike@smith.net.au>
Cc:        hackers@FreeBSD.ORG
Subject:   Re: Bootblock sizes (was bad144 ravings)
Message-ID:  <19980210040957.27917@gaffaneys.com>
In-Reply-To: <199802072254.OAA07140@dingo.cdrom.com>; from Mike Smith on Sat, Feb 07, 1998 at 02:54:53PM -0800
References:  <199802072254.OAA07140@dingo.cdrom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Feb 07, 1998 at 02:54:53PM -0800, Mike Smith wrote:
> The issue at hand here is the size of the 'boot2' file, which may not 
> exceed 14 sectors @ 512B each (in order to fit on a 15spt disk), or 
> 7168 bytes.

Doesn't FreeBSD require a 1.44MB disk to install from? That would give
us 18spt, or 9216 bytes.  That should give enough room for bad144 as
well as the recent enhancements.  Unless there are some harddisks that
have less than 18spt.  Looking through /etc/disktab, I see:

pan60|Panasonic Laptop's 60MB IDE:\
        :dt=ST506:ty=winchester:se#512:nt#13:ns#17:nc#565:\
                                                ^^
So maybe 17 should be the upper limit.

That would make life harder on those people who need to boot from 1.2MB
disks, but they are not going to be installing from any recent install
floppy anyway.  That may require yet another directory in
/usr/src/sys/i386/boot for 1.2Meg disks though...

Maybe what we need is a bootblock configuration file similar to what the
kernel uses :-)

-- 
Zach Heilig -- zach@gaffaneys.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe hackers" in the body of the message



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