*BSD News Article 53433


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!yarrina.connect.com.au!classic.iinet.com.au!swing.iinet.net.au!news.uoregon.edu!usenet.eel.ufl.edu!newsfeed.internetmci.com!info.ucla.edu!library.ucla.edu!agate!tfs.com!mailhub.tfs.com!julian
From: julian@mailhub.tfs.com (Julian Elischer)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: How to recover BSD Boot Manager
Date: 21 Oct 1995 09:43:31 GMT
Organization: TRW Financial Systems, Oakland, CA
Lines: 30
Message-ID: <46afc3$1ho@times.tfs.com>
References: <45vunn$77p@bilbo.nask.org.pl> <f92fccdc&m0t5B29-00070DN@glas.apc.org> <462c7v$hg7@Germany.EU.net>
NNTP-Posting-Host: mailhub.tfs.com

In article <462c7v$hg7@Germany.EU.net>,
Bernard Steiner <bs@Germany.EU.net> wrote:
>Well - I have an easier problem: I have 2.0.5R up and running with / on wd0s2a
>and I'd like to get / onto sd0s2a. I hae some sort of boot manager somewhere
>on wd0 that is toggled by F1...F5 and F5 claims it is going to select the
>second drive (i.e. sd0). Unfortunately, that doesn't do the trick and the
>system just hangs. Now, booting wd0s2a/kernel -r ("root on sd0") will do the
>desired thing, and also (at wd0s2 boot prompt) booting hd(1,a)/kernel works.

>Is there any way I can set up the sd0 such that by simple keystrokes on
>F1...F5 I can select which disk to boot off ?
>BTW I'd be perfectly happy to give all of sd0 to FreeBSD if that helps.

You need to recompile the bootblocks
(/sys/i386/boot/biosboot I think) with the option BOOT_HD defined (for boot.c)
and then install that boot block in the second drive (using disklabel -B)

(Take a backup first :)


julian
+----------------------------------+       ______ _  __
|   __--_|\  Julian Elischer       |       \     U \/ / On assignment
|  /       \ julian@tfs.com        +------>x   USA    \ in a very strange
| (   OZ    ) 300 lakeside Dr. oakland CA. \___   ___ | country !
+- X_.---._/  USA+(510) 645-3137(wk)           \_/   \\            
          v