all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* grub gpt bios boot
@ 2017-07-22  5:59 buen ouanq
  2017-07-22 14:36 ` Marius Bakke
  0 siblings, 1 reply; 2+ messages in thread
From: buen ouanq @ 2017-07-22  5:59 UTC (permalink / raw)
  To: help-guix

[-- Attachment #1: Type: text/plain, Size: 717 bytes --]

Attempting to install GuixSD as I have before (upgrading to guile@2.2 was
being finicky, so I decided to just do a full fresh install), but today I
encounter this:

> grub-install: error:
/gnu/store/..grub-2.02/lib/grub/x86_64-efi/modinfo.sh doesn't exist. Please
specify --target or --directory.
> guix system: error: failed to install GRUB on device '/dev/sda'

/dev/sda is GPT.
/dev/sda1 is a BIOS boot partition.
modinfo.sh actually does exist in /gnu/store/..grub-2.02/lib/grub/i386-pc/
where it should be - So I'm confused as to why it's trying to do the EFI
version when the default should be normal BIOS GRUB.

Hopefully this is just something small and dumb on my end.
Any help would be greatly appreciated.

[-- Attachment #2: Type: text/html, Size: 888 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: grub gpt bios boot
  2017-07-22  5:59 grub gpt bios boot buen ouanq
@ 2017-07-22 14:36 ` Marius Bakke
  0 siblings, 0 replies; 2+ messages in thread
From: Marius Bakke @ 2017-07-22 14:36 UTC (permalink / raw)
  To: buen ouanq, help-guix

[-- Attachment #1: Type: text/plain, Size: 1063 bytes --]

buen ouanq <buenouanq@gmail.com> writes:

> Attempting to install GuixSD as I have before (upgrading to guile@2.2 was
> being finicky, so I decided to just do a full fresh install), but today I
> encounter this:
>
>> grub-install: error:
> /gnu/store/..grub-2.02/lib/grub/x86_64-efi/modinfo.sh doesn't exist. Please
> specify --target or --directory.
>> guix system: error: failed to install GRUB on device '/dev/sda'
>
> /dev/sda is GPT.
> /dev/sda1 is a BIOS boot partition.
> modinfo.sh actually does exist in /gnu/store/..grub-2.02/lib/grub/i386-pc/
> where it should be - So I'm confused as to why it's trying to do the EFI
> version when the default should be normal BIOS GRUB.

GRUB will automatically detect whether it should install EFI or BIOS
bootloader. Probably the USB installer has booted in UEFI mode?

If you wish to use BIOS grub, you will need to force "legacy boot" in
your firmware when booting the GuixSD installer. Alternatively you can
set up an EFI system partition and use the 'grub-efi' package for
'native' EFI boot.

Hope this helps!

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-07-22 14:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-22  5:59 grub gpt bios boot buen ouanq
2017-07-22 14:36 ` Marius Bakke

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.