Quote:
Originally Posted by CJBIII
After some research, it appears that maybe the UUID needs to be used instead of the label in the fstab. Never edited it before. Trying to get familiar with Vi.
|
It seems that the UUID is not found. Run blkid or lsblk -f to find the correct UUID. If you set a label on that filesystem, it will also be printed.
If you are afraid of vi, use nano, or sed:
Code:
sed -i s/INCORRECTUUID/CORRECTUUID/ /etc/fstab
(replace the all-caps text with appropriate values)
Instead of repairing the UUID, you can also comment that line in fstab, which allows the server to boot. Then repair it in the more comfortable multi-user environment.
If the RAID has not been assembled, you need to assemble it first, as smallpond remarks.
Better make a backup copy of fstab (or any other file) before trying to edit it.
EDIT:

I had not seen the
blkid output among your screenshots. Yes, there is an unassembled MD RAID array. Since it is not assembled, the LVM structures on top of the RAID are not detected, and the filesystem on top of LVM isn't either.
I would start by commenting the line with UUID 2450... from fstab, boot normally, and work on the RAID problem when the system has started.
This command:
Code:
sed -i.bak '/UUID=245044/s/^/#/' /etc/fstab
copies /etc/fstab to /etc/fstab.bak, then inserts a hash sign in front of the offending line. This should allow you to boot normally.