Return to BSD News archive
Newsgroups: comp.os.386bsd.questions Path: sserve!newshost.anu.edu.au!munnari.oz.au!spool.mu.edu!howland.reston.ans.net!agate!tfs.com!tfs.com!ts2!shipley From: shipley@oak.dis.org (Peter Shipley) Subject: Re: DOS coexisting with NetBSD-0.9 In-Reply-To: Mike.Long@analog.com's message of Tue, 19 Oct 1993 23: 36:14 GMT Message-ID: <SHIPLEY.93Oct22131700@oak.dis.org> Sender: news@tfs.com (News Administrator @ts2.tfs.com) Nntp-Posting-Host: oak Organization: Processed People for a Processed America References: <29vmeq$mg9@theory.TC.Cornell.EDU> <MIKE.LONG.93Oct19193614@cthulhu.analog.com> Date: Fri, 22 Oct 1993 21:17:00 GMT Lines: 49 In article <MIKE.LONG.93Oct19193614@cthulhu.analog.com> Mike.Long@analog.com (Michael W. Long) writes: > I have a single Western Digital WDAC2420. It is a 420 MB IDE drive in >salesman's megabytes, which is ~405 MB in real megabytes. According to my CMOS >setup, it has 989 cylinders, 15 heads (tracks/cylinder), and 56 sectors. This >information is *vital*, copy down your disk's equivalent parameters on a handy >sheet of paper. The problem I ran into is when you have more then 1024 cylinders. when I fdisked my system the fdisk label contained infomation to the effect that I had 128 heads (instead of 19). when I tryed to disklabel the disk NetBSD'd disklabel program insisted on replacing the fdisk label with one with the *real* geometry. the problem with this is that now this is an invalid DOS label and I can use the disk for DOS. My layout (as printed from pfdisk) is: The data for partition 0 is: sysid 6,(Primary 'big' DOS (> 32MB)) start 32, size 1023968 (499 Meg), flag 0 beg: cyl 0/ sector 1/ head 1; end: cyl 249/ sector 32/ head 127 The data for partition 1 is: sysid 5,(Extended DOS) start 1024000, size 1024000 (500 Meg), flag 0 beg: cyl 250/ sector 1/ head 0; end: cyl 499/ sector 32/ head 127 The data for partition 2 is: <UNUSED> The data for partition 3 is: sysid 165,(386BSD) start 2048000, size 1863680 (910 Meg), flag 0 beg: cyl 500/ sector 1/ head 0; end: cyl 954/ sector 32/ head 127 I understand that BSD does not like to deal with disk translation but then how is DOS and BSD going to share a large disk? -- --------------- Pete Shipley: email: shipley@berkeley.edu Flames: cimarron@postgres.berkeley.edu Spelling corections: /dev/null Quote: "Anger is an energy"