On Thu, May 31, 2012 at 2:23 PM, Yan Seiner <[email protected]> wrote: > > On Thu, May 31, 2012 12:35 pm, Jordan Uggla wrote: >> On Wed, May 30, 2012 at 6:16 PM, Yan Seiner <[email protected]> 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) _______________________________________________ Help-grub mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-grub
