Re: old system -centos 6 -- trying to fix a disk/partition/vol issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




> Am 20.12.2022 um 05:01 schrieb bruce <badouglas@xxxxxxxxx>:
> 
> 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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux