Subject: Re: Installation Problem
To: Shunsuke Masuda <mi-nami@mahoroba.or.jp>
From: Colin Wood <cwood@ichips.intel.com>
List: port-mac68k
Date: 01/09/1998 10:40:34
Shunsuke Masuda wrote:
>
> In Mkfs,I met an "unallocated" warning only when formatting "/home"
> partiton which is at the bottom of the HDD.
That's a fairly harmless error, I got it on all of my partitions...it just
means that you could've sized your partitions a little better.
> Because "SCSIRead()" error occurred when I used installer,
> I planned to install from an internal HDD on which
> NetBSD-1.3BETA is already installed.
Well, if you up the memory for the Installer, it might go away, but
installing from within NetBSD works a _lot_ faster, so that's the way I'd
recommend going, anyway.
> Mounting external HDD(sd0),"df -k" shows strange values:
> # df -k
> Filesystem 1K-blocks Used Avail Capacity Mounted on
> /dev/sd2a 1074436 846725 120267 88% /
> kernfs 1 1 0 100% /kern
> procfs 4 4 0 100% /proc
> mfs:125 31631 21 30028 0% /tmp
> /dev/sd0a 193246 154533 19388 89% /mnt
> /dev/sd0g 338189 193426 110944 64% /mnt/var
> /dev/sd0d 628092 338198 227084 60% /mnt/var/spool/news
> /dev/sd0e 1304553 668780 505317 57% /mnt/usr
> /dev/sd0f 2041830 1304562 533085 71% /mnt/home
Yeah, I think that we have some problems with our partition size
calculations. I get weird ones myself....btw, how do you get an mfs that
size? Anyway, I've looked at the code in df and in the kernel and got
rather bogged down. I keep meaning to file a PR on this one...
> # ls -lAR /mnt/home
> total 8
> drwxr-xr-x 2 root wheel 8192 Dec 4 1931 lost+found
>
> /mnt/home/lost+found:
> #
Ok, that's definitely a little weird. Have you run fsck?
> Anyway, I installed files like this:
> # cd /mnt
> # tar -zxvpf $(dir)/base.tgz
> ...
That's fine.
> After booting from the external HDD in "single user mode",
> I wanted to vi /etc/rc.conf:
> # mount /
> # mount /var
> # mount /usr
> # vi /etc/rc.conf
> ex/vi Error: unknown : No such file or directory
Have you read the INSTALL doc? You need to do:
export TERM=vt100
first. The error message you're seeing is vi's rather cryptic way of
telling you that it can't figure out the terminal type.
> Would you please tell me what I should do?
Please let us know if the above doesn't work for you.
Later.
--
Colin Wood cwood@ichips.intel.com
Component Design Engineer - MD6 Intel Corporation
-----------------------------------------------------------------
I speak only on my own behalf, not for my employer.