Re: RAID1 all bootable
- To: debian-user@lists.debian.org
- Cc: debian-amd64@lists.debian.org
- Subject: Re: RAID1 all bootable
- From: Alexandru Cardaniuc <cardaniuc@gmail.com>
- Date: Sun, 02 Jun 2013 13:10:37 -0700
- Message-id: <[🔎] 877gicjmte.fsf@gmail.com>
- In-reply-to: <20130305183052.GA13186@hysteria.proulx.com> (Bob Proulx's message of "Tue, 5 Mar 2013 11:30:52 -0700")
- References: <CAEv0nmu_deKcz7Fx9fYdNpUoAa9j3kkc+7zFkvF-Ss7b7P6w+A@mail.gmail.com> <20130301213542.GD20462@csclub.uwaterloo.ca> <CAEv0nmvC0+e47N6SavOwsRcTZxDn-7YPg0WN9j1cQukcz1LNsA@mail.gmail.com> <CAEv0nmtmHADi2E_Uk+wF+C0k9d1YGN3Tv91JSr4G2Ppp5_akpw@mail.gmail.com> <CAEs-OS+6AFAVtTguoYRhQY-xDwYPTAn+OyRGUbCxAMUXkg7=qg@mail.gmail.com> <CAEv0nmtuc4i2SwGDq_BGGE+-_ukS7ywXveg2xMyNyoynjXi3tw@mail.gmail.com> <CAEs-OSLtf160LuRXGqb5eaV6dr7-RYBZ16tiqZntP2+M8E+5wA@mail.gmail.com> <20130303212617.GC2505@hysteria.proulx.com> <CAEv0nmtqR23eEeiMn44P+dVzBk+fSLXEZD8Hgiu_zqfFp2eC+g@mail.gmail.com> <20130305183052.GA13186@hysteria.proulx.com>
Bob Proulx <bob@proulx.com> writes:
>> Nonetheless, I'll try to digest your "manual". At this point, could
>> you also describe how to safely proceed, on this situation, to have
>> grub on both disks? It would be useful community wide, to complete
>> the raid1 installation from the Debian installer.
>
> As was already mentioned:
>
> # grub-install /dev/sda # grub-install /dev/sdb
>
> Newer Debian installers will give the option to install to both disks
> but older ones do not.
I just did 2 reinstalls in the last two weeks (upgrade from sqeeze to
wheezy screwed up my grub config and then my 6 year old drives started
failing - so much fun :), but basically during both reinstalls and
creating MD devices with debian installer (md0/md1/md2) using two drives
sda/sdb, by default the installer just installed grub on MBR of the
first device sda. I didn't see an option to install it everywhere. So,
after reboot I did a manual
# grub-install /dev/sda
# grub-install /dev/sdb
Now when I choose to boot from either first disk or second disk, it
works fine.
Did I miss something during the debian installation? Why wasn't grub
automatically installed on both disks?
--
"We are usually convinced more easily by reasons we have found
ourselves than by those which have occurred to others."
- Blaise Pascal (1623-1662)
Reply to: