Return to BSD News archive
Newsgroups: comp.unix.bsd.freebsd.misc Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!nntp.coast.net!lll-winken.llnl.gov!enews.sgi.com!news.mathworks.com!newsfeed.internetmci.com!newsxfer2.itd.umich.edu!netnews.worldnet.att.net!ix.netcom.com!netcom.com!kientzle From: kientzle@netcom.com Subject: Re: Adding a second hard drive -- file system layout advice? Message-ID: <kientzleDvzH6E.7BM@netcom.com> Organization: NETCOM On-line Communication Services (408 261-4700 guest) References: <4udqaa$ckm@uuneo.neosoft.com> Date: Sun, 11 Aug 1996 17:13:25 GMT Lines: 25 Sender: kientzle@netcom20.netcom.com In article <4udqaa$ckm@uuneo.neosoft.com>, Conrad Sabatier <conrads@neosoft.com> wrote: >Ideally, I'd like to dedicate the entire new drive to FreeBSD, and move >all my existing FreeBSD stuff to the new (3.2 gig!) drive (which will be >slaved on wdc0 as wd1), but I'm not sure if it will be possible to >automatically boot into this. I recently added a new 2gig drive and moved my entire FreeBSD system to this second drive, leaving the first drive for other uses. In my case, the first drive is IDE, the second SCSI, so my situation isn't identical, but the same ideas should apply: The first part is to get a selective boot program installed that understands multiple disks. Last I checked, the default FreeBSD setup doesn't handle this. However, OS-BS 2.0 (beta version is on the 2.1R CD-ROM) does handle this quite nicely. The second trick is the FreeBSD bootblocks. Once the selective boot program gets you to the `Boot:' prompt, you may find you have to manually specify the drive to boot. If you do need to manually specify the drive, you'll want to recompile the bootblocks with a different default. Study `man disklabel' and /usr/src/sys/i386/boot/biosboot for details on modifying and replacing the bootblocks.