*BSD News Article 27167


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!constellation!paladin.american.edu!howland.reston.ans.net!cs.utexas.edu!uunet!Germany.EU.net!netmbx.de!zrz.TU-Berlin.DE!zib-berlin.de!unidui!du9ds4!prang
From: prang@du9ds4.fb9dv.uni-duisburg.de (Juergen Prang)
Newsgroups: comp.os.386bsd.questions
Subject: Re: Help! I cannot use os-bs on 1.7 Gig drive.
Date: 11 Feb 94 13:35:11 GMT
Organization: Universitaet Duisburg GH
Lines: 27
Message-ID: <prang.760973711@du9ds4>
References: <klee.760727150@imagen>
NNTP-Posting-Host: du9ds4.fb9dv.uni-duisburg.de
Keywords: 1.7 Gig drive

klee@imagen.com (Kanghoon Lee) writes:

>I just bought 1.7 Gig Micropolis IDE drive, partitioned  520MB for DOS and rest
>for NetBSD.  I installed DOS, and NetBSD 0.9.  When I boot, the NetBSD comes up.
>When I had two operating systems on smaller disk(340MB), I did not have any
>trouble switching the operating system using os-bs program.  But when I install
>it on this drive, it has trouble switching the operating system.  At first, it
>booted the NetBSD fine, but it could not boot DOS.  When I format the DOS drive,
>and re-install DOS, it cannot find the NetBSD.  Can anybody help?  or do I need
>to switch the operating system by booting DOS from floppy?  It is so convenient
>to have that OS-BS.  Any help would be greatly appreciated.

I guess, the problem is that OS-BS uses BIOS's Int13h to access the disk containing
the bootcode. For this reason its disk access capabilities are limited to a maximum
of 1024 cylinders / 16 heads / 63 sectors per track. So your partition boundary has
all its parameters to lie under these maxima. Once NetBSD is booted it is independent
of these restrictions.

In case your disk geometry has more than 63 sectors per track or more than 16 heads
it may or may not be possible to let OS-BS boot NetBSD on a cylinder below 1024.

Juergen
-- 
   Juergen Prang           |     prang@du9ds4.fb9dv.uni-duisburg.de
   University of Duisburg  |********************************************
   Electrical Engineering  |     Logic is a systematic method of coming
   Dept. of Dataprocessing |     to the wrong conclusion with confidence