<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="https://dev1galaxy.org/extern.php?action=feed&amp;tid=2942&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / UEFI /etc/fstab request]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=2942</link>
		<description><![CDATA[The most recent posts in UEFI /etc/fstab request.]]></description>
		<lastBuildDate>Wed, 10 Jul 2019 11:45:32 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: UEFI /etc/fstab request]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=16941#p16941</link>
			<description><![CDATA[<div class="quotebox"><cite>Head_on_a_Stick wrote:</cite><blockquote><div><p>[...] but I rely on systemd [...]</p></div></blockquote></div><p>Go wash your mouth with <del>soap</del> bleach you heretic! <img src="https://dev1galaxy.org/img/smilies/mad.png" width="15" height="15" alt="mad" /> </p><p><img src="https://dev1galaxy.org/img/smilies/wink.png" width="15" height="15" alt="wink" /></p>]]></description>
			<author><![CDATA[dummy@example.com (Dutch_Master)]]></author>
			<pubDate>Wed, 10 Jul 2019 11:45:32 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=16941#p16941</guid>
		</item>
		<item>
			<title><![CDATA[Re: UEFI /etc/fstab request]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=16939#p16939</link>
			<description><![CDATA[<p>FYI, I&#039;m probably going to make some changes to refractainstaller soon (partly as a result of this thread, thanks.)</p><p>- umask=0077 on /boot/efi in fstab.<br />- umask=0077 on initrd.img in full-disk encryption<br />- change swap mountpoint to &quot;none&quot;</p><p>If you can think of anything else I missed, let me know.</p>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Wed, 10 Jul 2019 11:36:41 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=16939#p16939</guid>
		</item>
		<item>
			<title><![CDATA[Re: UEFI /etc/fstab request]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=16926#p16926</link>
			<description><![CDATA[<p>Thanks kapqa!</p><p>...and thanks HoaS! The <span class="bbc">arch-install-scripts</span> package looks interesting. I&#039;ll check that out. Thanks for all of the additional information too.</p>]]></description>
			<author><![CDATA[dummy@example.com (MiyoLinux)]]></author>
			<pubDate>Tue, 09 Jul 2019 20:36:34 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=16926#p16926</guid>
		</item>
		<item>
			<title><![CDATA[Re: UEFI /etc/fstab request]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=16922#p16922</link>
			<description><![CDATA[<div class="quotebox"><cite>MiyoLinux wrote:</cite><blockquote><div><p>My main concern was the differences under the &quot;Options&quot;. Every example that I&#039;ve found online said to &quot;enter something like this&quot; in the fstab file.</p></div></blockquote></div><p>The <em>defaults</em> entry should be fine, the kernel knows how to handle FAT filesystems.</p><p>This won&#039;t be much use &#039;cos I wrote it myself but here is my fstab:</p><div class="codebox"><pre><code>/dev/nvme0n1p3 /    xfs  defaults        0 1
/dev/nvme0n1p1 /efi vfat defaults,noauto 0 0</code></pre></div><p>As you can see I don&#039;t have the EFI system partition mounted automatically because of the fragile nature of FAT and also because it doesn&#039;t need to be mounted at all unless GRUB is being re-installed.</p><p>Here is how the kernel handles the <em>defaults</em> option:</p><div class="codebox"><pre><code>E485:~$ grep nvme0n1p1 /proc/self/mounts 
/dev/nvme0n1p1 /efi vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro 0 0
E485:~$</code></pre></div><p>You can also try the genfstab(1) script from the <a href="https://pkginfo.devuan.org/stage/beowulf/beowulf/arch-install-scripts_21-1.html" rel="nofollow">arch-install-scripts</a> package, that will generate an fstab for you (as the name suggests).</p><p>Btw I do have a swap partition but I rely on systemd to mount it automatically so I don&#039;t need an fstab line <img src="https://dev1galaxy.org/img/smilies/big_smile.png" width="15" height="15" alt="big_smile" /></p><p>And please note that the fs_file entry (the second field in fstab) should be set to <em>none</em> for swap partitions, at least according to fstab(5).</p>]]></description>
			<author><![CDATA[dummy@example.com (Head_on_a_Stick)]]></author>
			<pubDate>Tue, 09 Jul 2019 16:28:25 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=16922#p16922</guid>
		</item>
		<item>
			<title><![CDATA[Re: UEFI /etc/fstab request]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=16917#p16917</link>
			<description><![CDATA[<p><ins> /etc/fstab: static file system information.<br />#<br /># Use &#039;blkid&#039; to print the universally unique identifier for a<br /># device; this may be used with UUID= as a more robust way to name devices<br /># that works even if disks are added and removed. See fstab(5).<br />#<br /># &lt;file system&gt; &lt;mount point&gt;&#160; &#160;&lt;type&gt;&#160; &lt;options&gt;&#160; &#160; &#160; &#160;&lt;dump&gt;&#160; &lt;pass&gt;<br />/dev/mapper/rich--PC--vg-root /&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;ext4&#160; &#160; errors=remount-ro 0&#160; &#160; &#160; &#160;1<br /># /boot was on /dev/sdc2 during installation<br />UUID=07d2061b-61ee-4196-8ed6-3ec4d40ff2c7 /boot&#160; &#160; &#160; &#160; &#160; &#160;ext2&#160; &#160; defaults&#160; &#160; &#160; &#160; 0&#160; &#160; &#160; &#160;2<br /># /boot/efi was on /dev/nvme0n1p1 during installation<br />UUID=0E51-C604&#160; /boot/efi&#160; &#160; &#160; &#160;vfat&#160; &#160; umask=0077&#160; &#160; &#160; 0&#160; &#160; &#160; &#160;1<br />/dev/mapper/rich--PC--vg-swap_1 none&#160; &#160; &#160; &#160; &#160; &#160; swap&#160; &#160; sw&#160; &#160; &#160; &#160; &#160; &#160; &#160; 0&#160; &#160; &#160; &#160;0<br />/dev/sr0&#160; &#160; &#160; &#160; /media/cdrom0&#160; &#160;udf,iso9660 user,noauto&#160; &#160; &#160;0&#160; &#160; &#160; &#160;0<br /></ins></p>]]></description>
			<author><![CDATA[dummy@example.com (kapqa)]]></author>
			<pubDate>Tue, 09 Jul 2019 11:07:18 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=16917#p16917</guid>
		</item>
		<item>
			<title><![CDATA[Re: UEFI /etc/fstab request]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=16915#p16915</link>
			<description><![CDATA[<p>Well, despite my unfamiliarity with UEFI, I somewhat understand it&#039;s short UUID. My main concern was the differences under the &quot;Options&quot;. Every example that I&#039;ve found online said to &quot;enter something like this&quot; in the fstab file. <img src="https://dev1galaxy.org/img/smilies/yikes.png" width="15" height="15" alt="yikes" /></p><p>So, I have many BIOS fstab files to compare...but no UEFI fstab files. I couldn&#039;t find one single example of an UEFI fstab file online. So, I went the Virtualbox route...which caused confusion for me. LOL! <img src="https://dev1galaxy.org/img/smilies/tongue.png" width="15" height="15" alt="tongue" /></p><p>So, I risked embarrassing myself to ask for help. <img src="https://dev1galaxy.org/img/smilies/wink.png" width="15" height="15" alt="wink" /></p><p>Thank you.</p>]]></description>
			<author><![CDATA[dummy@example.com (MiyoLinux)]]></author>
			<pubDate>Tue, 09 Jul 2019 10:47:53 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=16915#p16915</guid>
		</item>
		<item>
			<title><![CDATA[Re: UEFI /etc/fstab request]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=16914#p16914</link>
			<description><![CDATA[<p>Ah, ok, I see where you&#039;re coming from. Your quest could be summarized as &quot;why does a UEFI boot partition have a short/small UUID whereas normal partitions don&#039;t.&quot; Right? I&#039;m afraid I can&#039;t answer that, but you should be able to find it in the UEFI spec somewhere <img src="https://dev1galaxy.org/img/smilies/wink.png" width="15" height="15" alt="wink" /></p>]]></description>
			<author><![CDATA[dummy@example.com (Dutch_Master)]]></author>
			<pubDate>Tue, 09 Jul 2019 10:27:59 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=16914#p16914</guid>
		</item>
		<item>
			<title><![CDATA[Re: UEFI /etc/fstab request]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=16913#p16913</link>
			<description><![CDATA[<p>Ahhh...thank you dxrobertson!</p><p>So my gut feeling was wrong! LOL! <img src="https://dev1galaxy.org/img/smilies/tongue.png" width="15" height="15" alt="tongue" /></p><p>Your actual file looks exactly...well...almost exactly...like mine in Virtualbox. I edited out all of those commented out lines when I posted it here on the forum.</p><p>Thank you so much!</p><p>If anyone else is willing to post their&#039;s, I would greatly appreciate it.</p><p>Thanks again!</p>]]></description>
			<author><![CDATA[dummy@example.com (MiyoLinux)]]></author>
			<pubDate>Tue, 09 Jul 2019 10:21:02 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=16913#p16913</guid>
		</item>
		<item>
			<title><![CDATA[Re: UEFI /etc/fstab request]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=16912#p16912</link>
			<description><![CDATA[<p>Here is my actual fstab, from an UEFI install of Devuan ASCII, then upgraded to Beowulf.&#160; </p><p>I did make 1 manual change- I removed the UUID from the /dev/sda2 swap partition.&#160; I do this because I have another partition that I install to and the swap always gets formatted and thus its UUID changes.&#160; Removed it from fstab so I dont have to keep manually changing it.</p><div class="codebox"><pre><code># /etc/fstab: static file system information.
#
# Use &#039;blkid&#039; to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# &lt;file system&gt; &lt;mount point&gt;   &lt;type&gt;  &lt;options&gt;       &lt;dump&gt;  &lt;pass&gt;
# / was on /dev/sda3 during installation
UUID=a0dc904d-8dfd-4d5c-8800-584836cc979c /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda1 during installation
UUID=8796-D391  /boot/efi       vfat    umask=0077      0       1
# swap was on /dev/sda2 during installation
/dev/sda2 none            swap    sw              0       0
/dev/sr0        /media/cdrom0   udf,iso9660 user,noauto     0       0</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (dxrobertson)]]></author>
			<pubDate>Tue, 09 Jul 2019 10:10:54 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=16912#p16912</guid>
		</item>
		<item>
			<title><![CDATA[Re: UEFI /etc/fstab request]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=16911#p16911</link>
			<description><![CDATA[<p>Thanks Dutch_Master. <img src="https://dev1galaxy.org/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p>I appreciate the link, but that&#039;s not really what I was looking for. Perhaps I wasn&#039;t clear enough in what I was asking? <img src="https://dev1galaxy.org/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p>I&#039;m currently working on a project; in which, a user will need to edit and make their own fstab file. In addition to BIOS instructions, I would like to include instructions for users who may be using UEFI. Since I don&#039;t have an actual UEFI computer, I can only go by the fstab files generated by Virtualbox installations. Perhaps my predicament is best understood by being visualized...</p><p>Below are the fstab files from two UEFI installations in Virtualbox. The first one is a MiyoLInux installation (based on ASCII). The second is a pure Devuan ASCII installation. The information following the UUIDs of both fstab files that were generated are very different...and confusing to me because of that. My gut tells me that the MiyoLinux fstab is closer to what would be correct on real hardware, but I&#039;m not sure. That&#039;s why I was hoping someone with an actual UEFI installation on real hardware might be willing to share their fstab file. <img src="https://dev1galaxy.org/img/smilies/wink.png" width="15" height="15" alt="wink" /></p><div class="codebox"><pre><code>The MiyoLinux UEFI fstab

UUID=a-bunch-of-letters-and-numbers	/		ext4	defaults,noatime	0	1
UUID=a-bunch-of-letters-and-numbers	/home		ext4	defaults,noatime	0	2
UUID=a-bunch-of-letters-and-numbers	swap		swap	defaults		0	0
UUID=a-few-letters-and-numbers		/boot/efi	vfat	defaults		0	1

The Devuan ASCII UEFI fstab

UUID=a-bunch-of-letters-and-numbers	/		ext4	errors=remount-ro	0	1
UUID=a-few-letters-and-numbers		/boot/efi	vfat	umask=0077		0	1
UUID=a-bunch-of-letters-and-numbers	/home		ext4	defaults		0	2
UUID=a-bunch-of-letters-and-numbers	none		swap	sw			0	0</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (MiyoLinux)]]></author>
			<pubDate>Tue, 09 Jul 2019 09:48:13 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=16911#p16911</guid>
		</item>
		<item>
			<title><![CDATA[Re: UEFI /etc/fstab request]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=16907#p16907</link>
			<description><![CDATA[<p>Have a read:</p><p><a href="https://www.funtoo.org/Successful_booting_with_UUID" rel="nofollow">https://www.funtoo.org/Successful_booting_with_UUID</a></p><p>I don&#039;t think booting with (U)EFI would change the use of UUIDs as the syntax is determined by that of the fstab file.</p><p>HTH!</p>]]></description>
			<author><![CDATA[dummy@example.com (Dutch_Master)]]></author>
			<pubDate>Tue, 09 Jul 2019 08:23:21 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=16907#p16907</guid>
		</item>
		<item>
			<title><![CDATA[UEFI /etc/fstab request]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=16903#p16903</link>
			<description><![CDATA[<p>Hi everyone!</p><p>I&#039;m working on a project, and I was wondering if anyone here who has an installed system (which uses UEFI) would be willing to post the contents of your /etc/fstab file? </p><p>If you don&#039;t want to share your UUIDs, that&#039;s fine, I&#039;m mainly interested in the items that follow the UUIDs. If you have a separate /home partition listed, that would be much appreciated. <img src="https://dev1galaxy.org/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p>I don&#039;t have a UEFI computer, and though I&#039;ve installed Devuan in UEFI in virtualbox, I would like to compare its UUIDs to an actual hardware installation&#039;s.</p><p>Thank you. <img src="https://dev1galaxy.org/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[dummy@example.com (MiyoLinux)]]></author>
			<pubDate>Tue, 09 Jul 2019 04:36:42 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=16903#p16903</guid>
		</item>
	</channel>
</rss>
