Re: [arch-general] systemd-boot ignores loader.conf

2016-11-14 Thread Doug Newgard
On Mon, 14 Nov 2016 23:25:45 +0100
Tung Anh Vu via arch-general  wrote:

> I managed to make the boot menu screen not appear by holding the minus key
> down to 0 second timeout in the boot menu itself.
> Thanks everyone, especially David Thurstenson.
> 
> PS: I still have no idea, why does systemd-boot ignore the timeout setting
> from loader.conf, but obeys the rest.

systemd-boot will store things in NVRAM variables, which it will use if found
instead of the values in loader.conf. 


Re: [arch-general] systemd-boot ignores loader.conf

2016-11-14 Thread Tung Anh Vu via arch-general
I managed to make the boot menu screen not appear by holding the minus key
down to 0 second timeout in the boot menu itself.
Thanks everyone, especially David Thurstenson.

PS: I still have no idea, why does systemd-boot ignore the timeout setting
from loader.conf, but obeys the rest.

On Mon, Nov 14, 2016 at 7:02 PM, Tung Anh Vu  wrote:

> I'm using systemd-boot on my laptop. My /boot/loader/loader.conf contains
> only the line:
>
> default arch
>
> but when booting, the boot menu still appears. What could be the cause of
> this issue? Thanks in advance.
>


Re: [arch-general] systemd-boot ignores loader.conf

2016-11-14 Thread Rich

timeout 0 <-- in loader.conf 1st line
default arch <-- in loader.conf 2nd line

On 11/14/2016 12:58 PM, David Thurstenson via arch-general wrote:

On Mon, Nov 14, 2016 at 12:55 PM, Tung Anh Vu via arch-general
 wrote:

Exactly. I'm successfully booting, so the /boot/loader/entries/arch.conf is
present and appears to be correct.
My problem is, that I'm trying to make the boot menu to *not* appear, but
without any success.


Try setting "timeout 0" explicitly. I've got it working for a couple
of machines this way, but really, it shouldn't be necessary.




Re: [arch-general] systemd-boot ignores loader.conf

2016-11-14 Thread Tung Anh Vu via arch-general
I just tried and it didn't help. Just in case, is the location
/boot/loader/loader.conf correct?
Also, do I need to explicitly reload the conf file using some bootctl
command?

On Mon, Nov 14, 2016 at 7:58 PM, David Thurstenson via arch-general <
arch-general@archlinux.org> wrote:

> Try setting "timeout 0" explicitly. I've got it working for a couple
> of machines this way, but really, it shouldn't be necessary.
>


Re: [arch-general] systemd-boot ignores loader.conf

2016-11-14 Thread David Thurstenson via arch-general
On Mon, Nov 14, 2016 at 12:55 PM, Tung Anh Vu via arch-general
 wrote:
> Exactly. I'm successfully booting, so the /boot/loader/entries/arch.conf is
> present and appears to be correct.
> My problem is, that I'm trying to make the boot menu to *not* appear, but
> without any success.

Try setting "timeout 0" explicitly. I've got it working for a couple
of machines this way, but really, it shouldn't be necessary.


Re: [arch-general] systemd-boot ignores loader.conf

2016-11-14 Thread Tung Anh Vu via arch-general
Exactly. I'm successfully booting, so the /boot/loader/entries/arch.conf is
present and appears to be correct.
My problem is, that I'm trying to make the boot menu to *not* appear, but
without any success.

On Mon, Nov 14, 2016 at 7:47 PM, David Thurstenson via arch-general <
arch-general@archlinux.org> wrote:
>
> By default, or if undefined, timeout is 0. This requires a keystroke
> (any keystroke) to see the boot menu. Since the timeout is undefined
> in this case, the boot menu won't show up if properly configured.
>
> See: https://wiki.archlinux.org/index.php/Systemd-boot#Basic_configuration
>


Re: [arch-general] systemd-boot ignores loader.conf

2016-11-14 Thread David Thurstenson via arch-general
On Mon, Nov 14, 2016 at 12:39 PM, Zachary Kline  wrote:
> Hello,
>
> I think the boot menu will still appear, because the default boot entry just 
> indicates which OS will be booted after the timeout. It doesn’t stop the menu 
> from appearing, or you couldn’t pick another OS easily.
> Best,
> Zack.

By default, or if undefined, timeout is 0. This requires a keystroke
(any keystroke) to see the boot menu. Since the timeout is undefined
in this case, the boot menu won't show up if properly configured.

See: https://wiki.archlinux.org/index.php/Systemd-boot#Basic_configuration


Re: [arch-general] systemd-boot ignores loader.conf

2016-11-14 Thread Zachary Kline
Hello,

I think the boot menu will still appear, because the default boot entry just 
indicates which OS will be booted after the timeout. It doesn’t stop the menu 
from appearing, or you couldn’t pick another OS easily.
Best,
Zack.
> On Nov 14, 2016, at 10:02 AM, Tung Anh Vu via arch-general 
>  wrote:
> 
> Hello all,
> 
> I'm using systemd-boot on my laptop. My /boot/loader/loader.conf contains
> only the line:
> 
>default arch
> 
> but when booting, the boot menu still appears. What could be the cause of
> this issue? Thanks in advance.
> 
> - Tung Anh


Re: [arch-general] systemd-boot ignores loader.conf

2016-11-14 Thread Cade Robinson via arch-general
https://wiki.archlinux.org/index.php/systemd-boot#Adding_boot_entries

Probably missing /boot/loader/entries/arch.conf

-Original Message-
From: arch-general [mailto:arch-general-boun...@archlinux.org] On Behalf Of 
Tung Anh Vu via arch-general
Sent: Monday, November 14, 2016 12:03 PM
To: arch-general@archlinux.org
Cc: Tung Anh Vu <cutt...@gmail.com>
Subject: [arch-general] systemd-boot ignores loader.conf

Hello all,

I'm using systemd-boot on my laptop. My /boot/loader/loader.conf contains only 
the line:

default arch

but when booting, the boot menu still appears. What could be the cause of this 
issue? Thanks in advance.

- Tung Anh


[arch-general] systemd-boot ignores loader.conf

2016-11-14 Thread Tung Anh Vu via arch-general
Hello all,

I'm using systemd-boot on my laptop. My /boot/loader/loader.conf contains
only the line:

default arch

but when booting, the boot menu still appears. What could be the cause of
this issue? Thanks in advance.

- Tung Anh