Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel
Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
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.
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel
Hi,
I have got a SATA hard drive with a few distros and an IDE 320GB hard drive
with music, etc.
I was tampering with it too much and now the IDE drive with data is gone
Code:
linux-tree:/home/sycamorex# fdisk /dev/hda
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel
Building a new DOS disklabel. Changes will remain in memory only,
until you decide to write them. After that, of course, the previous
content won't be recoverable.
You must set cylinders.
You can do this from the extra functions menu.
Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)
Is there any chance I can restore the partition table and get the access to
my data?
thanks
I plugged in the third disk, which wasn't recognised, so I started playing with the jumpers and cables. After not being able to see all three disks, I returned to the original arrangement of HDs. However, although the settings (jumpers,cables) are the same I couldn't read the IDE data drive.
well I can't backup the drive, it has over 250GB of data. I downloaded gpart which was supposed to guess the hd partition
table, however it wasn't able to do it because the disk 'is too large'
I would boot from a bootable linux CD like knoppix or something.
Then try to mount your partitions. If you can mount them then you can back up
your important data. After getting your data you can run lilo to put back the master boot record.
I did this before and I think I had to do a chroot in order for lilo to work properly.
Don't repartition the drive.
Worse case you can recover important files by file type using a freely available program called photorec. http://www.cgsecurity.org/wiki/PhotoRec
I used it on a friends disk after he formatted the drive. It recovered all of his pictures
and documents
thanks, unfortunately, a live cd didn't help, I couldn't mount the drive.
However, I managed to recover some of the files with photorec (good piece of software)
Then I reformatted the drive
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.