public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Tom H <tomh0665@gmail.com>
To: Gentoo User <gentoo-user@lists.gentoo.org>
Subject: Re: [gentoo-user] EFI install ( continum) [ system hangs at boot ]
Date: Mon, 2 Mar 2015 13:58:25 -0500	[thread overview]
Message-ID: <CAOdo=SyAb-h2y1MKDHJvU3HM6avfs-MhH9LcfTnoa5GvpX+JBA@mail.gmail.com> (raw)
In-Reply-To: <1568048.lIjysblnmp@acer>

On Mon, Mar 2, 2015 at 2:00 AM, Fernando Rodriguez
<frodriguez.developer@outlook.com> wrote:
> On Saturday, February 28, 2015 12:50:37 PM Tom H wrote:
>> On Fri, Feb 27, 2015 at 5:47 PM, Fernando Rodriguez
>> <frodriguez.developer@outlook.com> wrote:
>>>
>>> Efibootmgr is not a boot manager, it's an utility to interface with the EFI
>>> firmware on the motherboard and you don't need to hardcode the command line
> on
>>> the kernel, look at the -u option of efibootmgr. You can even load an
> initrd
>>> with it by specifying the efi_memmap boot option. I use something like this
> (it
>>> shoulld work with any firmware because Windows uses it):
>>>
>>> efibootmgr -p 2 -c -b 0001 -l "\EFI\Linux\vmlinuz.efi" -L "Gentoo Linux" -u
>>> "root=/dev/sda2 resume=/dev/sda3 quiet splash efi_memmap
>>> initrd=/EFI/Linux/initramfs.img"
>>
>> Interesting. I must be over-complicating things because I use the
>> following when I want to use the EFI stub without gummiboot:
>>
>> # cat /boot/efi/efi-extra.txt \
>>     | iconv -f ascii -t ucs2 \
>>     | efibootmgr -b 0000 -c -L 3.19.0 -l vmlinuz-3.19.0 -u -@ -
>>
>> where
>>
>> # cat /boot/efi/efi-extra.txt
>> initrd=initrd.img-3.19.0
>> root=UUID=b51ee688-137c-47ec-9635-b69434b4e1f8 ro
>> init=/lib/systemd/systemd
>
> It's a good idea to do that as it's less error prone. I don't know if you need
> iconv in the pipeline but if you put the arguments on the command line it's
> not needed. I just called my kernel vmlinuz.efi so I don't need to do that
> everytime I update it and use grub if I need to boot an alternate kernel or
> boot with different options.

Thanks. Next time that I feel adventurous, I'll replace my gummiboot
nvram entry with a vmlinuz one without cat and iconv. I made big
changes after the last efi boot thread on this list so I'll wait a
bit. :)


      reply	other threads:[~2015-03-02 18:58 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-27 11:53 [gentoo-user] EFI install ( continum) [ system hangs at boot ] German
2015-02-27 12:12 ` Neil Bothwick
2015-02-27 12:23   ` German
2015-02-27 12:49     ` Neil Bothwick
2015-02-27 12:49   ` German
2015-02-27 14:15     ` Neil Bothwick
2015-02-27 15:14       ` German
2015-02-27 19:39         ` Mick
2015-02-27 20:04           ` Rich Freeman
2015-02-27 22:47         ` Fernando Rodriguez
2015-02-28 17:50           ` Tom H
2015-03-02  7:00             ` Fernando Rodriguez
2015-03-02 18:58               ` Tom H [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

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

  git send-email \
    --in-reply-to='CAOdo=SyAb-h2y1MKDHJvU3HM6avfs-MhH9LcfTnoa5GvpX+JBA@mail.gmail.com' \
    --to=tomh0665@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /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