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

Re: Replacing failed drive in software RAID



Hello,

Veljko a écrit :
> 
> I think it is BIOS boot ordering. I don't remember how I installed MBR. Is it
> even possible to have MBR on both sda and sdb?

Of course.

> I don't know either, but in case that boot sector is not copied, could I just
> copy first 446 bytes? It is the place where MBR is located, without touching
> partition table. So could something like this work:
> 
> dd if/dev/sdb of /dev/sda bs=446 count=1

I guess no. When installed in the MBR, grub usually installs another
part in the unallocated space between the MBR and the first partition.
Use grub-install (or install-grub, I never remember) instead.


Reply to: