Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.ysu.edu!usenet.ins.cwru.edu!agate!theos.com!riscan.riscan.com!n1van.istar!van-bc!unixg.ubc.ca!news.bc.net!arclight.uoregon.edu!dispatch.news.demon.net!demon!jraynard.demon.co.uk!not-for-mail From: james@jraynard.demon.co.uk (James Raynard) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: Puuting Boot Loader on wd0 for hd0 Date: 9 Jul 1996 17:57:29 -0000 Organization: A FreeBSD Box Lines: 37 Message-ID: <4ru6i9$1mf@jraynard.demon.co.uk> References: <31DE3A62.31DF@x509.com> <4rt6nh$f9b@slowmo.techfak.uni-kiel.de> NNTP-Posting-Host: localhost X-NNTP-Posting-Host: jraynard.demon.co.uk In article <4rt6nh$f9b@slowmo.techfak.uni-kiel.de>, Maciej Wiatr <maw@techfak.uni-kiel.d400.de> wrote: >In <31DE3A62.31DF@x509.com> Pat <patr@x509.com> writes: > >>I want to put a boot loader on wd0 (EIDE) to tell the machine >>to boot to hd(1,a) (scsi drive). > > >Hi, I have the same problem, but noone seems to bother about that... Two simple solutions:- 1. Boot off the install floppy and enter hd(1,a)/kernel at the prompt. 2. If the SCSI drive is bootable, disable the EIDE drive in the BIOS. (You will still be able to access it from FreeBSD). Less simple solution, which removes the need for fiddling around at boot time:- (Courtesy of Jens Schweikhardt) % cd /sys/i386/boot/biosboot % vi boot.c part = 0; unit = 1; <-- Change unit and major. With my hardware config maj = 1; <-- this boots from hd(1,a). Your numbers may vary. Play around. % make % disklabel -B -b boot1 -s boot2 sd0 # installs the bootstrap code on sd0 use fd0 instead of sd0 when you want to change the code on a boot floppy, so that the kernel is loaded from hd(1,a). -- James Raynard, Edinburgh, Scotland james@jraynard.demon.co.uk http://www.freebsd.org/~jraynard/