[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
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-bounces@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 <cuttycz@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
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 <arch-general@archlinux.org> 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
On Mon, Nov 14, 2016 at 12:39 PM, Zachary Kline <zkline@speedpost.net> 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
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
On Mon, Nov 14, 2016 at 12:55 PM, Tung Anh Vu via arch-general <arch-general@archlinux.org> 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.
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.
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 <arch-general@archlinux.org> 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.
participants (5)
-
Cade Robinson
-
David Thurstenson
-
Rich
-
Tung Anh Vu
-
Zachary Kline