I have a dual boot Windows 10/Ubuntu 18.04 computer. Windows boots perfectly, but right now Ubuntu won't boot. I get the error
systemd-fstab-generator [993]: Failed to create unit file /run/systemd/generator/media-Datas.mount, as it already exists. Duplicate entry in /etc/fstab?
and it only allows me to boot into the terminal.
I typed in journalctl -xb
and found these four errors buried in the log:
Couldn't get size: 0x800000000000000e
(this also shows up when Ubuntu first starts booting)- The fstab error above, followed by
/lib/systemd/system-generator/system-fstab-generator failed with exit status 1
Timed out waiting for device dev-sdb1.device
(I assume this is a USB device not loading?)Failed to start AppArmor initialization
How do I fix this? Ideally without touching my Windows installation? I really can't afford to break my Windows installation.
How would I check for duplicate fstab entries? And how would I know which to delete?
– JemJem Jun 11 '19 at 23:45I don't remember ever editing my fstab file. Would I need to remove lines from it? How would I know what lines to remove? Can I edit it from a live USB?
– JemJem Jun 12 '19 at 13:32