tech-userlevel archive

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

Re: installboot: Old BPB too big, use -f (may invalidate filesystem)



On Mon, Feb 14, 2022 at 07:25:37PM +0100, Edgar Fuß wrote:
> I have a RAIDframe level 1 RAID consisting of /dev/sd0e and /dev/sd1e.
> Now, sd0 failed. I replaced the disc, fdisk'ed and disklabel'ed it and 
> performed a raidctl -R, which succeeded. Now, I need to write the boot 
> code, so I can boot from the new disc. But installboot /dev/rsd0e 
> /usr/mdec/bootxx_ffsv1 gives me above error message.

You could just copy the blocks coming before the RAID partition
from the sane disk to the newer one, using dd.

-- 
Emmanuel Dreyfus
manu%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index