*BSD News Article 53483


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msunews!uwm.edu!chi-news.cic.net!newsfeed.internetmci.com!EU.net!Germany.EU.net!zib-berlin.de!irz401!uriah.heep!not-for-mail
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: FreeBSD booting, >1024 cyls, and boot disk
Date: 21 Oct 1995 12:24:53 +0100
Organization: Private FreeBSD site, Dresden.
Lines: 27
Message-ID: <46ala5$gh4@uriah.heep.sax.de>
References: <4650fe$ifg@NNTP.MsState.Edu>
NNTP-Posting-Host: uriah.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit

David Simmons <simmons@aris.com> wrote:
>After recompiling the kernel on a FreeBSD box, the machine refuses to
>boot up -- it doesn't even give the Boot: prompt to select a kernel.
>I am able to use an installation boot disk to get a Boot: prompt, and
>select the kernel on the disk, and boot successfully.

You've hosed your bootblocks.  The kernel is okay.

>I assume that the 'disklabel' program is roughly equivalent to the
>SunOS 'installboot' program as far as committing the boot files to
>be the boot blocks.  I tried a 'disklabel -B wd0' with no luck.

disklabel -B -r wd0

would work if you are using a non-sliced disk (i.e., FreeBSD owns the
entire disk).  I'm not quite sure, it should also work for a sliced
disk, to be sure, use

disklabel -B -r wd0sX

with X being the "slice" number (fdisk table slot #, starting at 1) of
your FreeBSD boot slice.
-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)