*BSD News Article 16057


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!munnari.oz.au!comp.vuw.ac.nz!canterbury.ac.nz!news!hugin!meagre
From: meagre@hugin (Andrew McPherson)
Subject: Re: SOLUTION TO 'NetBSD co-exist with DOS?'
Message-ID: <C71w1s.M5y@news.otago.ac.nz>
Sender: usenet@news.otago.ac.nz (News stuff)
Nntp-Posting-Host: hugin.otago.ac.nz
Organization: University of Otago
X-Newsreader: TIN [version 1.1 PL8]
References: <1skkbcINNnft@escargot.xx.rmit.OZ.AU>
Date: Sat, 15 May 1993 04:20:15 GMT
Lines: 69

Luke Mewburn (s902113@minyos.xx.rmit.OZ.AU) wrote:
> calabres@noc.arc.nasa.gov (Angelo D. Calabrese) writes:

> > In article <match.19.736464917@civil.utah.edu>, match@civil.utah.edu (Marvin Match) writes:
> >> The problem:
> >>   Made a 110-Meg dos partition, leaving 300-Meg for NetBSD.
> >>   Loaded DOS fine. Loaded NetBSD fine. NetBSD boots fine. Can't find DOS!!
> >> 
> >> The question:
> >>   Whence Dos?
> >>   When I boot DOS from a floppy, fdisk finds only one non-DOS partition
> >>   of 24-Megs on this 410-Meg drive. OS-BS only finds one 24-meg non-DOS
> >>   partition. fdisk /mbr is no help. pfdisk is no help.
> >> 
> >> I've gone through this again and again. I've tried creating the partitions
> >> manually with pfdisk. I've tried installing 386-bsd and then overwriting it.
> >> I've tried low-level formatting the entire disk.
> >> 
> >> I'm convinced that you simply "can't get there from here".
> >> 
> >> Somebody want to prove me wrong?
> >> 
> >> Marvin Match
> >> match@sky.civil.utah.edu
> >
> > I am having the same problem. I have a 486DX-33, AMI bios, aha1742, LXT535S,
> > SVGA with 16Megs of Mem. 
> >
> > Thanks,
> > Angelo


> OK, use fdisk (or pfdisk if you're adventurous) and partition up the
> disk how you want, with the 1 large 'non-dos' partition (in my case my
> 125MB drive had a 32MB dos and 93MB non-dos partition). Then, grab
> pfdisk and recreate the non-dos partition with the same start and end
> cylinders but with a type of 165 (the version of pfdisk I got doesn't
> know about 386bsd partitions, but I intend to compile up a version
> that does).

> So, the method I went about getting DOS to co-exist was this:
> - low-level format the drive (why not? :)
> - boot of a floppy with fdisk
> - fdisk it with a 32MB dos partition and the rest (93) as 'extended'.
> - ran pfdisk 0, and the partition that I wanted for netbsd was something
>   like the following (when I did 'L' for list):

> num id  start size    type
> 2   99  65535 200000  unknown

>   (This is an approximation) Then I'd type in:
>     2 165 65535 200000
>   to set the type to 165.

>   Do 'W' to write changes. (Note that if you wanna do D:, do pfdisk 1
>   to run it).

> - formatted c: and put dos & telix back in (incase I needed to log in)
> - installed netbsd..


> Hopefully that helps someone... I'll whip up some more accurate notes
> (with 'real-world' data :)

> Luke.

> --
> Luke Mewburn [Zak], <zak@rmit.edu.au>
> "Lawyers - the only group for which ignorance of the law is not a crime" - anon