Subject: Re: Installation "image" now ready for testing on RISC server 2200!
To: None <port-arc@netbsd.org>
From: bob meader <bob@cci.net>
List: port-arc
Date: 03/23/2001 15:42:42
I thought I might add some details on how to install to Risc server
2200.
First two different methods can be used:
1) automated menu install... this may or may not work
correctly...I built the syssinst by coping stuff from hpcmips..
this may not be best choice..
2)Manual mode ... always works I will detail..
Step 1. Get minimum software... either use arc.iso
or get arcinst.exe,base.tgz,etc.tgz.,install,kernel.tgz and
netbsd.eco.
Step 2. Select "run a program" from arc firmware,execute
"arcinst.ex".
a) Delete existing partitions, create 10/15 meg system
partition,leave rest drive 'empy'
Step 3. Select "run a program" from arc firmware, execute
"install"
Step 4. Press <return> when prompted for root and boot partions ie
accept defaults.
Step 5. select exit from menu install to goto "#" prompt ,ie command
line.
Step 6. fdisk -u <device>
a) default device is /dev/rsd0
b) Add a Netbsd partition sysid 169 after fat sysid 6 partition
spanning remainder
drive.
Step 7. disklabel -e /dev/rsd0
a) Add partions 'a' and 'b', offset for 'a' must start where fat
partition ends
see example of fdisk and disklabel .
Step 8 newfs /dev/sd0a
step 9. mkdir /cdrom
step 10. cd9660 /dev/cd0a /cdrom <= mounts cdrom
step 11. msdos /dev/sd0e /mnt2
step 12. mount /dev/sd0a /mnt
step 13. cp /cdrom/netbsd.eco /msdos/netbsd.eco
step 14. cp /cdrom/base.tgz /cdrom/etc.tgz /cdrom/kern.tgz /mnt
step 15 cd /mnt ; tar zxvf base.tgz ; tar zxvf etc.tgz ; tar xvf
kern.tgz
step 16 umount /cdrom ; umount /mnt ; umount /mnt2
step 17 reboot <= execute the command 'reboot'
You now have netbsd and a kernel installed!
Next configuration
a) Create an 'arc' menu item the osloader should be netbsd.eco
b) Run the menu selection
c) It will come up in single user mode and the root filesystem
will be mounted 'read only'.
d) umount /
e) mount /dev/sd0a / <= these two steps will remount root as
read/write.
f) goto /etc configure various parametes...
g) Exit from shell to goto use 'multiuser'
A trick to be aware of ...the kernel 'bootup' behavior can be changed
by setting the 'osload options' in arc menu configuration.
Valid flags are :
a autoboot ie goto multiuser mode
n ask for names ... default mode
N don't ask for names ( names refer to prompting of root and dump
partitions)
s use serial console
q boot quietly
v boot verbosely
==========Example output from fdisk and disklabel ==============
client# fdisk
NetBSD disklabel disk geometry:
cylinders: 1476 heads: 9 sectors/track: 62 (558 sectors/cylinder)
BIOS disk geometry:
cylinders: 1476 heads: 9 sectors/track: 62 (558 sectors/cylinder)
Partition table:
0: sysid 6 (Primary 'big' DOS, 16-bit FAT (> 32MB))
start 32, size 20448 (9 MB), flag 0x0
beg: cylinder 0, head 1, sector 1
end: cylinder 9, head 63, sector 32
1: sysid 169 (NetBSD)
start 20480, size 811040 (396 MB), flag 0x0
beg: cylinder 10, head 0, sector 1
end: cylinder 405, head 63, sector 32
2: <UNUSED>
3: <UNUSED>
clinet# disklabel -r /dev/rsd0
# /dev/rsd0d:
type: SCSI
disk: RZ25 (C) DE
label: fictitious
flags:
bytes/sector: 512
sectors/track: 62
tracks/cylinder: 9
sectors/cylinder: 558
cylinders: 1476
total sectors: 832527
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0 # microseconds
track-to-track seek: 0 # microseconds
drivedata: 0
8 partitions:
# size offset fstype [fsize bsize cpg]
a: 751040 20480 4.2BSD 1024 8192 16 # (Cyl. 36*-
1382*)
b: 60000 771530 swap # (Cyl. 1382*-
1490*)
c: 811040 20480 unused 0 0 # (Cyl. 36*-
1490*)
d: 832527 0 unused 0 0 # (Cyl. 0 -
1491*)
e: 20448 32 MSDOS # (Cyl. 0*-
36*)
f: 811040 20480 unused 0 0 # (Cyl. 36*-
1490*)