help-grub
[Top][All Lists]
Advanced

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

Re: Help installing grub


From: Yan Seiner
Subject: Re: Help installing grub
Date: Thu, 31 May 2012 14:23:42 -0700 (PDT)
User-agent: SquirrelMail/1.4.15

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.....

I can run

 qemu -curses -hda /dev/sda

and it appears to boot correctly but it won't boot into the new root....


-- 
Q: How can you tell Spring is here in Oregon?
A: The rain is warmer.

My daughter is racing a triathlon to raise money for her swim team. 
Please donate and keep kids off the sofa!

http://www.facebook.com/RiverRoadKids4Kids




reply via email to

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