mount /dev/sdb5 /mnt
grub2-install --boot-directory=/mnt/boot /dev/sdb
mount /dev/sda5 /mnt
grub2-install --boot-directory=/mnt/boot /dev/sda
grub2-mkconfig -o /boot/grub2/grub.cfg
skylion wrote:/dev/sda is another hdd that I use for backup in case anything breaks.
.
.
The grub2-install command didn't work.
gohlip wrote:....and I assume primary drive is your (current) sdb [not sda]
mount /dev/sdb5 /mnt
grub2-install --boot-directory=/mnt/boot /dev/sda
mount /dev/sda5 /mnt
grub2-install --boot-directory=/mnt/boot /dev/sdb
# mount /dev/sdb5 /mnt
# grub2-install --boot-directory=/mnt/boot /dev/sda
/usr/lib/grub directory doesn't exist
# grub2-install /dev/sda
# grub2-install /dev/sdb
su (no password prompt in live environment)
urpmi grub2
waferhead wrote:The problem is the version of grub2 actually installed on the live filesystem is broken/incomplete.
.
.
Once THAT is installed it all works as expected.
gohlip wrote:Perhaps Mageia install dvd does not come with grub2 package, which is possible based on your error message and Mageia being grub-legacy centric.
waferhead wrote:The LiveDVD has most of Grub2 in /boot, but is MIA in /usr, which is how you get the "fix" failures...
If it was missing entirely the issue would be more obvious.
I'm still hoping for a still dead simple, EFI-capable version of syslinux.
Users browsing this forum: No registered users and 1 guest