Return to BSD News archive
Newsgroups: comp.os.386bsd.questions Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!haven.umd.edu!uunet!pipex!bnr.co.uk!bnrgate!nott!torn!mcshub!flex.eng.mcmaster.ca!todd From: todd@flex.eng.mcmaster.ca (Todd Pfaff) Subject: problems coexisting with DOS on same disk Message-ID: <1993Mar26.173047.21747@mcshub.dcss.mcmaster.ca> Keywords: DOS partition Sender: usenet@mcshub.dcss.mcmaster.ca Nntp-Posting-Host: flex1.eng.mcmaster.ca Organization: McMaster University, Hamilton, Ontario, Canada Date: Fri, 26 Mar 1993 17:30:47 GMT Lines: 44 A couple of days ago I posted an article regarding the installation of DOS wiping out my installation of 386bsd on the same disk. Well, I've been hit again. This time I installed DOS first on the primary DOS partition and then installed 386bsd on several partitions over the rest of the disk. After installing 386bsd I booted from a DOS floppy, ran fdisk and made the DOS partition active. When I tried to boot DOS it failed, complaining that the drive was not a system disk. This is how I installed 386bsd: I allocated 100MB as the primary DOS partition and then formatted this partition and installed DOS. I then booted from a dist.fs.pk-0.2 floppy and ran install to get the default disklabel. Next, I booted from a fixit.fs.pk-0.2 floppy to modify the disklabel and create file systems. I cpio'ed the dist.fs filesystem to the root partition (wd0a) and unpacked the baseutils.cpio.Z file. I copied the /var tree to a /var partition (wd0d) and likewise for /usr (wd0e). I created an /etc/fstab to mount /, /usr, /var and swap on wd0b. When I modified the disk label, I didn't change the offset of the wd0a partition which install had created. I checked the offset to make sure it started after the 100MB DOS partition (100MB / 512 bytes/sector) and it was correct. I started all my partitions on cylinder boundaries (including swap) and I continued the last partition to the last cylinder. I've installed the 386bsd bin01 and src01 distributions plus patchkit 0.2.2. I've installed all patches below 10000 from patchkit 0.2.2, rebuilt my kernel and rebuilt the world with buildworld.sh. Everything in 386bsd seems to be running fine so I don't think I made any major errors in this installation process. What is happening in the installation of DOS and 386bsd which causes the other systems partition information to be corrupted? How can I now install DOS without screwing my 386bsd installation? -- Todd Pfaff \ Internet: todd@flex.eng.mcmaster.ca Dept. of Mechanical Engineering \ Voice: (416) 525-9140 x2902 McMaster University \ FAX: (416) 572-7944 Hamilton, Ontario, CANADA L8S 4L7 \