unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: znavko@disroot.org
To: "kevinbanjo" <kevinbanjo@gmail.com>, help-guix@gnu.org
Subject: Re: efi dual boot issue
Date: Sat, 16 Jan 2021 13:18:57 +0000	[thread overview]
Message-ID: <cbcda995e498f2740c87d4a0c2694dac@disroot.org> (raw)
In-Reply-To: <CAOHcZqOdQtTY42B2Cfr_sZnz63nHn6QXQrT_OBe_wxUcAvbZJg@mail.gmail.com>

You can find some examples on github with 'guix config'.
I have EFI Dual boot configuration here
https://gitgud.io/znavko/guix-configs/-/blob/master/guix-config-dual-boot.scm

bootloader field lookslike this:

		  (bootloader (bootloader-configuration (bootloader grub-efi-bootloader) 							(target "/boot/efi") 							(menu-entries (list (menu-entry 									     (label "Ubuntu") 									     (linux "(hd2,gpt3)/boot/vmlinuz") 									     (linux-arguments '("root=/dev/sdc3")) 									     (initrd "(hd2,gpt3)/boot/initrd.img")))))) 	

This bootloader configuration was made when I tried
to boot Ubuntu with grub command line.
I've found with grub's 'ls' command a linuz image 
and initrd file and booted successfully.
After that  I was sure such config will work.

I can't imagine troubles you will have with MS Windows.
May be easier it will be to use two different hard disks 
and to change their order in BIOS?


January 15, 2021 9:24 PM, "kevinbanjo" <kevinbanjo@gmail.com> wrote:

> Hi everyone. I'm trying to install a dual boot with windows 10 btrfs root
> GuixSD and I have a catch 22 I can't figure out how to resolve:
> 
> When I go to generate the system it says that grub-install didn't work (I
> can't remember exactly why and I was in console mode so I couldn't
> copy/paste the error but the gist of it was that it was because I booted in
> bios mode).
> 
> I had to go into bios and disable my legacy boot and windows still boots
> but I can't boot the GuixSD USB ISO.
> 
> It's an HP laptop and when I hit ESC during boot and select boot options it
> walks me thru the EFI boot files and I picked both the boot files and it
> just returns to the boot menu.
> 
> I also tried hard resetting my laptop (unplugging it, pulling out the
> battery and holding the power button down for a while) plus booting windows
> into recovery mode and letting it try and fix the boot (which probably only
> did the windows one as that was the only one that showed up) and still
> nothing.
> 
> How do I build an EFI boot if I can't boot GuixSD ISO as EFI?
> 
> TIA,
> -Kevin


      parent reply	other threads:[~2021-01-16 13:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAOHcZqNGnEtO6VXBv0W-hUaTfhivPG9W=JDWf1BE5WWehR397A@mail.gmail.com>
2021-01-14 21:34 ` efi dual boot issue kevinbanjo
2021-01-16  2:22   ` jbranso
     [not found]     ` <CAOHcZqOcYidoJEhPiwhXx8aJNXe_VUXjvjjLCkk5Fn7DE_ef4Q@mail.gmail.com>
     [not found]       ` <df4251e6f6577f8ea4fdf378efabe2de@dismail.de>
2021-01-16 22:40         ` jbranso
2021-01-16 13:18   ` znavko [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cbcda995e498f2740c87d4a0c2694dac@disroot.org \
    --to=znavko@disroot.org \
    --cc=help-guix@gnu.org \
    --cc=kevinbanjo@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).