Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.mel.connect.com.au!news.mira.net.au!inquo!bofh.dot!in-news.erinet.com!imci5!imci4!newsfeed.internetmci.com!news.mathworks.com!fu-berlin.de!zib-berlin.de!irz401!uriah.heep!news From: j@uriah.heep.sax.de (J Wunsch) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: FreeBSD on second IDE drive Date: 21 May 1996 07:15:26 GMT Organization: Private BSD site, Dresden Lines: 39 Message-ID: <4nrqie$917@uriah.heep.sax.de> References: <slrn4q1m30.uu.bspring@j51.com> Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) NNTP-Posting-Host: localhost.heep.sax.de Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Newsreader: knews 0.9.6 X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E bspring@j51.com (Brian Springstead) wrote: > I'm looking to install FreeBSD on a machine, but it will > have to be on the second IDE drive (D: in DOS). Someone > told me that this isn't possible with FreeBSD. Is he > correct or incorrect? I checked the FAQ and didn't find > the answer. It should be there. Basically, you need to install the boot manger to both drives, since it will only be loaded from the first drive initially. > Also is there a way of making a floppy boot disk that will > automagicly boot to BSD without the user having to type > in anything. I know in Linux I can use "dd" to copy > the kernel to the disk. Does this work in FreeBSD? > Is there another way? It's not that simple. You could put a kernel onto a UFS floppy, but this one would try to mount / from the floppy (and barf about the missing /sbin/init). Even the bootblocks itself on the floppy would be sufficient, but you have to tweak them to default to the hard disk instead of the floppy. (They normally default to the device they've been loaded from.) The source for the bootblocks is in /sys/i386/boot/biosboot/. Do a ``make; make install'' there after modifying it, and then ``disklabel -Brw fd0 fd1200'' in order to write the new boot blocks to a floppy. For sanity, reverse your changes later (or make them #ifdef'ed), and do another ``make; make install'' in order to get the original bootblocks into /usr/share/mdec. -- 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. ;-)