Subject: Re: bootloader doesn't work from hd, works from cdrom
To: None <netbsd-help@netbsd.org>
From: Oscar Fuentes <ofv@wanadoo.es>
List: netbsd-help
Date: 01/17/2005 00:17:43
David Laight <david@l8s.co.uk> writes:

[snip]

>> OTOH, executing fdisk -B wd0 and choosing the third option ("Harddisk
>> 0", being "NetBSD" the second and "The first active partition" the
>> first) has this effect: the bootloader starts and prints the only
>> option:
>> 
>> 1: NetBSD
>> 
>> the timeout expires and the bootloader prints again 1: NetBSD. If I
>> press '1', NetBSD starts. How can I avoid having to press '1' for
>> starting NetBSD?
>
> The fact that the bootselect code works is odd - it uses the same
> algorithm as the non-bootselect code.
>
> It looks like you've configured the bootselect code to default to
> booting disk 0 - which just re-executes the same bootstrap code as the
> bios read in.
>
> 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.

Thanks again.

-- 
Oscar