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

Re: RAID1 with multiple partitions



On Fri, Dec 10, 2010 at 5:57 PM, David Gaudine
<davidg@alcor.concordia.ca> wrote:
>>>
>>> 4) The first guide shows how to install Grub on both disks.  After that's
>>> done once, do I have to do it again whenever there's a new kernel package?
>>>  Or in any other situation that I have to watch out for?
>>
>> You only need to install grub on both disks once. After that, there is no
>> need to repeat that again unless you upgrade grub itself.
>
> Here I have a big problem.  The guide said to run grub and do
> root(hd0,0)
> setup(hd0)
> and repeat for the other disk.  I don't have an executable file "grub".
>  grub-pc is installed.  After a bit of reading I tried this:
>
> grub-install --root-directory=/boot /dev/sda
>
> grub-install --root-directory=/boot /dev/sdb
>
> Not a good idea.  Now the system boots into a Grub command prompt, but
> root(hd0,0)
> says "no such partition".  I tried other values besides zero, but always get
> "no such partition", "File system is unknown", or "Cannot get C/H/S Values".

grub-install /dev/sda
grub-install /dev/sdb

"--root-directory=/boot" will have installed grub in "/boot/boot/grub".


Reply to: