*BSD News Article 6302


Return to BSD News archive

Path: sserve!manuel.anu.edu.au!munnari.oz.au!network.ucsd.edu!usc!elroy.jpl.nasa.gov!ames!olivea!uunet!mcsun!Germany.EU.net!Informatik.Uni-Dortmund.DE!waldorf!fn
From: fn@waldorf.informatik.uni-dortmund.de (Frank Nobis)
Newsgroups: comp.unix.bsd
Subject: Re: 386BSD and DOS partitioning help.
Message-ID: <1b41g7INN55u@fbi-news.Informatik.Uni-Dortmund.DE>
Date: 9 Oct 92 13:29:43 GMT
References: <Bvt7nr.BxD@acsu.buffalo.edu> <1b3r4lINNq2f@Germany.EU.net>
Sender: fn@waldorf (Frank Nobis)
Organization: CS Department, Dortmund University, Germany
Lines: 55
NNTP-Posting-Host: waldorf

In article <1b3r4lINNq2f@Germany.EU.net>, bs@Germany.EU.net (Bernard
Steiner) writes:
|> In article <Bvt7nr.BxD@acsu.buffalo.edu>, jones@acsu.buffalo.edu (terry
|> a jones) writes:
|> > 
|> > 	I have checked through the FAQ and did not see this type of
|> > thing covered there.  I was hoping someone could outline the steps
|> > required to get DOS 5.0 and 386BSD to co-exist on the same drive
|> > without using the standard install procedure.  The setup works fine
|> > if you want to live with the partitioning scheme established by
|> > install.  I have not been able to manually disklabel a drive that
|> > already has a DOS partition, disklabel tends to wipe out the partition
|> info.
|> 
|> ... and vice-versa, I daresay. I fdisk'd a disk with 5.0 fdisk,
|> installed
|> 386BSD -> fdisk gone. INstalled DOS 5.0 on top -> 386bsd fdisk
|> partition
|> gone :-(
|> 

I had the same problem on the computer of a friend of mine. He wants to
have DOS
and BSD to live on the same disk. So we installed a DOS partition with
fdisk on
the fresh low-level formatted disk. Then we boot BSD with the dist.fs
floppy. We
told install only to created the BSD partition. We now boot from the
fixit.fs
floppy and edit the disklabel. As Bernard mentioned, at this point the DOS
partition has gone. I know knew the problem. The `install' program writes
the
disklabel at front of the whole disk and not at the start of the BSD
partition.
Edititing the disklabel with the fixit.fs floppy now edits the correct
place, the
start of the BSD partition.

When you install now the whole stuff you will see that BSD starts single user
since the disklabel taken during boot is not the one in the BSD partition.

There is a simple solution:
	fdisk /mbr
from DOS5.0.

This will fix the partition table. You may know install the rest of DOS and
BSD.

MfG
    Frank
--
  Frank Nobis                     fn@irb.informatik.uni-dortmund.de
  Univ. Dortmund, IRB             Tel. +49 231 755 2106
  Postfach 500500  
  D-4600 Dortmund