You are not logged in.

#1 2014-10-13 21:23:11

olive
Member
From: Belgium
Registered: 2008-06-22
Posts: 1,490

Systemd very nasty with incorrect setup

There was an error in my fstab. An entry for a partition that was not there anymore. But this partition wasn't essential. But instead of giving me a warning, it began by waiting for 90s until ask me "Give root password for maintenance or Press Crtl-D to continue). I pressed Ctrl-D but the machine hung. After pressing random key nervously, I see once again the 90s countdown. At this point, I forcedly reset the machine and booted a rescue disk. Is it not possible to configure systemd to be a little more tolerant. it might have waited for 10 sec, gave me a warning and booted anyway. The only thing to do was to remove the entry for the non existent partition in /etc/fstab.

Offline

#2 2014-10-13 21:32:06

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

Re: Systemd very nasty with incorrect setup

If you want systemd to ignore things that aren't there when you boot, add nofail to the mount options.


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.

Online

#3 2014-10-13 21:38:30

olive
Member
From: Belgium
Registered: 2008-06-22
Posts: 1,490

Re: Systemd very nasty with incorrect setup

Doesn't work. Maybe it's something like systemd.????=nofail ?

Offline

#4 2014-10-13 21:39:59

alphaniner
Member
From: Ancapistan
Registered: 2010-07-12
Posts: 2,810

Re: Systemd very nasty with incorrect setup

No, it's nofail. From my fstab:

/dev/vg0/v_build	/home/testing/build	ext4	defaults,stripe=512,data=ordered,nofail	0 2

But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner

Offline

#5 2014-10-13 21:41:31

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,362

Re: Systemd very nasty with incorrect setup

Just enter your password at the Ctrl-D prompt mount your essential partitions and modify your /etc/fstab to comment the problem partition and reboot.


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

Board footer

Powered by FluxBB