From owner-freebsd-questions@FreeBSD.ORG Thu Jan 8 13:12:59 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3B99016A4CE for ; Thu, 8 Jan 2004 13:12:59 -0800 (PST) Received: from catseye.mine.nu (d207-81-17-215.bchsia.telus.net [207.81.17.215]) by mx1.FreeBSD.org (Postfix) with SMTP id EFF8E43D46 for ; Thu, 8 Jan 2004 13:12:57 -0800 (PST) (envelope-from catseye@catseye.mine.nu) Received: (qmail 66376 invoked by uid 1001); 8 Jan 2004 21:17:02 -0000 Date: Thu, 8 Jan 2004 13:17:02 -0800 From: Chris Pressey To: freebsd-questions@freebsd.org Message-Id: <20040108131702.56498858.cpressey@catseye.mine.nu> In-Reply-To: <002701c3d62a$b24a7360$0201a8c0@sacawhac> References: <002701c3d62a$b24a7360$0201a8c0@sacawhac> Organization: Cat's Eye Technologies X-Mailer: Sylpheed version 0.9.8a (GTK+ 1.2.10; i386-portbld-freebsd4.9) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Problems adding a second hard drive X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jan 2004 21:12:59 -0000 On Thu, 8 Jan 2004 21:02:01 -0000 "Keith McKay" wrote: > Hi all > > I had installed FreeBSD 4.7 on an old pentium I 100MHz with 128Meg RAM > and a 2Gig Hard drive. It worked, albeit a little slow but perfectly > usable for experimenting with and learningFreeBSD, and surfing the > net. I got a 3.1Gig hard drive and thought I'd add it to the FreBSD > box and since 4.9 had just been released I'd start from scratch and > install that as well. > > It took me a little time to figure how to do this but I managed (or so > I thought) to install FreeBSD. However although I can see both drives > during the installation if I do a df all that is displayed is ad0s > with no information on ad2s. Also I cannot install any more programms > since it says/usr is full. I'm begining to wonder if the ad2s drive > is being used at all. When I installed FreeBSD I used the auto > defaults for both drives. Was this the right thing to do? Any hints > or tips would be usefull. > > Thanks > Keith McKay Hi Keith, Did you choose to install the BootMgr when you installed 4.7 and/or 4.9? If you did, you should get an option to select which drive to boot from, when the computer boots up. If not, you can add one after installation with the program 'boot0cfg'. It's probably best to make sure to add it to both drives :) If all you want to do is access the contents of your second (4.9) drive when you're booted into 4.7 (or vice versa) you have to create mount points and mount the partitions of your other drive somewhere in your file system. The easiest way to do this is probably to use 'mkdir' to create a directory for the mount point, edit the file '/etc/fstab' and add the device name and the mount point, then use 'mount '. (And unless you specify 'noauto' in /etc/fstab, it will automatically be mounted each time you reboot, as well.) See the respective man pages for all of these for more information. -Chris