Subject: Re: boot block
To: Michael Grunditz <michael.grunditz@telia.com>
From: David Laight <david@l8s.co.uk>
List: port-amd64
Date: 09/18/2006 21:15:22
On Mon, Sep 18, 2006 at 08:23:47PM +0200, Michael Grunditz wrote:
> Hi
> 
> Is there anyway to restore netbsds bootblock from a installation cd ?
> sigh , my windows installation did overwrite it.

There are many ways...
Probably the easiest is to start booting the install cd, then press the
space bar during the 10 second countdown.
You are then given a prompt and typing 'boot hd0a:' should boot you into
netbsd.
From there it is (probbaly) 'just' a matter of running netbsd's fdisk
to re-install the mbr_bootsel code.

It might be worth checking that your windows install has written
something sensible to the start of its mbr partition before overwriting
sector 0.

Certainly saving it in a file might be useful.

	David

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