You are not logged in.

#1 2012-09-05 22:14:53

From: UK
Registered: 2012-01-16
Posts: 841

An FYI about systemd

After spending the past hour troubleshooting a "Welcome to emergency mode" problem on my system, whereby after a quick recovery mode test to see if I had finally got it working I couldn't boot anything but emergency mode, I figured I should post this in case it helps someone out in the future.

If you use systemd, have a partition mounted via fstab, and change that partition (whether it be splitting it, formatting to a different FS or whatever - anything that will change the way the drive presents itself to the system), be sure to change your fstab entry before you reboot. If you don't, systemd will choke and drop you to emergency mode at boot without so much as a bye or leave, and nothing to tell you why.

In my case, I'd reformatted an ext4 partition on my SSD to NTFS while testing efficiency to see if I could carry some benefits across to Windows on those rare occasions that I actually boot Windows, but I'd forgotton to change the fstab entry, and since I hadn't rebooted my system for three days, I'd forgotten I made the change. Oddly, my fstab and grub entries got themselves re-written to boot from and mount the platter drive rather than the SSD, too (adding to the confusion for me). I presume it picked the entries up from the platter drive, though how they got written back to the ssd I have no idea.

Even more annoying, systemd reported an error on one drive, though the one it complained about is not mounted at boot and is a truecrypt partition anyway. It didn't stop me trying all sorts of things (including adding it to fstab with "nofail") trying to get it working. The fix in the end was to comment out the entry for the changed partition and then it booted like nothing had happened. That hasn't stopped me missing my mid-week pint while I fixed it, though sad

I hope this saves someone else the headache.


Nvidia GTX 680 4Gb, AMD Phenom II X4 (965BE) @ 3.6 Ghz (Overclocked) 8GB RAM
Linux user #545703


#2 2012-09-05 23:46:17

Registered: 2011-10-09
Posts: 619

Re: An FYI about systemd

I had a very similar issue, just today.



#3 2012-10-26 00:45:24

From: PM & CB · GER
Registered: 2011-11-04
Posts: 2

Re: An FYI about systemd

Thanks! Thanks! Thanks! Solved my issues after a fresh installation.


#4 2012-10-26 00:47:34

Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 9,464

Re: An FYI about systemd

A better place to report this would be the systemd wiki article if you haven't done so already.

CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs • 1.21 JIGOWATTS!


Board footer

Powered by FluxBB