help-grub
[Top][All Lists]
Advanced

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

Re: Help installing grub


From: Jordan Uggla
Subject: Re: Help installing grub
Date: Thu, 31 May 2012 14:50:27 -0700

On Thu, May 31, 2012 at 2:23 PM, Yan Seiner <address@hidden> wrote:
>
> On Thu, May 31, 2012 12:35 pm, Jordan Uggla wrote:
>> On Wed, May 30, 2012 at 6:16 PM, Yan Seiner <address@hidden> wrote:
>>>
>>> The relevant parts of the system setup on the disk that I want to boot
>>> from:
>>>
>>> /etc/fstab:
>>> /dev/md0    /        ext4    errors=remount-ro 0    0
>>> /dev/md1    /boot        ext4    defaults    0    1
>>
>> If /dev/md1 is already mounted to /boot/ then you can just run
>> "grub-install /dev/sda && grub-install /dev/sdb".
>
> The system boots into /dev/sdb.  The fstab I provided is from /dev/md0
> which is on /dev/sda; I cannot get the system to boot into it as /dev/sda
> does not have a valid bootloader....
>
> I need to figure out how to install grub on /dev/sda, with instructions to
> look at /dev/md?, while booted from /dev/sdb.
>
> That's the crux.  I've tried chroot; installation fails because it can't
> read /dev/md0.....

Did you bind mount /dev/ /proc/ and /sys/ within the chroot?

-- 
Jordan Uggla (Jordan_U on irc.freenode.net)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]