Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Jan 2004 13:17:02 -0800
From:      Chris Pressey <cpressey@catseye.mine.nu>
To:        freebsd-questions@freebsd.org
Subject:   Re: Problems adding a second hard drive
Message-ID:  <20040108131702.56498858.cpressey@catseye.mine.nu>
In-Reply-To: <002701c3d62a$b24a7360$0201a8c0@sacawhac>
References:  <002701c3d62a$b24a7360$0201a8c0@sacawhac>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 8 Jan 2004 21:02:01 -0000
"Keith McKay" <keith@clanmckay.co.uk> 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 <your-chosen-mountpoint>'.  (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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040108131702.56498858.cpressey>