Difference between revisions of "Talk:Systemd-boot"

From ArchWiki
Jump to: navigation, search
(Created page with "The link to documentation on freedesktop is currently giving a 503 and demanding "guru mediation". Does anybody happen to be a guru and available to mediate? --~~~~")
 
m (Mount /boot and efivarfs)
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
The link to documentation on freedesktop is currently giving a 503 and demanding "guru mediation". Does anybody happen to be a guru and available to mediate? --[[User:Margali|cfr]] ([[User talk:Margali|talk]]) 03:22, 24 March 2013 (UTC)
+
The link to documentation on freedesktop is currently giving a 503 and providing "guru meditation". Does anybody happen to be a guru and available to meditate on XID: 890648862? --[[User:Margali|cfr]] ([[User talk:Margali|talk]]) 03:22, 24 March 2013 (UTC)
 +
 
 +
== Mount /boot and efivarfs ==
 +
 
 +
Now systemd automatic detect ESP and mount it as {{ic|/boot}}. Also systemd mount {{ic|efivarfs}}. You no longer mount {{ic|/boot}} manually or add entry in the {{ic|/etc/fstab}}. If you try mount {{ic|/boot}} manually or from {{ic|/etc/fstab}} {{ic|gummiboot install}} command will fail.
 +
 
 +
Details:
 +
# findmnt /boot
 +
TARGET SOURCE    FSTYPE OPTIONS
 +
/boot  systemd-1 autofs rw,relatime,fd=36,pgrp=1,timeout=300,minproto=5,maxproto=5,direct
 +
 +
# findmnt efivarfs
 +
TARGET                    SOURCE  FSTYPE  OPTIONS
 +
/sys/firmware/efi/efivars efivarfs efivarfs rw,nosuid,nodev,noexec,relatime
 +
 
 +
Please add this notes to the Article.
 +
 
 +
[[User:Unikum|Unikum]] ([[User talk:Unikum|talk]]) 05:44, 20 April 2013 (UTC)
 +
: ". If you try mount /boot manually or from /etc/fstab gummiboot install command will fail." That's just not true, gummiboot install should work fine either way. What kind of error message is this supposed to cause?
 +
:Either way, I don't really like adding a note about the ESP automount yet for several reasons:
 +
: * the fsck is missing in the generated mount unit (this is on systemd's TODO list)
 +
: * it mounts /boot with 0700 permissions. Not sure if this is intended by upstream, but it is annoying and causes warnings from pacman.
 +
: * this feature isn't even documented in systemd yet
 +
: * This is a systemd feature, gummiboot just happens to be the only bootloader to export the EFI variables needed for this (for now). So it's probably debatable whether to put this on the systemd wiki or the gummiboot wiki.
 +
: [[User:65kid|65kid]] ([[User talk:65kid|talk]]) 07:51, 20 April 2013 (UTC)
 +
:: Thanks for the explanation.
 +
:: [[User:Unikum|Unikum]] ([[User talk:Unikum|talk]]) 11:54, 20 April 2013 (UTC)

Revision as of 11:54, 20 April 2013

The link to documentation on freedesktop is currently giving a 503 and providing "guru meditation". Does anybody happen to be a guru and available to meditate on XID: 890648862? --cfr (talk) 03:22, 24 March 2013 (UTC)

Mount /boot and efivarfs

Now systemd automatic detect ESP and mount it as /boot. Also systemd mount efivarfs. You no longer mount /boot manually or add entry in the /etc/fstab. If you try mount /boot manually or from /etc/fstab gummiboot install command will fail.

Details:

# findmnt /boot
TARGET SOURCE    FSTYPE OPTIONS
/boot  systemd-1 autofs rw,relatime,fd=36,pgrp=1,timeout=300,minproto=5,maxproto=5,direct

# findmnt efivarfs
TARGET                    SOURCE   FSTYPE   OPTIONS
/sys/firmware/efi/efivars efivarfs efivarfs rw,nosuid,nodev,noexec,relatime

Please add this notes to the Article.

Unikum (talk) 05:44, 20 April 2013 (UTC)

". If you try mount /boot manually or from /etc/fstab gummiboot install command will fail." That's just not true, gummiboot install should work fine either way. What kind of error message is this supposed to cause?
Either way, I don't really like adding a note about the ESP automount yet for several reasons:
* the fsck is missing in the generated mount unit (this is on systemd's TODO list)
* it mounts /boot with 0700 permissions. Not sure if this is intended by upstream, but it is annoying and causes warnings from pacman.
* this feature isn't even documented in systemd yet
* This is a systemd feature, gummiboot just happens to be the only bootloader to export the EFI variables needed for this (for now). So it's probably debatable whether to put this on the systemd wiki or the gummiboot wiki.
65kid (talk) 07:51, 20 April 2013 (UTC)
Thanks for the explanation.
Unikum (talk) 11:54, 20 April 2013 (UTC)