*BSD News Article 43053


Return to BSD News archive

Xref: sserve comp.os.386bsd.questions:16864 comp.os.386bsd.misc:5540
Newsgroups: comp.os.386bsd.questions,comp.os.386bsd.misc
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!bunyip.cc.uq.oz.au!munnari.oz.au!constellation!qns1.qns.com!news.sprintlink.net!cs.utexas.edu!swrinde!pipex!uknet!festival!edcogsci!richard
From: richard@cogsci.ed.ac.uk (Richard Tobin)
Subject: Re: Installation of a DOS application OVERWRITES the FreeBSD partition!!
Message-ID: <D4rMnJ.28H@cogsci.ed.ac.uk>
Organization: HCRC, University of Edinburgh
References: <3iqpsn$v5m@csgrad.cs.vt.edu>
Date: Wed, 1 Mar 1995 14:23:43 GMT
Lines: 20

In article <3iqpsn$v5m@csgrad.cs.vt.edu> chrisye@csgrad.cs.vt.edu (Chengyin Chris Ye) writes:
>	The Dos/Win application took 253M in total, so it overwrites
>3M disk space at the beginning of FreeBSD partition. 

>	Is there any way, I can get part of FreeBSD file system back without
>restart from scratch?

You probably can't recover the 'a' partition, but the rest is probably
intact.  If you boot from a floppy, and relabel the disk *exactly* as
it was before, you should be able to mount the other partitions.

>	For future note: how to prevent this kind of things happen again?

Most likely you had a 1Gb DOS filesystem, and used BSD fdisk to reduce
the DOS slice to 250Mb.  This leaves the DOS filesystem appearing (to
DOS) to be 1Gb.  You need to re-format the DOS partition (from DOS),
or instead of using fdisk use one of the DOS programs that reduces the
size of an existing partition while preserving its contents.

-- Richard