Subject: raided1 root / installboot drives me mad
To: None <port-alpha@netbsd.org>
From: sp4rc <sammyshome@gmx.net>
List: port-alpha
Date: 08/09/2005 02:36:21
Hello list,

i am getting mad trying to installing netbsd 2.0.2 using a raided1 root
on as1200. So far I came to point 16.3.9
(http://www.netbsd.org/guide/en/chap-rf.html#chap-rf-ex-raid1root)

the quide says to install the boot loader on sda1 using the following
command:

# /usr/sbin/installboot -v /dev/rsd1a /usr/mdec/bootblk

as i am installing on an alpha system and not sparc64, bootblk doesn't
exist, so i tried /usr/mdec/boot.

# installboot -v /dev/rsd1a /usr/mdec/boot
File system:         /dev/rsd1a
File system type:    raw (blocksize 8192, needswap 0)
Primary bootstrap:   /usr/mdec/boot
Bootstrap start sector:  1
Bootstrap sector count:  103
New boot block checksum: 0xf4f4a3e360232b13
Writing bootstrap
Writing boot block
installboot: Writing `/dev/rsd1a': Read-only file system
installboot: Set bootstrap operation failed  <-- aaarggh

but the bootstrap process always fails. Why does installboot complains
about a read-only file system? 
Althoug i don't understand why to take a instead of c, i tried using c
instead of a, which seemed to work

# installboot -v /dev/rsd1c /usr/mdec/boot
File system:         /dev/rsd1c
File system type:    raw (blocksize 8192, needswap 0)
Primary bootstrap:   /usr/mdec/boot
Bootstrap start sector:  1
Bootstrap sector count:  103
New boot block checksum: 0xf4f4a3e360232b13
Writing bootstrap
Writing boot block

after a "shutdown -h now" i entered "boot dka100" (which is my second
scsi hd) this is was happend. I don't understand whats going on here.

...
AlphaServer 1200 Console V6.0-4, 10-MAY-2001 10:11:42
CPU 0 booting
(boot dka100.1.0.1.1 -flags a)
device dka100.1.0.1.1 no longer valid
device dka100.1.0.1.1 no longer valid
device dka100.1.0.1.1 no longer valid
P00>>>^C

Any hints or help on this would be greatly appreciated... please not
another sleepless night...

greets 
	/sp4rc