Subject: Installation Problem
To: None <port-mac68k@NetBSD.ORG>
From: Shunsuke Masuda <mi-nami@mahoroba.or.jp>
List: port-mac68k
Date: 01/10/1998 02:02:46
Hello,
I have got a 2GB external HDD for NetBSD-1.3RELEASE and
tried to install on it but I haven't been able to.
With "Apple HD SC Setup(A/UX)",I set up partitions like
following:
swap = about 150MB
/ = about 50MB
/var = about 150MB
/var/spool/news = about 300MB
/usr = about 600MB
/home = rest of above.
In Mkfs,I met an "unallocated" warning only when formatting "/home"
partiton which is at the bottom of the HDD.
Because "SCSIRead()" error occurred when I used installer,
I planned to install from an internal HDD on which
NetBSD-1.3BETA is already installed.
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
# ls -lAR /mnt/home
total 8
drwxr-xr-x 2 root wheel 8192 Dec 4 1931 lost+found
/mnt/home/lost+found:
#
Anyway, I installed files like this:
# cd /mnt
# tar -zxvpf $(dir)/base.tgz
...
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
"Dmesg" of 1.3BETA on the internal HDD says:
NetBSD 1.3_BETA (ASURA04) #0: Tue Dec 23 01:49:38 PST 1997
quadra@asuka:/home/quadra/work/sys/arch/mac68k/compile/ASURA04
Apple Macintosh Quadra 800 (68040)
cpu: delay factor 400
real mem = 109051904
avail mem = 103444480
using 204 buffers containing 835584 bytes of memory
mrg: 'Quadra/Centris ROMs' ROM glue, tracing off, debug off, silent\
traps
mrg: I/O map kludge for ROMs that use hardware addresses directly.
......(snip).......
sd0 at scsibus0 targ 2 lun 0: <IBM, DORS-32160, WA6A> SCSI2 0/direct\
fixed
sd0: 2063MB, 6703 cyl, 5 head, 126 sec, 512 bytes/sect x 4226725\
sectors
cd0 at scsibus0 targ 3 lun 0: <SONY, CD-ROM CDU-8003A, 1.8f> SCSI2\
5/cdrom removable
sd1 at scsibus0 targ 4 lun 0: <EPSON, OMD-6020, 141C> SCSI2\
7/optical removable
sd1: drive offline
sd2 at scsibus0 targ 6 lun 0: <QUANTUM, FIREBALL1280S, 630G> SCSI2\
0/direct fixed
sd2: 1222MB, 4135 cyl, 4 head, 151 sec, 512 bytes/sect x 2503872\
sectors
Would you please tell me what I should do?
Shunsuke Masuda