Subject: port-shark/35576: sysinst bugs on shark
To: None <port-shark-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: None <dmcmahill@NetBSD.org>
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
>Organization:
NetBSD
>Environment:
	
	
>Description:

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.  

	
>How-To-Repeat:

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.

	
>Fix:

make sysinst run

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

after the installation is complete.  See for example
http://www.netbsd.org/Ports/shark/faq.html#gen_shark_disk_boot

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:

\begin{quote}

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

\end{quote}

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

	

>Unformatted: