Select Your Language

Infrastructure and Management

Cloud Computing

Storage

Runtimes

Integration and Automation

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

    Posted on

    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

    by

    points

    Responses

    Red Hat LinkedIn YouTube Facebook X, formerly Twitter

    Quick Links

    Help

    Site Info

    Related Sites

    © 2026 Red Hat