*BSD News Article 22692


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!constellation!aardvark.ucs.uoknor.edu!ns1.nodak.edu!netnews.nwnet.net!news.clark.edu!spool.mu.edu!howland.reston.ans.net!usc!elroy.jpl.nasa.gov!decwrl!usenet.coe.montana.edu!bsd.coe.montana.edu!nate
Newsgroups: comp.os.386bsd.questions
Subject: Re: FreeBSD boot loader > 1024 cyls ?
Message-ID: <2a6fi4$5f7@pdq.coe.montana.edu>
From: nate@bsd.coe.montana.edu (Nate Williams)
Date: 21 Oct 1993 17:06:12 GMT
References: <2a6adu$gin@notwerk.mcs.com>
Organization: Montana State University, Bozeman  MT
NNTP-Posting-Host: bsd.coe.montana.edu
Lines: 61

[ 

PLEASE, PLEASE, PLEASE, PLEASE, PLEASE, PLEASE, PLEASE, PLEASE, PLEASE, 
PLEASE, PLEASE, PLEASE, PLEASE, PLEASE, PLEASE, PLEASE, PLEASE, PLEASE,
.....
Send FreeBSD install questions to the mail address listed in the documentation,
FreeBSD-questions@freefall.cdrom.com 

]

In article <2a6adu$gin@notwerk.mcs.com>,
Thomas Uban <uban@Notwerk.mcs.com> wrote:
>
>After installing FreeBSD on the second half of my IDE 212Mb HD, all seems
>ok. Then I recompile the kernel and copy it to /. When I try to boot the new
>kernel, the loader complains with:
>
>	Error: C:1042 H:8 S:16
>	... <forever> ...

The disk media is bad.  Are you booting from the hard-disk, or the floppy?

>When I copy the original "working" kernel to a new name and boot it, I get
>similar results. I noted the warning during installation about disks with
>greater than 1024 cyls may have problems. Is this such a case, or is it
>just that the boot loader cannot cope?

You must use the translated parameters from your drive when installing
FreeBSD.  The PC *HARDWARE* can't copy with more than 1024 cyl. due to
a limitation in the BIOS.

>My disk is a Toshiba MK2224FC. Its native geometry is C: 770 H: 16 S: 38,
>but due to my braindead NEC Ultrlite's fixed geometry BIOS, if I want to
>share the disk with DOS, I have to run with C: 990 (2446) H: 10 S: 16.
>The original disk was 80MB (990 cyls) the Toshiba works out to 2446 cyls
>in the "logical" geometry. Yes, I know this is a performance hit, but I
>have no choice -- "they" make me run DOS...

You CAN'T have 2446 cyls and run DOS.  You have to keep your # of cylinders
to under 1024 to run dos.

>The partitioning looks something like this (pfdisk):
>
>	Part	ID	First	Last	Name
>	----	---	-----	----	--------
>	0	6	1	989	DOSbi
>	1	165	990	2445	FreeBSD

No offense to whoever told you to use 2446, but the only reason DOS works
on your machine is because it's located in the lower 1024 cyls.  You mentioned
above that you have C: 990.  Why do you say 2446 then?  Head and sectors are
independent of cylinders...   


Nate

-- 
nate@bsd.coe.montana.edu     |  Freely available *nix clones benefit everyone,
nate@cs.montana.edu          |  so let's not compete with each other, let's
work #: (406) 994-4836       |  compete with folks who try to tie us down to
home #: (406) 586-0579       |  proprietary O.S.'s (Microsloth) - Me