Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Aug 2001 12:58:36 -0700 (PDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Kevin Oberman <oberman@es.net>
Cc:        stable@FreeBSD.org
Subject:   Re: Please test boot patch
Message-ID:  <XFMail.010813125836.jhb@FreeBSD.org>
In-Reply-To: <200108131919.f7DJJDR01258@ptavv.es.net>

next in thread | previous in thread | raw e-mail | index | archive | help

On 13-Aug-01 Kevin Oberman wrote:
>> Date: Mon, 13 Aug 2001 11:52:59 -0700 (PDT)
>> From: John Baldwin <jhb@FreeBSD.ORG>
>> Sender: owner-freebsd-stable@FreeBSD.ORG
>> 
>> If for some reason this doesn't work (it should work fine), then you will
>> want
>> to boot off of a floppy or CD, then do 'disklabel -B ad0' as root to restore
>> the old boot blocks.
> 
> John,
> 
> I tried but had a couple of problems. First, after the 'make all'
> there was no boot2 file in the /sys/boot/i386/boot2 directory. boot2.c
> was there along with bbot2.c.orig, but no output from the make all.

It's probably located in /usr/obj then, in which case you can do
'cd /usr/obj/usr/src/sys/boot/i386/boot2' and then run disklabel.

> Also, the suggestion to boot from CD if it fails is probably not a good
> one. :-)

If you have any of the CDROM's you can just boot up the loader, then stop the
countdown and load the kenrel from the hard drive and boot.  You can do the
same deal using a kern.flp floppy.

-- 

John Baldwin <jhb@FreeBSD.org> -- http://www.FreeBSD.org/~jhb/
PGP Key: http://www.baldwin.cx/~john/pgpkey.asc
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.010813125836.jhb>