[NTLUG:Discuss] systemd, mbr boot record recovery, but now can't mount anything (?)
Christopher Cox
cjcox at acm.org
Mon Jul 27 03:09:18 CDT 2015
So, I needed to reconstruct my boot record. I booted into rescue mode and
mounted my root (/mnt), mounted (bind) the special dirs: dev, proc and sys and
then did a chroot to /mnt.
Then I could recreate a grub2 grub.cnf file with grub2-mkconfig. I then wrote a
new grub using grub2-install.
No errors.
On boot, it starts to load by the goes to emergency mode (systemd) and I see my
/ is mounted ok, but the reason for the failure was because none of the other
filesystems would mount. Swap won't mount, and my /home won't mount. In fact,
nothing will mount even in "emergency" mode. Nothing will fsck either.
All attempts to get at filesystems for mounting or doing an fsck says "no"
because "it's already mounted" or "it's busy"... but nothing except / is
actually mounted.
(I am sooooo very glad that booting is a complete mess now)
Anybody else have this happen to them and figure a way out?
You won't have this issue unless you're on a newer system using systemd and
grub2 (IMHO).... In this case it's openSUSE 13.2.
Hints welcome.
More information about the Discuss
mailing list