> Am 20.12.2022 um 05:01 schrieb bruce <badoug...@gmail.com>:
> 
> Hi.
> 
> I know. centos6 is dead/buried/reincarnated.
> 
> However, I have a very old box that I haven't touched in a bit.
> 
> I had created a /media/TestDir using part of the drive. As I recall,
> it had been working. However, when I turned it on earlier, something
> happened, (i think the cat hit the cord!). I rebooted and got a msg
> about the /media/foo not being able to resolve and therefore not boot.
> 
> I did a quick comment out of the offending line in the fstab. Rebot
> was successful.
> 
> Now, I'm wondering how to get the fstab /media/foo back with the
> underlying files. I assume the files are still on the "drive". As a
> matter of fact, just fired up gparted, and it shows the partition
> /dev/sda4 as et4 with a Label of "TestDir".
> 
> This was the line in the /etc/fstab file
> ##LABEL=/media/TestDir /media/TestDir      ext4    defaults        1 2

I’m wondering, where you found „et4“. I guess in the partition table.

As a Server guy I would use a CLI tool and at first check the disk with fdisk. 
And than I would try to manually mount with the *device name*).

And in case of anomalies of the partition table for sda4 - as a (very) last 
resort - delete that partition (noting start and end sectors beforehand) and 
then create a new partition with exactly the same start and end sectors and 
partition type. But that is not for the faint-hearted.

_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to