Subject: port-shark/35576: sysinst bugs on shark
To: None <,,>
From: None <>
List: netbsd-bugs
Date: 02/08/2007 16:55:00
>Number:         35576
>Category:       port-shark
>Synopsis:       sysinst bugs on shark
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    port-shark-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Feb 08 16:55:00 +0000 2007
>Originator:     Dan McMahill
>Release:        NetBSD 4.0_BETA2

After running sysinst on a shark to install NetBSD to a hard drive, additional
manual steps are required to be able to boot from said hard drive.  


use sysinst to install on a shark.  In my case I netbooted an install kernel
and installed to hard drive.

after sysinst completes, try to boot from the hard drive and notice that
the the kernel can't be loaded.  In fact it looks like the kernel can't
even be found.


make sysinst run

dd if=/dev/zero of=/dev/wd0c bs=512 count=1

after the installation is complete.  See for example

It seems to me that sysinst is only useful for installing to a hard drive
and as such, you'll always need to do this.

The other thing which would be helpful is if sysinst also provided
the following message at the end of the install:


To configure your shark to boot from the hard drive, you will need to
run the following command at the "ok" prompt after sysinst shuts down:

setenv boot-device disk:\netbsd.aout


Note that this is slightly different (the ".aout" part) from what the
shark FAQ indicates.