Return to BSD News archive
#! rnews 2589 bsd Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mira.net.au!vic.news.telstra.net!act.news.telstra.net!psgrain!news.uoregon.edu!arclight.uoregon.edu!usenet.eel.ufl.edu!newsfeed.internetmci.com!news1.erols.com!uunet!in2.uu.net!news.mindspring.com!usenet From: Ron Bolin <rlb@mindspring.com> Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: Help Need to Fix boot sector Date: Sun, 28 Apr 1996 07:51:34 -0400 Organization: MindSpring Enterprises Lines: 41 Message-ID: <31835BC6.167EB0E7@mindspring.com> References: <31814F17.41C67EA6@mindspring.com> <31821B29.2781E494@mindspring.com> NNTP-Posting-Host: rlb.mindspring.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 2.01 (X11; I; FreeBSD 2.1.0-RELEASE i386) Ron Bolin wrote: > > Ron Bolin wrote: > > > > Help, > > > > Does anyone know how to restor the boot block to enable freebsd > > to boot off sd0. I have NT and FreeBSD 2.1R on one disk. I was > > using osbs to boot either OS. Somehow the NT diskadmin program > > made it only possible to boot NT. I can boot FreeBSD from sd0 > > by using the boot floppy and selecting sd(0,a)/kernel. How can > > I restore the master boot block to boot freeBSD without having > > to completely re-install FreeBSD? > > MORE: I tried bootinst.exe, that blew away the NT boot code, > and I still can't boot FBSD from sd0 unless I use the floppy. > > I also tried fdisk -u sd0, to force a bootinit. That did not work > either. I hope someone out there has a thought on how I can fix > the boot for sd0 other than a re-install. I tried disklabel -B sd0 also and disklabel -B -b boot1 -s boot2 [sd0|/dev/rds0c]. No luck still get No Operating System Found with OSBS or BTEASY from disk 0. > Followup: I found that even re-installing FBSD2.1R with NT NTFS installed on the first partition (0) would not make FBSD 2.1R boot from disk 0 without a floppy. I discovered that the tools must be DOS specific to the file system on part 0 since it was an NTFS. When I re-installed DOS on part 0, I could then install freebsd 2.1R on part 1 and boot both DOS and FBSD 2.1R using OSBS. So it seems that NTFS being on part 0 changes the way installing the master boot works. Any comments or further suggestions? **************************************************************************** Ron Bolin: rlb@mindspring.com gs01rlb@panther.gsu.edu * GSU CS Grad Student:http://www2.gsu.edu/~gs01rlb/ * Home: 770-992-8877 Work: 770-263-2273 ****************************************************************************