From owner-freebsd-questions  Tue Feb  3 00:59:41 1998
Return-Path: <owner-freebsd-questions@FreeBSD.ORG>
Received: (from majordom@localhost)
          by hub.freebsd.org (8.8.8/8.8.8) id AAA21781
          for questions-outgoing; Tue, 3 Feb 1998 00:59:41 -0800 (PST)
          (envelope-from owner-freebsd-questions@FreeBSD.ORG)
Received: from colossus.dyn.ml.org (dburr@206-18-112-208.la.inreach.net [206.18.112.208])
          by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA21769
          for <freebsd-questions@freebsd.org>; Tue, 3 Feb 1998 00:59:35 -0800 (PST)
          (envelope-from dburr@colossus.dyn.ml.org)
Received: (from dburr@localhost)
	by colossus.dyn.ml.org (8.8.7/8.8.7) id BAA00685
	for freebsd-questions@freebsd.org; Tue, 3 Feb 1998 01:00:59 -0800 (PST)
	(envelope-from dburr)
Message-ID: <XFMail.980203010057.dburr@POBoxes.com>
X-Mailer: XFMail 1.1 [p0] on FreeBSD
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
MIME-Version: 1.0
Date: Tue, 03 Feb 1998 00:55:31 -0800 (PST)
Organization: Starfleet Command
From: Donald Burr <dburr@POBoxes.com>
To: FreeBSD Questions <freebsd-questions@FreeBSD.ORG>
Subject: Help! Accidentally LILO'd boot disk - how to get boot: prompt back?
Sender: owner-freebsd-questions@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.ORG
X-To-Unsubscribe: mail to majordomo@FreeBSD.org "unsubscribe questions"

-----BEGIN PGP SIGNED MESSAGE-----

I have to reinstall Linux to finish a project that requires it.  Since I
have a spare SCSI disk in my machine (that isn't being used by anything), I
thought this would be an easy task.  Boy was I wrong!

It seems that LILO has accidentally overwritten the boot sector on my
FreeBSD disk!  Now when I boot, I don't get my nice "boot:" prompt, in
stead I get "LI" -- yes, to add insult to injury, LILO doesn't even work
properly!

My FreeBSD partition is, thankfully, intact.  I was able to boot into it
by grabbing my 2.2.5 boot floppy and entering "0:wd(0,a)kernel" at the boot
prompt.  All filesystems fsck'd and mount'd okay.

But I'd like to get the FreeBSD boot loader back onto my IDE disk, where
it belongs!  But I don't know how to do this.

My root disk is a **DANGEROUSLY DEDICATED** 3.2 GB Maxtor (DiamondMax)
drive.  Naturally, FreeBSD is the only OS that is occupying it.  This is
drive 0 on the primary IDE controller (wd0).  My system also has a Seagate
1.0 GB drive as master on the secondary IDE (wd2) [Win95 is installed on
this beast].  And I have a old Conner 500 MB SCSI disk on my SCSI bus
(Adaptec AHA-2940AU) (sd0).

Can anyone help?  Please respond by email if possible.  Thanks!

 as master on the secondary IDE (wd2) [Win95 is installed on
this beast].  And I have a old Conner 500 MB SCSI disk on my SCSI bus
(Adaptec AHA-2940AU) (sd0).

Can anyone help?  Please respond by email if possible.  Thanks!

- ---
Donald Burr <dburr@POBoxes.com> - Ask me for my PGP key | PGP: Your
WWW HomePage: http://DonaldBurr.base.org/  ICQ #1347455 | right to
Address: P.O. Box 91212, Santa Barbara, CA 93190-1212   | 'Net privacy.
Phone: (805) 957-9666    FAX: (800) 492-5954            | USE IT.

-----BEGIN PGP SIGNATURE-----
Version: 2.6.2

iQCVAwUBNNbcyfjpixuAwagxAQHyKgP/TErqpBIgMOFXCFkOnbc2eFwk9SYOiwsR
MnqAZ+7gQcC4eSvjw46xUxzRjCN5XlW18yfdy6iMMLVJWXhDY2QV1Z5beaS6ki2S
DSFsczubqaP1KCLPqRspaxGEs8pAm4QXxnbiOkwABMVTa4LAKESp0lW5El4bA9Kt
Q7+gbAFUm68=
=UnbW
-----END PGP SIGNATURE-----