I asked:
Not sure how to title this issue but I'd appreciate advice. A
laptop
running F34 crashed last night and won't start properly since. The
only errors I can see and find in the logs indicate some unknown
issue mounting the /home filesystem. The system has /boot and an LVM
partition with / and /home. / and /boot mount successfully but the
startup drops to emergency mode. After I enter the root password,
I can run "vgchange -a y; mount /home" and /home is immediately
mounted successfully, no problem. I can then issue ^D and the boot
seems to complete. However, the network is not started and no gettys
are running on other PTYs.
It seems apparent to me that there is no problem with the LVM partition
or the /home filesystem. So I don't understand why startup is failing
nor how to discover the true cause.
Roger Heflin answered:
Since it is home, I would edit fstab and change "defaults"
to
"defaults,nofail" that will result in the system booting up if/when home is
missing. Then you can look at what is going on with home with the system
booted and all tools.
Done, and that helps a lot. Thanks.
systemctl status home.mount
should tell you the error it things it got.
The error is "dependency". The trick seems to be discovering what that
dependency is. I've found a few minor problems and I think I've fixed
them but /home still doesn't mount during startup.
The strangest thing I've found is that the files
/etc/dbus-1/system.d/com.redhat.NewPrinterNotification.conf and
/etc/dbus-1/system.d/com.redhat.PrinterDriversInstaller.conf were both
empty. Without a network, I typed in what I see on another machine.
Currently, the only seemingly serious error I see is that zram0 swap
isn't starting. The swap LV is properly configured so this doesn't
seem that it should be a /home dependency.
I've currently reached a point where the network starts so my next task
will be to verify recently updated RPMs. Other ideas welcome.
--
Dave Close, Compata, Irvine CA +1 714 434 7359
dave(a)compata.com dhclose(a)alumni.caltech.edu
"A man who says, `I have learned enough and will learn no further,'
should be considered as knowing nothing at all." --Haile Selassie