[06:59] <devIT> hi
[07:01] <devIT> I ask again (posted this question in #ubuntu) "I've rebooted i) after 174 days uptime, and ii) after Ruby installation. The OS is Ubuntu Server 18. The reboot ends in "emergency mode""
[07:02] <blackflow> devIT: I'd say that Ruby is irrelevant. There has been a number of kernel updates in the past 174 days. You'll have to check what the systemd output/logs are saying.
[07:03] <devIT> what /var/log I have to look at?
[07:03] <devIT> syslog ?
[07:03] <blackflow> syslog, but you can also use the journal
[07:04] <blackflow> infact, check teh journal as there's no guarantee anything has been forwarded and committed to disk, for syslog
[07:04] <devIT> there is a way to quick search failures?
[07:04] <blackflow> journalctl -p err
[07:04] <blackflow> but important messages needn't be marked as errors. also check -k
[07:04] <devIT> This sounds useful
[07:05] <devIT> journalctl -p -k err ???
[07:06] <blackflow> devIT: man journalctl
[07:12] <devIT> Ok, -k to get kernel only messages
[07:12] <devIT> There are a lot of them
[07:14] <blackflow> devIT: a number of last lines are usually most relevant
[07:15] <devIT> -p error show me 3 kernel errors: one about "tpm", one for "sd 2:0:0:0: [sdb] No Caching mode page found" and the last sd 2:0:0:0: [sdb] Assuming drive cache: write through"
[07:15] <blackflow> doesn't look like an error. what about system services.... systemctl --failed
[07:16] <devIT> I'll try
[07:16] <blackflow> (btw -k doesn't show _errors_, it shows kernel messages from the dmesg ringbuffer)
[07:17] <blackflow> also what filesystem is on root? emergency mode usually means failure to pivot to root
[07:18] <devIT> --failed show "0 loaded units listed" (in red) then "Pass --all to see loaded but inactive units too"
[07:20] <blackflow> can you somehow pastebin the output of `journalctl -xe` ? maybe take a screenshot and post to imgur
[07:20] <blackflow> I am assuming no network there to use netcat
[07:21] <devIT> I'll try with screenshot... back soon
[07:22] <blackflow> preferably reboot again and give the fresh output immediately upon entering emergency mode
[07:24] <devIT> ok, I'm rebooting, then I'll take the photo
[07:35] <devIT> here is the screenshot
[07:35] <devIT> https://imgur.com/STAOWPi
[07:38] <blackflow> hrm yes that's for the emergency mode boot.... not showing the important bits. I guess you'll just have to go through the journal and locate anything that would explain failure to mount root or whatever the reason is for the emergency mode.
[07:39] <blackflow> ordinarily I'd ask you to pastebin the entire log but without network, that's gonna be very difficult
[07:41] <devIT> it was fstab!
[07:41] <devIT> an entry to an USB external drive
[07:41] <devIT> An external drive not present
[07:42] <devIT> (and is supposed to be not present, I used it as a temporary drive)
[07:43] <blackflow> devIT: temporary drives shouldn't be listed in fstab, but it you really want to, then add to the options section, something like this:  nofail,x-systemd.device-timeout=1s
[07:44] <blackflow> without nofail, missing fstab mounts will block on boot
[07:45] <devIT> thx blackflow , probably I'll add that option
[07:46] <devIT> I' very appreciate your support, guys :-)
[07:46] <devIT> ("I've very appreciated ...")
[07:51] <devIT> I have to go now...
[07:51] <devIT> thank you again!
[07:51] <lotuspsychje> !cookie | blackflow
[07:54] <blackflow> !yum
[07:54] <lotuspsychje> lol