*BSD News Article 71357


Return to BSD News archive

Newsgroups: comp.unix.bsd.freebsd.misc
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!news.seinf.abb.se!nooft.abb.no!Norway.EU.net!nntp.uio.no!news.cais.net!newsfeed.internetmci.com!docws001!ottnews!tomqnx.tomqnx.com!tom
From: Tom Torrance at home <tom@tomqnx.com>
Subject: Re: How to access CDROM on existing system??
In-Reply-To: <4q408i$eca@tzlink.j51.com>
X-Nntp-Posting-Host: 159.249.8.221
Content-Type: TEXT/PLAIN; charset=US-ASCII
Message-ID: <Pine.NEB.3.93.960617202801.499F-100000@tomqnx.tomqnx.com>
Sender: usenet@ottnews.shl.com (News Administrator)
Organization: SHL Systemhouse Inc. (Ottawa)
References: <4q408i$eca@tzlink.j51.com>
Mime-Version: 1.0
Date: Tue, 18 Jun 1996 00:45:52 GMT
Lines: 40

On Mon, 17 Jun 1996, k wrote:

> I installed Freebsd from floppies originally, but now I'd like to add
> some software via the cdrom. The cdrom itself should be compatible but
> is obviously not being set up in the kernel. How do Install it?
> 
> Thanks
> 
> Ken

mkdir /cdrom
mount -t cd9660 -o ro /dev/your_device /cdrom
(To extract packages)
su root
cd /cdrom/packages
/sbin/pkg_manage
(to save the room taken by all the source tree- use CD-ROM #2)
rm -rf /usr/src
/usr/X11R6/bin/lndir /cdrom/usr/src /usr/src
cd /usr/src
make world

etc.

A HACK to access the CD-ROM using the fixit floppy (where the support
sucks).
mkdir /sbin
ln -s /mnt2/stand/mount_cd9660 /sbin/mount_cd9660
ln -s /mnt2/stand/mount_cd9660 /sbin/mount_mount_cd9660
mount -t mount_cd9660 -o ro /dev/your_device /mnt2/mnt1

Follow the above exactly until they fix the fixit floppy.  Similar
gyrations would be required for NFS, etc.

Have fun!
--
tom@tomqnx.com  Tom Torrance
27 Dayton Cr., Nepean Ont., Canada   K2H 7N8
My opinions are personal, and not those of my employer.