You are not logged in.

#1 2017-07-02 20:21:16

thebardian
Member
Registered: 2017-07-02
Posts: 9

Fstab was empty, /boot was not mounted, etc.

Installed arch, following the wiki. I opted to go with a uefi gpt setup, with two partitions, the first being /boot serving as both efi formatted fat32 and I installed grub right there, /boot. And the second being used for luks, I made two logical volumes inside, one for swap, the other for / root.

Everything was great, grub is working, all green OK's on boot. Luks is working. Gnome and sway both running.

After a restart I later noticed /boot was empty, or rather unmounted. (I don't understand how the operating system even loaded!, but it did. I was in gnome, and /boot was just empty until I did mount /dev/sda1 /boot) Then a quick look at /etc/fstab showed there were no entries in place. I should have checked /etc/fstab after running genfstab during the install. So now I manually added the fstab entries:

/dev/mapper/vg0-swap        none    swap            sw              0       0
/dev/mapper/vg0-root        /       ext4            defaults        0       1
/dev/sda1               /boot   vfat            defaults        0       2
tmpfs         /tmp    tmpfs           defaults        0       0

This seems to have fixed the problem. This is my first luks filesystem, does this look about right? Here is the output of my fdisk -l if that helps with diagnosis: https://pastebin.com/hXngUrm5 Any idea what did I do wrong / why were no mount entries in the original fstab?

Now when I launch gnome via:

$ XDG_SESSION_TYPE=wayland dbus-run-session gnome-session

Gnome works seemingly fine, but I get an error in tty containing many entries and similar:

Activating service name='org.freedesktop.systemd1'
Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1

Here is entirety of the error: https://pastebin.com/dgpwPQnv

What does this mean? I do not have much experience yet. Could this be related to the problems I had/have? with fstab? Thanks

Last edited by thebardian (2017-07-02 23:16:23)

Offline

Board footer

Powered by FluxBB