Rescue software RAID system

teddy teddymills-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org
Tue Jan 21 06:56:21 UTC 2014


I agree.
Try and get grub installed onto the working drive
without messing up the partitioning.

I would copy out the data first or work from a mirror
of the working drive first.

Teddy


Bill Thanis wrote:
> Check grub2-install
>
> You are probably looking for the --target or --directory
>   options.
>
> Bill
>
>
>
> On Mon, Jan 20, 2014 at 9:17 PM, William Muriithi
> <william.muriithi-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org <mailto:william.muriithi-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org>> wrote:
>
>     Evening,
>
>     I am curious if someone has gone through this, I have a centos 6
>     system with the operating system running on RAID 1 (software based).
>
>     Sometimes over weekend, one of the drive failed. That exposed a
>     mistake I did when setting up the RAID. It looks like grub is
>     pointed to one of the disk, which unfortunately happen to be the
>     broken one.
>
>     I have tried a bit of things that don't seem to work. My biggest
>     hope was to repoint grub from hd0 to hd1. I did that from the grub
>     prompt and didn't work. Seem to still be poking the dead drive
>     instead of the good pair.
>
>     So I booted from a rescue CD, used mdadmin to start RAID device,
>     mounted the device and tried to chroot into the mount directory and
>     don't work, don't seem to have chroot binary in my rescue environment.
>
>     Will give it another try tomorrow but can someone see a problem with
>     this approach?  Or rather, how did you guys approach it?
>
>     Any advice would be highly appreciated.
>
>     Regards,
>     William
>
>
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list