Subject: Re: How to redo the bootable sector
To: iware <dkwok@iware.com.au>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: port-i386
Date: 02/13/2002 10:59:18
On Wed, Feb 13, 2002 at 07:48:10AM +1100, iware wrote:
> I have install NetBSD-1.5.2 on a Pentium machine.
> 
> However after the reboot, the machine could not find the boot sector. When
> doing the fdisk to the HDD, I specified from CHS 0,0,1 to the end of the HDD
> in partition 3. The disklabel sd0a starts from sector 63.

Also make sure your disk geometry really matches what's the BIOS use.
What scsi adapter do you use ?

You may need to reinstall a MBR boot code; try 'fdisk -i'.
 
> 
> I tried to use a boot disk to boot up the machine and inspected the sd0 by
> using fdisk and disklabel. I also did /usr/mdec/installboot
> /usr/mdec/biosboot sd0a,  it said the device is busy.

/usr/mdec/installboot /usr/mdec/biosboot /dev/rsd0a
you need to use the character device.

--
Manuel Bouyer, LIP6, Universite Paris VI.           Manuel.Bouyer@lip6.fr
--