You are not logged in.

#1 2015-02-22 22:44:24

Phrost5019
Member
Registered: 2015-02-20
Posts: 32

tmp not mounting, dropped into recovery shell.

I've had an arch linux installation for a few days and I've always gotten an error that my system could not mount /tmp but nothing ever got affected. I've installed the catalyst drivers and tried to get x display manager working. After that the issue of tmp not mounting seems to be causing a bigger error. After installing graphics drivers I get dropped into an emergency shell and as far as I can tell the only culprit is tmp. I've gotten the xorg and catalyst repos working but whenever I type 'startx' I get a black screen for a few seconds and then it terminates and leaves me with a black border around my screen. The black border doesn't seem like too much of an issue given I have refrained from tampering with xorg.conf until I can get kde set up and use the catalyst control center to configure things easier. But x should be able to start even so.

Below are some pictures of logs and config files that may be relevant.

http://imgur.com/a/VGGlQ

Last edited by Phrost5019 (2015-02-22 22:45:35)

Offline

#2 2015-02-22 23:58:09

\hbar
Member
Registered: 2014-03-15
Posts: 165

Re: tmp not mounting, dropped into recovery shell.

Could the entry in your fstab be interfering with the tmp.mount file in /usr/lib/systemd/system/tmp.mount ?
What about the missing plymouth error message, could that be why xorg fails?
Could you post your .xinitrc?

Offline

#3 2015-02-23 00:01:54

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,902
Website

Re: tmp not mounting, dropped into recovery shell.

You're trying to mount an ext2 partition as a tmpfs. Either stop trying to do that by commenting out the relevant line in fstab, or fix the type (tmpfs should be ext2).


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#4 2015-02-23 00:07:47

Phrost5019
Member
Registered: 2015-02-20
Posts: 32

Re: tmp not mounting, dropped into recovery shell.

\hbar wrote:

Could the entry in your fstab be interfering with the tmp.mount file in /usr/lib/systemd/system/tmp.mount ?
What about the missing plymouth error message, could that be why xorg fails?
Could you post your .xinitrc?

Heres my tmp.mount: http://i.imgur.com/JNWM9GU.jpg

The tmp.mount says tmpfs instead of '/dev/mapper/tmp' so I changed it in the fstab from '/dev/mapper/tmp' to 'tmpfs' and I don't get the error anymore when its starting up but I still get dropped into the emergency shell and journalctl still only reports plymouth as causing any errors of any kind.

The plymouth error message doesn't seem to be too much of an issue based on a few other threads I've read, but its the only error in the journalctl so I thought it must be the culprit unless something else was interfering. I do not have an .xinitrc. I suspect that may be the issue? Should I create one? I did the aticonfig --initial so I don't know what else should've created it.

Offline

#5 2015-02-23 00:08:58

Phrost5019
Member
Registered: 2015-02-20
Posts: 32

Re: tmp not mounting, dropped into recovery shell.

WorMzy wrote:

You're trying to mount an ext2 partition as a tmpfs. Either stop trying to do that by commenting out the relevant line in fstab, or fix the type (tmpfs should be ext2).

I did notice that /dev/mapper/tmp is listed under 'ext2'. I still want to use tmpfs but I've never seen any information listing tmpfs as an actual file system. Do I just have to change /dev/mapper/tmp to 'none' instead of 'ext2'?

Offline

#6 2015-02-23 03:37:29

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,604

Re: tmp not mounting, dropped into recovery shell.

tmpfs is an in-memory filesystem. It shouldn't be on the disk at all.

Offline

#7 2015-02-23 03:38:52

Phrost5019
Member
Registered: 2015-02-20
Posts: 32

Re: tmp not mounting, dropped into recovery shell.

Scimmia wrote:

tmpfs is an in-memory filesystem. It shouldn't be on the disk at all.

So I shouldn't be mounting the partition at all? Should the partition even be on the hard disk?

Offline

#8 2015-02-24 01:18:21

\hbar
Member
Registered: 2014-03-15
Posts: 165

Re: tmp not mounting, dropped into recovery shell.

If you need /tmp to be persistant over reboots I suppose you could mount it (as ext2 of course).
If you don't have a .xinitrc, then it should read the system-wide xinitrc in /etc/X11 that opens xterms. Is xterm installed? Did you go through Xorg logs?

Offline

#9 2015-02-24 03:33:49

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,604

Re: tmp not mounting, dropped into recovery shell.

Phrost5019 wrote:
Scimmia wrote:

tmpfs is an in-memory filesystem. It shouldn't be on the disk at all.

So I shouldn't be mounting the partition at all? Should the partition even be on the hard disk?

No, there should not be a partition on the hard disk for /tmp.

Offline

Board footer

Powered by FluxBB