[FAILED] Failed to mount /. - See 'systemctl status -.mount' for details

Latest response

Background -
Custom backup script, "updated" to support RHEL7.

Procedure
LV Snapshot Partition, tar it off.
Capture /boot/*
Capture Disk / Partition Layout.

Restore Procedure:
Boot from Live CD.
Create partitions identical to previous.
Restore "rootlv"
Chroot to "sysimage/"
Mount each partition
Restore tar archive
reinstall Grub2 (BIOS Boot)
Reboot

Grub2 Loads just fine.
Initramfs appears to load fine.
I have a screen shot showing where it "craps" out.

Fun time.
Setting "systemd.unit=emergency.target", works. I can go into my "rootlv" with out any issues. I see everything there.

Setting "systemd.unit=rescue.target" does not work. The boot isn't there just yet.

During my restore;
/proc, /dev/, /sys, /run are all "bind mounted" into my chroot environment.
My restore sees my VG Group & all LVs.

Part of the error I had seen that "-.mount" is part of what appears to be giving me problems, so I attempted to recreate that.

/usr/lib/systemd/system-generators/systemd-fstab-generator /run/systemd/generator '' ''

It is a crappy attempt since "/run" gets generated on system boot. The file gets created properly (compared to another server).

Now ... When I attempted the "emergency.target".

mount -oremount,rw /
I then run;
systemctl daemon-reload
exit

The system will boot up, and then I can log into my server.

Attachments

Responses

One additional tid bit .. upon further rebooting (after system came backup).

Failed to mount Configuration File System. See 'systemct' status sys-kernel-config.mount' for details.

System is now in a "hung" state

Systemd seems to be possible have old UUIDs of the LVMs some where maybe? Is that a possibility?

In the event of "What does systemctl status -.mount say". Nothing. I attempted to make the journal persist through reboots, and in this case, 1/2 boot ... but, the log shows no errors.

I am proud (not really) to say that I am complete Fricken Idiot!

EL7 - /etc/mtab is a symbolic link. DO NOT delete this (whoops) EL5 / EL6 - /etc/mtab is a symbolic link. I always deleted this.

In the event you are like me, i will mark this solved. In the event you never need this, I am jealous!

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.