noauto option ignored in /etc/fstab?
Tom H
tomh0665 at gmail.com
Mon Dec 4 17:20:49 UTC 2017
On Mon, Dec 4, 2017 at 11:13 AM, Josef Wolf <jw at raven.inka.de> wrote:
> On Fri, Dec 01, 2017 at 10:14:18AM -0500, Tom H wrote:
>> On Fri, Dec 1, 2017 at 5:36 AM, Josef Wolf <jw at raven.inka.de> wrote:
>>> On Fri, Dec 01, 2017 at 05:12:58AM -0500, Tom H wrote:
>>>> On Fri, Dec 1, 2017 at 2:50 AM, Josef Wolf <jw at raven.inka.de> wrote:
>>>>>
>>>>> I have the following line in /etc/fstab:
>>>>>
>>>>> UUID=XXXX-XXXX-XXXX-XXXX /boot ext4 noauto,relatime 0 2
>>>>>
>>>>> The noauto option should prevent the fs to be mounted during boot.
>>>>>
>>>>> That worked great in every distro I have touched in the last 20 years.
>>>>>
>>>>> But since I reinstalled this box with 16.04 LTS, this FS is mounted
>>>>> during boot.
>>>>>
>>>>> Any ideas what causes this FS to be mounted during boot?
>>>>
>>>> Is this an EFI system?
>>>>
>>>> If it is, you'll have to set "/boot/efi" as "noauto" too.
>>>
>>> Before the reinstall, I had 14.04 with EFI and everything worked fine.
>>>
>>> The the disk failed. I reinstalled 16.04 WITHOUT EFI.
>>>
>>> Thus, no. There's no /boot/efi anymore on this system.
>>
>> Here's the output from my laptop before and after adding "noauto" to
>> the "/boot" line in "/etc/fstab" ("/boot" is my EFI partition). It
>> works. You must have misconfigured something or hit a bug.
>
> Well, it might work for you, but it doesn't work for me...
We know. I was simply pointing out that it's not broken for everyone.
> So, how do I find out what's the cause?
What does systemd think your mount is? What's the output of "cat
/run/systemd/generator/boot.mount"?
More information about the ubuntu-users
mailing list