View previous topic :: View next topic |
Author |
Message |
Dippmopser Tux's lil' helper
Joined: 22 Jun 2013 Posts: 92
|
Posted: Fri Nov 22, 2013 1:45 am Post subject: grub2 install fails |
|
|
Hello,
I installed an opensuse, as well as an ubuntu alongside gentoo.
In opensuse I had the option not to install a bootloader. So after the installation was finished, I booted into gentoo and ran:
Code: |
grub2-mkconfig -o /boo/grub/grub.cfg
(all OSes showed up correctly)
grub2-install /dev/sda
|
Thereafter I installed ubuntu, that overwrote grub. So I booted again into gentoo and for some reason Gnome failed to start. So I logged in via terminal and ran the same instructions again.
Code: |
grub2-mkconfig -o /boo/grub/grub.cfg
(all OSes showed up correctly)
grub2-install /dev/sda
(Here the following appears)
/usr/lib/grub/x86_64-efi doesn´t exist. Please specify --target or --directory
|
Why is that and what must be done to fix this? |
|
Back to top |
|
|
srs5694 Guru
Joined: 08 Mar 2004 Posts: 434 Location: Woonsocket, RI
|
Posted: Fri Nov 22, 2013 3:04 am Post subject: |
|
|
It looks like you've got a mixture of BIOS and EFI-mode GRUB. I have no idea why that should have changed within Gentoo, although I suppose it's conceivable that the GRUB scripts are trying to pluck files from both distributions' installations.
Could you elaborate on how you've installed everything? In particular, does your disk use GPT or MBR partitions, and in what mode what each distribution installed (EFI vs. BIOS)? Note that the latter is not obvious -- it's far too easy to install in BIOS mode when you meant to do it in EFI mode or vice-versa. Also, posting the output of "parted /dev/sda print" (and so on for additional disks, if present) may be helpful. |
|
Back to top |
|
|
ulenrich Veteran
Joined: 10 Oct 2010 Posts: 1480
|
Posted: Fri Nov 22, 2013 10:08 am Post subject: |
|
|
I /boo you:
Code: | grub2-mkconfig -o /boo/grub/grub.cfg |
/boot
!
If you have a running ubuntu grub, that is enough for all of your linux installations! I prefer Debian/ubuntu grub2, there is the maintainer, which is the most active upstream grub2 developer. And they provide a handy update-grub script. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|