[SOLVED] Internal Backup Hard Drive - No Partitions, No Known Disklabel Type
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Internal Backup Hard Drive - No Partitions, No Known Disklabel Type
I don't know what I did when I tried to format it, but I have been using a backup internal hard drive to back up files, and I remember intending to give it just one partition but somehow ended up with a drive that when I type fdisk -l, it gives me:
So there are several questions about this I could ask, but the one thing I am interested in is, how can I find out what type of formatting this has? It must be of some type, right? Or it wouldn't be writing my files.
Or should I just start over, and make sure this is partitioned and formatted in a standard fashion?
Hello.
I gues there is no partition table ( = diskabel) on the hard drive.
You can easily make a partition table using GParted. You can select msdos type or gpt. for this 465.8 GiB hard drive both types work. For drives bigger than 2 TiB you need gpt.
Of course, this is valid if you are sure your drive is empty or you don't need any actual content. Otherwise, you need to look for content recovery.
GParted can give you info on the partition table and partitions too.
Last edited by masterclassic; 06-12-2020 at 07:00 PM.
Is that all the output from fdisk - forget bolding, just the data.
Personally I would simply create the partition table (msdos) add one partition to cover the entire disk. Then see if a filesystem appears. Small steps to not tread on your data.
Well, I found the tecmint link helpful. It gave several ways to get the file system type...I used file -sL and fsck -N and got the indication it is EXT3.
The information about msdos and gpt was very helpful for some other things i am doing as well as this. I will use gparted to create a table just because it seems the proper thing to do, although I still don't see a practical need. The system works fine for me as-is. It is only file backup and it is redundant (secondary) backup.
Just to clarify: I got the warning when I went to create the table in gparted that creating the msdos table would wipe all data from the device. Which is not a problem for me but readers should be aware. I think Masterclassic was clear on this point.
Thank You! I am very grateful to each of you for your valuable and timely responses.
Making a new partition table overwrites the previous partition table, so the (previous) partition info and content aren't accessible anymore. It's a manner to delete the entire disk (without erasing every byte or sector). Unfortunately some users didn't understand exactly what this was about, perhaps because in older GParted versions the term "disklabel" was used instead of "partition table" (disklabel comes from BSD and has nothing to do with *partition* labels). So, they pressed that command, loosing their disk content and after several unsuccessful revert attempts they went to the GParted support forum, without any backup of their valuable data.
Most of the times it was possible to restore the partition table by "testdisk", however this can be successful if you do it just after. Doing further operations reduces probabilities to get back the original partition table. That's why this warning was added. It was even a double warning several years ago. Now the term "partition table" is used, to make it more clear, and just a simple warning is displayed, because the double warning could panic some users. And be sure, partitioning work isn't everyday's work so this could happen even to experienced computer users.
About using or no partitions: although one can do many things directly on the hard drive space, there are several utilities that work on partitioned media.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.