*BSD News Article 51535


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!news.kei.com!news.mathworks.com!newsfeed.internetmci.com!news.sprintlink.net!in2.uu.net!winternet.com!not-for-mail
From: kbrint@winternet.com (Kevin)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: How to reinstall FreeBSD bootmanager
Date: 19 Sep 1995 20:39:32 GMT
Organization: StarNet Communications, Inc
Lines: 20
Message-ID: <43n9q4$k6a@blackice.winternet.com>
References: <43lvk9$7lf@cd4680fs.rrze.uni-erlangen.de>
NNTP-Posting-Host: subzero.winternet.com
X-Newsreader: TIN [UNIX 1.3 950726BETA PL0]

Thomas Krebs (krebs@faps.uni-erlangen.de) wrote:

> Heeelp,
> I errounously (of course) deleted the FreeBSD bootmanager
> I tried to reinstall it whith something like:
> disklabel -B -s /usr/mdec/fbsdboot.exe /dev/rsd0
> but this didn't work.

# disklabel -B -b /usr/mdec/sdboot -s /usr/mdec/bootsd /dev/rsd0

If you can't even boot to get back to label it, just boot from the
installation floppy and go relabel the disk (note, you'll have to respecify
the mount points for the various partitions)..  Then write out the
changes.  Nothing will be lost if correctly done.

-kevin-

  kbrint@winternet.com
  http://www.winternet.com/~kbrint/
  winternet staff - email for info