Subject: problems installing bootloader
To: None <port-sparc64@netbsd.org>
From: Miles Nordin <carton@Ivy.NET>
List: port-sparc64
Date: 05/12/2005 13:51:23
--pgp-sign-Multipart_Thu_May_12_13:51:23_2005-1
Content-Type: text/plain; charset=US-ASCII

I'm trying to install a bootblock on the SCSI disk at ID 1, and get
this:

Executing last command: boot /pci/pci@1/scsi@8/disk@1,0:a             
Boot device: /pci/pci@1/scsi@8/disk@1,0:a  File and args: 
NetBSD IEEE 1275 Bootblock
Invalid superblock magic

Could this be because I've newfs'd / as FFSv2 rather than FFSv1? 

or am I using installboot wrong?:

mount /dev/sd1a /mnt
mount -r /dev/sd1d /mnt/usr
cd /mnt
chroot /mnt /bin/ksh
cp usr/mdec/ofwboot .
sync
sync
installboot -v /dev/rsd1a usr/mdec/bootblk /ofwboot
^D
umount /mnt/usr
umount /mnt
reboot

I've tried binstall, installboot, both in single user and then tried
again with ofwboot already in place but the target filesystem
unmounted, and it's always the same error.

-- 
We are highly confident that once all the facts are presented in the
upcoming trial, no court will issue a ruling eliminating a consumers'
right to decide for themselves what is displayed on their own computer
screens.	-- Gator Chief Executive and President Jef McFadden

--pgp-sign-Multipart_Thu_May_12_13:51:23_2005-1
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (NetBSD)

iQCVAwUAQoOXm4nCBbTaW/4dAQLjHwP/RLYlX9DDRDYD2ytpSLkuZDfkwqo5xSt7
yHPKvVIMBNDBiRh04tyyHto23aYf87N/n3FK0Ncs/8lQgQZFV9FuD+fH35g3WP4g
sJh/i89jtg615GILJw6jo0F7nYsbkIpLCio0GdvYKtVXPssBTNdycrqWzMbC7ZuY
VW3ZPflZFvw=
=fQgB
-----END PGP SIGNATURE-----

--pgp-sign-Multipart_Thu_May_12_13:51:23_2005-1--