Subject: Re: bootloader doesn't work from hd, works from cdrom
To: Oscar Fuentes <ofv@wanadoo.es>
From: David Laight <david@l8s.co.uk>
List: netbsd-help
Date: 01/17/2005 21:44:21
> > You can change the default with 'fdisk -B wb0', alternatively use
> > 'fdisk -c mbr' to re-instate the non-interactive bootcode.
> 
> This doesn't help. Choosing anything else than "Harddisk 0" on fdisk
> -B produces the "Error L" described on my original post.

Humm.... that shouldn't make much/any difference.

All that the answer to the "Select the default boot option." question
does is to change a single byte in the image that is the keycode value
used when the timer expires.  So if the timer doesn't expire (you press
a key) then it should make no difference.

It is slightly difficult to tell, but the error could be coming
from the code in sector 0 of the partition.  If that is the case,
then the error would still be the terse 'ERROR L' even if you are
using the 'mbr' code (ie not the interactive version).
In that case it is even less obvious why the  fdisk -B default boot
options would make a difference.

	David

-- 
David Laight: david@l8s.co.uk