Subject: Re: Installing -current on Ultra 5 via miniroot (Was: X on Ultra5
To: Amadeus Stevenson <amadeus.stevenson@gmail.com>
From: Eduardo Horvath <eeh@netbsd.org>
List: port-sparc64
Date: 04/14/2006 16:43:45
On Fri, 14 Apr 2006, Amadeus Stevenson wrote:

> Ok my bad. I was booting from /dev/wd0b, then changing the partition
> size od wd0b during install.
          ^^^^

> 
> I set up partitions before booting -current sysinstall and, without
> altering the disklabel, everything is fine until.... installing the
> bootloader.
> 
> Right after all the sets have been fetched and extracted, when
> installing the bootloader:
> 
> ... /dev/rwd0a is of unknown file type (paraphrased).
           ^^^^^
> 
> So thanks to Eduardo's earlier reply I tried:
> 
> dd if=bootblk of=/dev/wd0a bs=512 count=15 conv=notrunc seek=1
> 
> but
> 
> dd -> conv option disabled.
> 
> I tried anyway without conv=notruct , but on trying to boot from
> 
> ok>
> 
> get "file loaded is not executable" or the normal message when there
> isn't a bootblock.
> 
> What have I done wrong? I don't have access to cdburning nor do I have
> an nfs server (so netbooting is unavailable).

Which are you trying to boot from, wd0a or wd0b?  The bootblock needs to 
be installed in the same partition you're trying to boot from.

If you want to debug your setup you can use the load command and then dump 
load-base to see what gets read off the disk.

Eduardo