Subject: Re: Help with" make && make install"
To: greg walsh <gwalsh@artec.com>
From: Bill Studenmund <wrstuden@nas.nasa.gov>
List: port-mac68k
Date: 05/21/1999 16:21:39
On Fri, 21 May 1999, greg walsh wrote:
> I installed the currnet "comp.tgz". (Downloaded from
> "mac68k/binary/sets/" ftp site on May 14th. ) Just to make sure, I
> installed it again using installer 1.1.
>
> Towards the end of the install, I happened to be watching the console's
> output and saw that it did indeed report unpacking "bsd.own.mk" into
> /usr/share/mk as well as a number of other files..
>
> When I booted and went to look, the only thing in that directory was
> "sys.mk". Whereis doesn't find it anywhere on the disk.
>
> I'm downloading comp.tgz again, just to see what's up.
Don't bother downloading again, that's not the problem.
You have a seperate usr partition, don't you?
I think the problem is that the installer does NOT mount all partitions
when it does things, so your comp.tgz contents are all sitting in the /usr
directory on your root fs. When your usr partition gets mounted, those
contents disapear.
Assuming you do have a seperate /usr partition, what you want to do is:
(note: DON'T do this if you don't have a seperate /usr partition!)
1) get comp.tgz into NetBSD. The first one you downloaded probably is
fine.
2) Boot single user.
3) fsck -f / - just to make sure the root partition is fine.
4) mount -u / - mounts root read-write
5) rm -rf /usr/* - note the "*" is important as you don't want to erase
the directory, just its contents.
6) mount /usr
7) tar xzf comp.tgz (xzvf maybe?) to install the comp set.
8) exit, booting multi-user.
Once again, don't do this if you don't have a seperate /usr partition!
Take care,
Bill