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

Re: RAID1 all bootable



On Fri, Mar 01, 2013 at 08:20:09PM +0100, Francesco Pietra wrote:
> Hi:
> With a raid1 amd64 wheezy, one of the two HDs got broken.
> Unfortunately, I had added grub to sda only, which is just the one
> broken. So that, when it is replaced with a fresh HD, the OS is not
> found. Inverting the SATA cables of course does not help (Operative
> System Not Found). In a previous similar circumstance, I was lucky
> that the broken HD was the one without gru.
> 
> Is any way to recover? perhaps through Knoppix? I know how to look
> into undamaged RAID1 with Knoppix.
> 
> Also, when making a fresh RAID1 from scratch, where to find a Debian
> description  of how to make both sda and sdb bootable? (which should
> be included by default, in my opinion)

You can boot the install disk in rescue mode, select the root partition
to chroot into, then run grub-install from there.

When grub asks where to install, you should configure it for both sda
and sdb.  I think 'dpkg-reconfigure grub-pc' is where that is selected.
Might need it to use -plow to asks all levels of questions.  Not sure.

-- 
Len Sorensen


Reply to: