NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: installing bootblocks on a new drive



On Mon, Feb 23, 2009 at 07:43:53PM +0100, Petar Bogdanovic wrote:
> On Mon, Feb 23, 2009 at 03:53:20PM +0000, Milos Negovanovic wrote:
> > On Mon, Feb 23, 2009 at 03:51:42PM +0100, Petar Bogdanovic wrote:
> > > On Mon, Feb 23, 2009 at 03:42:58PM +0100, Petar Bogdanovic wrote:
> > > > On Mon, Feb 23, 2009 at 11:50:21AM +0000, Milos Negovanovic wrote:
> > > > > 
> > > > > After replacing a failed drive in RAID1 array I am trying to install
> > > > > bootblocks on a new disk via:
> > > > > 
> > > > > /usr/sbin/installboot -o timeout=5 -v /dev/rwd0a 
> > > > > /usr/mdec/bootxx_ffsv2
>                                                                           
> ^^^^^
> ffsv2, right? Not ffsv1?
'dumpfs /' shows ffsv2

> 
> 
> 
> Why don't you just copy the first few MBs from the bootable disk onto
> the new replacement, reboot the machine and rebuild the set? That will
> give you the same mbr/disklabel setup on both disks and you could then
> retry booting from the new disk.
Ive marked component on new drive as failed via raidctl and issued this
command:

# dd if=/dev/rwd1d of=/dev/rwd0d

for ~10s. I am waiting for raidframe reconstruction to finish ATM, after
which ill reboot and test booting from new drive.

Regards
-- 
Milos Negovanovic
milos.negovanovic%googlemail.com@localhost


Home | Main Index | Thread Index | Old Index