From owner-freebsd-questions Wed Feb 4 10:46:42 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA10776 for questions-outgoing; Wed, 4 Feb 1998 10:46:42 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from gdi.uoregon.edu (gdi.uoregon.edu [128.223.170.30]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA10532 for ; Wed, 4 Feb 1998 10:45:48 -0800 (PST) (envelope-from dwhite@gdi.uoregon.edu) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.7/8.8.8) with SMTP id KAA15614; Wed, 4 Feb 1998 10:44:27 -0800 (PST) (envelope-from dwhite@gdi.uoregon.edu) Date: Wed, 4 Feb 1998 10:44:27 -0800 (PST) From: Doug White Reply-To: Doug White To: Donald Burr cc: FreeBSD Questions Subject: Re: Help! Accidentally LILO'd boot disk - how to get boot: prompt back? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG X-To-Unsubscribe: mail to majordomo@FreeBSD.org "unsubscribe questions" On Tue, 3 Feb 1998, Donald Burr wrote: > 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. Dedicated disks use the disklabel as the boot sector; you're lucky you didn't hose the disklabel in the process! LILO loads into the boot sector assuming there's a partition table and probably barfs when it tries to load a disklabel as a partition table. :) To fix: disklabel -b -B wd0 Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major