The unmounted partition caused manjaro to refuse to turn on

# <file system>             <mount point>  <type>  <options>  <dump>  <pass>
UUID=6C72-9684                            /boot/efi      vfat    umask=0077 0 2
UUID=8cba3c56-3aef-4413-bfbb-d45baab4f488 swap           swap    defaults,noatime 0 0
UUID=7474fb8c-e954-4bd1-acac-d4dd2f12e4b0 /tmp           ext4    defaults,noatime 0 2
UUID=b7326d04-4324-431d-9e40-ff9ca165a925 /              ext4    defaults,noatime 0 1
UUID=49f800b7-1117-409c-9796-fc65b505806a /home          ext4    defaults,noatime 0 2
UUID=d410993c-4f69-46db-aa7a-4e06ed7ce3bf /Storage/Games ext4    defaults,noatime 0 2
UUID=d27d3ef4-5a9a-4b06-869f-3276f70e30f9 /Storage/HDD_Stor_1 ext4    defaults,noatime 0 2
tmpfs                                     /tmp           tmpfs   defaults,noatime,mode=1777 0 0

Internal. Penultimate partition from the list. I am new in Linux. Can i just delete the line of text and it will be ok?

Not so fast. But if it’s a non-essential partition, then I would add nofail to the mount options.

But how exactly did you unmount it?

This looks odd.

Should be:

UUID=*device_UUID* none swap defaults 0 0
1 Like

Yes, the calamares developers, in their infinite wisdom, decided to add the noatime option to a partition that doesn’t contain any filesystem, even though I have repeatedly told them that it is wrong.

And then they asked me to leave their Telegram channel because I’m not a calamares developer… :man_facepalming:

4 Likes

In GParted when I wanted to resize it. It didn’t work so I just left unmounted and turned off the PC.

This is also a weird setting. Why not sticking to the standard?

tmpfs  /tmp  tmpfs  rw,nodev,nosuid  0  0

or just eliminating a setting for /tmp…

Well, there’s your problem. You tried to resize it, and “it didn’t work” — whatever that means — and now you’ve destroyed your partition. Given that it has been destroyed but that it didn’t have the nofail mount option for it, the system is trying to mount it but cannot find it, and then it hangs.


/tmp shouldn’t even need to be in /etc/fstab, because it is mounted by systemd by default.


@DanEm, for now, remove the line for the destroyed partition from your /etc/fstab and the system will boot again.

Yes, I just edited my post, I was not yet ready with my comment…

1 Like

I didn’t change anything and the swap works.

You can also drive your car on the wrong side of the road and it works… :wink:

1 Like

I just add nofail options and work.

I followed an online installation guide that said it was better to create partitions on tmp.

@DanEm, why don’t you focus on the key info you received:

I also did this, but the first solution also helped.

I doubt whether you’ll be able to mount it again, though. But at least your system boots again.

You cannot “create partitions on /tmp. In systemd-based distributions such as Manjaro, /tmp is a tmpfs by default. This means that the contents of /tmp reside in virtual memory — mostly in RAM, but they can be paged out to the swap device if necessary.

systemd sets up /tmp as a tmpfs when the system boots. There is no need for you to add a second mount for /tmp in /etc/fstab, because it will only obscure the original mount (by systemd) and hide what was already in there before /etc/fstab got processed.

Precious knowledge. So I have to change my partitions configuration. Thank you for quick help Mr. Aragorn. Glory to reunited Reunited Gondor and Arnor!

1 Like

If tmpfs should not be in fstab or with 1777 option, maybe someone from the developer team should communicate it with the calamares team or customize it.

Because right now, this is the default on every new manjaro installation (at least 2 months ago).

A Team member saying that default configs are wrong is not exactly a confidence booster for new users. Leaves the impression nobody knows what the other one is doing and that absolutely nobody tests things before pushing them to production.

I can confirm this going back to March 2023. This exact line is on my system too and I’m certain I didn’t put it there manually. The created and modified timestamps of my /etc/fstab match when I installed Manjaro, same as other basic files in /etc like os-release and hostname.

1 Like

About swap. On the manjaro wiki dedicated to fstab is wrong configuration on the picture in the section Example File link. I got this configuration during installation so something is wrong.

1 Like

And tmpfs with 1777 option is also on that wiki page :thinking:

1 Like

The calamares developers are unfortunately not amenable to advice from experienced users.

@philm added me to their Telegram group because he felt I could bring some useful experience to the table — he’s in there too — but they’ve made it very clear to me that they consider themselves smarter than myself, and I was asked to leave the group by its admin because he’s got some OCD-elitist issue about the channel being only for developers.

I do not have /tmp in my /etc/fstab, and it’s still being mounted at boot time. Therefore, it is unnecessary to add it to /etc/fstab.

systemd sets it up by itself. The only systemd-based distribution where it doesn’t is openSUSE, but they’ve done very strange things with their filesystem hierarchy, and it has become such a mess that they haven’t even bothered to clean it up anymore in years.

Those configs are not developed by Manjaro. calamares is an independent GNU/Linux installer used by many different distributions, among which EndeavourOS, Garuda, Artix, Chakra, OpenMandriva, Netrunner, Neon, Lubuntu, et al.


The permissions are correct, albeit unnecessary, given that tmpfs is a POSIX-compatible filesystem, and that only the permissions on the mountpoint need to be set to 1777, because the content of the filesystem will as such inherit the permissions from the parent directory, i.e. the mountpoint.

This is from my system…

[nx-74205:/dev/pts/3][/home/aragorn]
[aragorn] >  ls -l / | grep 'tmp'
drwxrwxrwt  21 root root  720 Sep 14 00:03 tmp

[nx-74205:/dev/pts/3][/home/aragorn]
[aragorn] >  mount | grep '/tmp'
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,nr_inodes=1048576,inode64)

[nx-74205:/dev/pts/3][/home/aragorn]
[aragorn] >  grep '/tmp' /etc/fstab

[nx-74205:/dev/pts/3][/home/aragorn]
[aragorn] > 

As you can see for yourself, it is not in my /etc/fstab, and yet it’s mounted with the proper permissions.